+IopCreateDevice()
authorshort <>
Mon, 4 Nov 2002 09:00:54 +0000 (09:00 +0000)
committershort <>
Mon, 4 Nov 2002 09:00:54 +0000 (09:00 +0000)
ntoskrnl/io/iomgr.c

index f27c37e..d847219 100644 (file)
@@ -150,11 +150,7 @@ VOID IoInit (VOID)
   IoDeviceObjectType->Security = NULL;
   IoDeviceObjectType->QueryName = NULL;
   IoDeviceObjectType->OkayToClose = NULL;
-#ifndef LIBCAPTIVE
   IoDeviceObjectType->Create = IopCreateDevice;
-#else /* !LIBCAPTIVE */
-  IoDeviceObjectType->Create = NULL;
-#endif /* !LIBCAPTIVE */
   IoDeviceObjectType->DuplicationNotify = NULL;
   
   RtlInitUnicodeStringFromLiteral(&IoDeviceObjectType->TypeName, REACTOS_UCS2(L"Device"));