Type a page name and press Enter. You'll jump to the page if it exists, or you can create it if it doesn't.
To create a page in a module other than Structures, prefix the name with the module name and a period.
MOUSE_EVENT_RECORD (Structures)
.
C# Definition:
[StructLayout( LayoutKind.Explicit )]
public struct MOUSE_EVENT_RECORD
{
[FieldOffset( 0 )]
public COORD dwMousePosition;
[FieldOffset( 4 )]
public uint dwButtonState;
[FieldOffset( 8 )]
public uint dwControlKeyState;
[FieldOffset( 12 )]
public uint dwEventFlags;
}
VB Definition:
<StructLayout(LayoutKind.Explicit)> _
Public Structure MOUSE_EVENT_RECORD
<FieldOffset(0)>
Public dwMousePosition As COORD
<FieldOffset(4)>
Public dwButtonState As UInteger
<FieldOffset(8)>
Public dwControlKeyState As UInteger
<FieldOffset(12)>
Public dwEventFlags As UInteger
<FieldOffset(0)> Public EventType As COORD
<FieldOffset(4)> Public KeyEvent As UInteger
<FieldOffset(8)> Public MouseEvent As UInteger
<FieldOffset(12)> Public WindowBufferSizeEvent As UInteger
End Structure
User-Defined Field Types:
None.
UPDATE:
This started working once I changed the FOCUS_EVENT_RECORD to take a uint rather than a bool. Prior to that MOUSE_EVENT_RECORD.dwMousePosition.X was always 0
Please edit this page!
Do you have...
helpful tips?
corrections to the existing content?
alternate definitions?
additional languages you want to include?
Select "Edit This Page" on the right hand toolbar and edit it! Or add new pages containing any supporting types needed.