"Kovács András" andras@csevego.net wrote:
+typedef struct tagRAWMOUSE {
- USHORT usFlags;
- union {
ULONG ulButtons;struct {USHORT usButtonFlags;USHORT usButtonData;} s;- } u;
You have to use DUMMYSTRUCTNAME and DUMMYUNIONNAME instead of s and u. Also please use 4 spaces indents instead of strange mix of 2 + 7 + 2.