-/* $Id: handle.c,v 1.7 2002/09/07 15:12:27 chorns Exp $
+/* $Id: handle.c,v 1.8 2002/09/08 10:22:44 chorns Exp $
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS system libraries
/* INCLUDES ******************************************************************/
+#include <ddk/ntddk.h>
#include <windows.h>
-#define NTOS_USER_MODE
-#include <ntos.h>
#define NDEBUG
#include <kernel32/kernel32.h>
hTargetProcessHandle,
lpTargetHandle,
dwDesiredAccess,
- (ULONG)(bInheritHandle ? HANDLE_FLAG_INHERIT : 0),
+ (BOOLEAN)bInheritHandle,
dwOptions);
if (!NT_SUCCESS(errCode))
{