Beispiel #1
0
 public static extern ObjectWaitType WaitForSingleObject(
     SafeMemoryHandle handle,
     ObjectWaitType wait);
Beispiel #2
0
 public static bool WaitForSingleObject(SafeMemoryHandle handle, ObjectWaitType wait = ObjectWaitType.OBJECT_WAIT_INFINITE)
 {
     return(Imports.WaitForSingleObject(handle, wait) != ObjectWaitType.OBJECT_WAIT_0);
 }