- Send proper ClientID structure
[reactos.git] / reactos / lib / kernel32 / thread / thread.c
index 52ce101..888a3f8 100644 (file)
@@ -267,7 +267,7 @@ OpenThread(
    OBJECT_ATTRIBUTES ObjectAttributes;
    CLIENT_ID ClientId ;
 
-   ClientId.UniqueProcess = INVALID_HANDLE_VALUE;
+   ClientId.UniqueProcess = 0;
    ClientId.UniqueThread = (HANDLE)dwThreadId;
 
    InitializeObjectAttributes (&ObjectAttributes,