示例#1
0
 public static int XLookupString(ref XKeyEvent event_struct, byte[] buf, out KeySym keysym, IntPtr status)
 {
     unsafe
     {
         fixed(byte *p = buf)
         {
             return(XLookupString(ref event_struct, (IntPtr)p, buf.Length, out keysym, status));
         }
     }
 }
示例#2
0
 public static extern int XLookupString(ref XKeyEvent event_struct, IntPtr buf, int bytes_buffer, out KeySym keysym, IntPtr status);