MOUSEHOOKSTRUCT (Structures)
Last changed: -89.85.73.101

.
Summary
Structure to retrieve information about a WH_MOUSE hook.

C# Definition:

[StructLayout(LayoutKind.Sequential)]

struct Point

{

    public int X;
    public int Y;

}

[StructLayout(LayoutKind.Sequential)]

struct MOUSEHOOKSTRUCT

{

    public Point pt;
    public IntPtr hwnd;
    public uint wHitTestCode;
    public IntPtr dwExtraInfo;

}

[StructLayout(LayoutKind.Sequential)]

struct MouseHookStructEx

{

    public MOUSEHOOKSTRUCT mouseHookStruct;
    public int MouseData;

}

VB Definition:

[StructLayout(LayoutKind.Sequential)]

struct Point

{

    public int X;
    public int Y;

}

[StructLayout(LayoutKind.Sequential)]

struct MOUSEHOOKSTRUCT

{

    public Point pt;
    public IntPtr hwnd;
    public uint wHitTestCode;
    public IntPtr dwExtraInfo;

}

[StructLayout(LayoutKind.Sequential)]

struct MouseHookStructEx

{

    public MOUSEHOOKSTRUCT mouseHookStruct;
    public int MouseData;

}

User-Defined Field Types:

None.

Notes:

None.

Documentation