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