Author: janderwald Date: Thu Feb 26 23:36:56 2009 New Revision: 39777
URL: http://svn.reactos.org/svn/reactos?rev=39777&view=rev Log: - Disable checking of nonactive device interface because the code is not working yet (IoSetDeviceInterfaceState requires more work)
Modified: trunk/reactos/ntoskrnl/io/iomgr/deviface.c
Modified: trunk/reactos/ntoskrnl/io/iomgr/deviface.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/io/iomgr/deviface.... ============================================================================== --- trunk/reactos/ntoskrnl/io/iomgr/deviface.c [iso-8859-1] (original) +++ trunk/reactos/ntoskrnl/io/iomgr/deviface.c [iso-8859-1] Thu Feb 26 23:36:56 2009 @@ -400,6 +400,7 @@ /* We have to check if the interface is enabled, by * reading the Linked value in the Control subkey */ +#if 0 InitializeObjectAttributes( &ObjectAttributes, &Control, @@ -422,6 +423,7 @@ DPRINT("ZwOpenKey() failed with status 0x%08lx\n", Status); goto cleanup; } +#endif /* FIXME: Read the Linked value * If it doesn't exist => ERROR * If it is not a REG_DWORD or Size != sizeof(ULONG) => ERROR @@ -887,7 +889,7 @@ SymbolicLinkName->Buffer[SymbolicLinkName->Length/sizeof(WCHAR)] = L'\0';
/* Create symbolic link */ - DPRINT("IoRegisterDeviceInterface(): creating symbolic link %wZ -> %wZ\n", SymbolicLinkName, &PdoNameInfo->Name); + DPRINT1("IoRegisterDeviceInterface(): creating symbolic link %wZ -> %wZ\n", SymbolicLinkName, &PdoNameInfo->Name); Status = IoCreateSymbolicLink(SymbolicLinkName, &PdoNameInfo->Name); if (!NT_SUCCESS(Status)) {