mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 01:24:38 +00:00
Initialize DeviceNumber to 0
svn path=/trunk/; revision=17857
This commit is contained in:
parent
f6cf8905f8
commit
8e8dbdf319
1 changed files with 1 additions and 2 deletions
|
@ -64,7 +64,6 @@ CreateRootHubPdo(
|
|||
*pPdo = Pdo;
|
||||
return STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
#if 0
|
||||
static NTSTATUS
|
||||
AddDevice_Keyboard(
|
||||
|
@ -168,7 +167,7 @@ AddDevice(
|
|||
}
|
||||
|
||||
// Create a unicode device name
|
||||
// DeviceNumber = 0; //TODO: Allocate new device number every time
|
||||
DeviceNumber = 0; //TODO: Allocate new device number every time
|
||||
swprintf(DeviceBuffer, L"\\Device\\USBFDO-%lu", DeviceNumber);
|
||||
RtlInitUnicodeString(&DeviceName, DeviceBuffer);
|
||||
|
||||
|
|
Loading…
Reference in a new issue