Exemplo n.º 1
0
 public static extern void CopyMemory(ref Kbdllhookstruct Source, IntPtr Destination, int Length);
Exemplo n.º 2
0
 private int GetKeyCode(IntPtr oPare)
 {
     kbdllhs = new Kbdllhookstruct();
     CopyMemory(ref kbdllhs, oPare, 20);
     return(kbdllhs.vkCode);
 }