In this article, Chris Walsh got some native code going on Windows Phone 7.
Source: The Blog of Chris Walsh
What I discovered today was some FUNKY code that Samsung had created to set the Network properties of a Windows Phone 7 handset. Taking a peek under the skirt, I noticed something unreal. The application has unmanaged DLL’s inside the XAP file!!!