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.

37 lines
945 B

  1. // Gemplus (C) 1999
  2. // This is main Driver object for the driver.
  3. //
  4. // Version 1.0
  5. // Author: Sergey Ivanov
  6. // Date of creation - 18.05.1999
  7. // Change log:
  8. //
  9. #ifndef DRV_INT
  10. #define DRV_INT
  11. // System includes
  12. #include "kernel.h"
  13. #pragma PAGEDCODE
  14. #ifdef __cplusplus
  15. extern "C"{
  16. #endif
  17. NTSTATUS DriverEntry(IN PDRIVER_OBJECT DriverObject,IN PUNICODE_STRING RegistryPath);
  18. VOID WDM_Unload(IN PDRIVER_OBJECT DriverObject);
  19. // WDM devices
  20. LONG WDM_AddDevice(IN PDRIVER_OBJECT DriverObject,IN PDEVICE_OBJECT DeviceObject);
  21. LONG WDM_Add_USBDevice(IN PDRIVER_OBJECT DriverObject,IN PDEVICE_OBJECT DeviceObject);
  22. LONG WDM_Add_USBReader(IN PDRIVER_OBJECT DriverObject,IN PDEVICE_OBJECT DeviceObject);
  23. LONG WDM_Add_Bus(IN PDRIVER_OBJECT DriverObject,IN PDEVICE_OBJECT DeviceObject);
  24. NTSTATUS WDM_SystemControl(PDEVICE_OBJECT DeviceObject, PIRP Irp);
  25. #ifdef __cplusplus
  26. }
  27. #endif
  28. // already included
  29. #endif