Yesterday, the Windows Mobile team posted a handy tip titled "How to check if screen can be rotated". This got me interested in checking for screen rotation support from managed code.
In V1, the structure to be marshalled is not pretty. Since the fixed size character arrays are not at the end of the structure (and since we will not be needing their values in this example), the easiest way to get them marshalled is to flatten the arrays.&n
read more »
Be the first to post a Comment!