mirror of
https://github.com/reactos/reactos.git
synced 2025-04-20 12:29:56 +00:00
[HIDCLASS]
- fix a bug svn path=/trunk/; revision=68249
This commit is contained in:
parent
634ccedc1c
commit
943d65a922
1 changed files with 4 additions and 4 deletions
|
@ -636,7 +636,7 @@ HidClassPDO_CreatePDO(
|
||||||
OUT PDEVICE_RELATIONS *OutDeviceRelations)
|
OUT PDEVICE_RELATIONS *OutDeviceRelations)
|
||||||
{
|
{
|
||||||
PHIDCLASS_FDO_EXTENSION FDODeviceExtension;
|
PHIDCLASS_FDO_EXTENSION FDODeviceExtension;
|
||||||
NTSTATUS Status;
|
NTSTATUS Status = STATUS_SUCCESS;
|
||||||
PDEVICE_OBJECT PDODeviceObject;
|
PDEVICE_OBJECT PDODeviceObject;
|
||||||
PHIDCLASS_PDO_DEVICE_EXTENSION PDODeviceExtension;
|
PHIDCLASS_PDO_DEVICE_EXTENSION PDODeviceExtension;
|
||||||
ULONG Index;
|
ULONG Index;
|
||||||
|
@ -671,7 +671,7 @@ HidClassPDO_CreatePDO(
|
||||||
// let's create a PDO for top level collection
|
// let's create a PDO for top level collection
|
||||||
//
|
//
|
||||||
Index = 0;
|
Index = 0;
|
||||||
do
|
while (Index < FDODeviceExtension->Common.DeviceDescription.CollectionDescLength)
|
||||||
{
|
{
|
||||||
//
|
//
|
||||||
// let's create the device object
|
// let's create the device object
|
||||||
|
@ -742,7 +742,7 @@ HidClassPDO_CreatePDO(
|
||||||
//
|
//
|
||||||
Index++;
|
Index++;
|
||||||
|
|
||||||
} while(Index < FDODeviceExtension->Common.DeviceDescription.CollectionDescLength);
|
}
|
||||||
|
|
||||||
|
|
||||||
//
|
//
|
||||||
|
|
Loading…
Reference in a new issue