Source code of Windows XP (NT5)
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.

103 lines
2.4 KiB

  1. /*******************************************************************************
  2. * Copyright (c) 1997 Gemplus developpement
  3. *
  4. * Name : GNTSCR09.H (Gemplus NT Smart Card Reader module 09)
  5. *
  6. * Description : This module holds the prototypes of the functions
  7. * from GNTSCR09.C
  8. *
  9. * Release : 1.00.001
  10. *
  11. * Last Modif : 22/06/97: V1.00.001 (GPZ)
  12. * - Start of development.
  13. *
  14. ********************************************************************************
  15. *
  16. * Warning :
  17. *
  18. * Remark :
  19. *
  20. *******************************************************************************/
  21. #ifndef _GNTSCR09_
  22. #define _GNTSCR09_
  23. /*------------------------------------------------------------------------------
  24. Struct section:
  25. ------------------------------------------------------------------------------*/
  26. typedef struct _DEVICE_EXTENSION {
  27. SMARTCARD_EXTENSION SmartcardExtension;
  28. } DEVICE_EXTENSION, *PDEVICE_EXTENSION;
  29. /*------------------------------------------------------------------------------
  30. Prototype section:
  31. ------------------------------------------------------------------------------*/
  32. NTSTATUS DriverEntry
  33. (
  34. IN PDRIVER_OBJECT DriverObject,
  35. IN PUNICODE_STRING RegistryPath
  36. );
  37. NTSTATUS GDDKNT_09AddDevice
  38. (
  39. IN PDRIVER_OBJECT DriverObject,
  40. IN PUNICODE_STRING SerialDeviceName,
  41. IN ULONG DeviceNumber,
  42. IN ULONG SerialNumber,
  43. ULONG IFDNumber,
  44. IN PSMARTCARD_EXTENSION PreviousDeviceExt,
  45. IN ULONG MaximalBaudRate
  46. );
  47. NTSTATUS GDDKNT_09CreateDevice
  48. (
  49. IN PDRIVER_OBJECT DriverObject,
  50. IN PUNICODE_STRING SmartcardDeviceName,
  51. IN PUNICODE_STRING SerialDeviceName,
  52. IN ULONG DeviceNumber,
  53. IN ULONG SerialNumber,
  54. ULONG IFDNumber,
  55. IN PSMARTCARD_EXTENSION PreviousDeviceExt,
  56. IN ULONG MaximalBaudRate
  57. );
  58. NTSTATUS GDDKNT_09CreateClose
  59. (
  60. IN PDEVICE_OBJECT DeviceObject,
  61. IN PIRP Irp
  62. );
  63. VOID GDDKNT_09Unload
  64. (
  65. IN PDRIVER_OBJECT DriverObject
  66. );
  67. NTSTATUS GDDKNT_09DeviceControl
  68. (
  69. PDEVICE_OBJECT DeviceObject,
  70. PIRP Irp
  71. );
  72. NTSTATUS GDDKNT_09InitializeCardTracking
  73. (
  74. PSMARTCARD_EXTENSION SmartcardExtension
  75. );
  76. VOID GDDKNT_09UpdateCardStatus
  77. (
  78. IN PSMARTCARD_EXTENSION SmartcardExtension
  79. );
  80. NTSTATUS GDDKNT_09Cleanup
  81. (
  82. IN PDEVICE_OBJECT DeviceObject,
  83. IN PIRP Irp
  84. );
  85. #endif