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.

112 lines
1.8 KiB

  1. /*++
  2. Copyright (c) 1998 SCM Microsystems, Inc.
  3. Module Name:
  4. stcusbNT.h
  5. Abstract:
  6. Driver header - WDM Version
  7. Author:
  8. Revision History:
  9. PP 1.00 12/18/1998 Initial Version
  10. --*/
  11. #if !defined ( __STCUSB_WDM_H__ )
  12. #define __STCUSB_WDM_H__
  13. //
  14. // Prototypes ----------------------------------------------------------------
  15. //
  16. NTSTATUS
  17. DriverEntry(
  18. PDRIVER_OBJECT DriverObject,
  19. PUNICODE_STRING RegistryPath);
  20. NTSTATUS
  21. StcUsbPnP(
  22. IN PDEVICE_OBJECT DeviceObject,
  23. IN PIRP Irp);
  24. NTSTATUS
  25. StcUsbPower(
  26. IN PDEVICE_OBJECT DeviceObject,
  27. IN PIRP Irp);
  28. NTSTATUS
  29. StcUsbCreateDevice(
  30. IN PDRIVER_OBJECT DriverObject,
  31. OUT PDEVICE_OBJECT *DeviceObject);
  32. NTSTATUS
  33. StcUsbStartDevice(
  34. PDEVICE_OBJECT DeviceObject);
  35. VOID
  36. StcUsbStopDevice(
  37. PDEVICE_OBJECT DeviceObject);
  38. NTSTATUS
  39. StcUsbAddDevice(
  40. IN PDRIVER_OBJECT DriverObject,
  41. IN PDEVICE_OBJECT PhysicalDeviceObject);
  42. VOID
  43. StcUsbUnloadDevice(
  44. PDEVICE_OBJECT DeviceObject);
  45. VOID
  46. StcUsbUnloadDriver(
  47. PDRIVER_OBJECT DriverObject);
  48. NTSTATUS
  49. StcUsbCleanup(
  50. PDEVICE_OBJECT DeviceObject,
  51. PIRP Irp);
  52. NTSTATUS
  53. StcUsbSystemControl(
  54. PDEVICE_OBJECT DeviceObject,
  55. PIRP Irp);
  56. NTSTATUS
  57. StcUsbDeviceIoControl(
  58. PDEVICE_OBJECT DeviceObject,
  59. PIRP Irp);
  60. NTSTATUS
  61. StcUsbCreateClose(
  62. PDEVICE_OBJECT DeviceObject,
  63. PIRP Irp);
  64. NTSTATUS
  65. StcUsbCancel(
  66. PDEVICE_OBJECT DeviceObject,
  67. PIRP Irp);
  68. NTSTATUS
  69. StcUsbGenericIOCTL(
  70. PSMARTCARD_EXTENSION SmartcardExtension);
  71. NTSTATUS
  72. StcUsbStartPollThread( PDEVICE_EXTENSION DeviceExtension );
  73. VOID
  74. StcUsbStopPollThread( PDEVICE_EXTENSION DeviceExtension );
  75. void SysDelay( ULONG Timeout );
  76. #endif // __STCUSB_WDM_H__