1 | #ifndef __DEVDESC_H__
|
---|
2 | #define __DEVDESC_H__
|
---|
3 |
|
---|
4 | typedef struct {
|
---|
5 | INTERFACE_TYPE InterfaceType;
|
---|
6 | ULONG InterfaceNumber;
|
---|
7 | CONFIGURATION_TYPE ControllerType;
|
---|
8 | ULONG ControllerNumber;
|
---|
9 | CONFIGURATION_TYPE PeripheralType;
|
---|
10 | ULONG PeripheralNumber;
|
---|
11 | } HWDESC_INFO, *PHWDESC_INFO;
|
---|
12 |
|
---|
13 |
|
---|
14 | NTSTATUS
|
---|
15 | LinkDeviceToDescription(
|
---|
16 | IN PUNICODE_STRING RegistryPath,
|
---|
17 | IN PUNICODE_STRING DeviceName,
|
---|
18 | IN INTERFACE_TYPE BusType,
|
---|
19 | IN ULONG BusNumber,
|
---|
20 | IN CONFIGURATION_TYPE ControllerType,
|
---|
21 | IN ULONG ControllerNumber,
|
---|
22 | IN CONFIGURATION_TYPE PeripheralType,
|
---|
23 | IN ULONG PeripheralNumber
|
---|
24 | );
|
---|
25 |
|
---|
26 | #endif
|
---|