You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
736 B
26 lines
736 B
#ifndef __DEVDESC_H__
|
|
#define __DEVDESC_H__
|
|
|
|
typedef struct {
|
|
INTERFACE_TYPE InterfaceType;
|
|
ULONG InterfaceNumber;
|
|
CONFIGURATION_TYPE ControllerType;
|
|
ULONG ControllerNumber;
|
|
CONFIGURATION_TYPE PeripheralType;
|
|
ULONG PeripheralNumber;
|
|
} HWDESC_INFO, *PHWDESC_INFO;
|
|
|
|
|
|
NTSTATUS
|
|
LinkDeviceToDescription(
|
|
IN PUNICODE_STRING RegistryPath,
|
|
IN PUNICODE_STRING DeviceName,
|
|
IN INTERFACE_TYPE BusType,
|
|
IN ULONG BusNumber,
|
|
IN CONFIGURATION_TYPE ControllerType,
|
|
IN ULONG ControllerNumber,
|
|
IN CONFIGURATION_TYPE PeripheralType,
|
|
IN ULONG PeripheralNumber
|
|
);
|
|
|
|
#endif
|