Leaked source code of windows server 2003
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

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