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