mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 17:44:45 +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;
|
*pPdo = Pdo;
|
||||||
return STATUS_SUCCESS;
|
return STATUS_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
#if 0
|
#if 0
|
||||||
static NTSTATUS
|
static NTSTATUS
|
||||||
AddDevice_Keyboard(
|
AddDevice_Keyboard(
|
||||||
|
@ -168,7 +167,7 @@ AddDevice(
|
||||||
}
|
}
|
||||||
|
|
||||||
// Create a unicode device name
|
// 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);
|
swprintf(DeviceBuffer, L"\\Device\\USBFDO-%lu", DeviceNumber);
|
||||||
RtlInitUnicodeString(&DeviceName, DeviceBuffer);
|
RtlInitUnicodeString(&DeviceName, DeviceBuffer);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue