Thanks, this makes perfect sense!
On 9/22/07, Mike Edenfield [EMAIL PROTECTED] wrote:
The Windows API almost always passes structures like this as
pointers. PeekMessage() and all of the GetMessage() calls
pass an LPMSG parameter, for example. The only thing the
unmanaged code inside
I am writing OpenTK, a game development toolkit which makes extensive use of
P/Invoke calls. On the Windows platform, I encountered some strange behavior
regarding the MSG struct.
In winuser.h, MSG is defined like this:
typedef struct tagMSG {
HWND hwnd;
UINT message;
WPARAM wParam;
StApostol wrote:
I am writing OpenTK, a game development toolkit which makes extensive
use of P/Invoke calls. On the Windows platform, I encountered some
strange behavior regarding the MSG struct.
In winuser.h, MSG is defined like this:
typedef struct tagMSG {
HWND hwnd;
UINT