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.

39 lines
733 B

  1. #include "usbsc.h"
  2. NTSTATUS
  3. UsbWrite(
  4. PREADER_EXTENSION ReaderExtension,
  5. PUCHAR pData,
  6. ULONG DataLen,
  7. LONG Timeout
  8. );
  9. NTSTATUS
  10. UsbRead(
  11. PREADER_EXTENSION ReaderExtension,
  12. PUCHAR pData,
  13. ULONG DataLen,
  14. LONG Timeout
  15. );
  16. NTSTATUS
  17. UsbSelectInterfaces(
  18. IN PDEVICE_OBJECT DeviceObject,
  19. IN PUSB_CONFIGURATION_DESCRIPTOR ConfigurationDescriptor
  20. );
  21. NTSTATUS
  22. UsbConfigureDevice(
  23. IN PDEVICE_OBJECT DeviceObject
  24. );
  25. NTSTATUS
  26. GetStringDescriptor(
  27. PDEVICE_OBJECT DeviceObject,
  28. UCHAR StringIndex,
  29. PUCHAR StringBuffer,
  30. PUSHORT StringLength
  31. );