[StructLayout(LayoutKind.Sequential)]
public struct KBDLLHOOKSTRUCT
{
public int vkCode;
public int scanCode;
public int flags;
public int time;
public IntPtr dwExtraInfo;
}
Private Structure KBDLLHOOKSTRUCT
Private vkCode As Integer
Private scanCode As Integer
Private flags As Integer
Private time As Integer
Private dwExtraInfo As Integer
End Structure
Added by Senthamil.