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.

98 lines
1.6 KiB

  1. /*++
  2. Copyright (c) 1998 Gemplus Development
  3. Name:
  4. GIOCTL0A.H (Gemplus IOCTL Smart card Reader module 0A)
  5. Revision History :
  6. dd/mm/yy
  7. 13/03/98: V1.00.001 (GPZ)
  8. - Start of development.
  9. --*/
  10. #ifndef _GIOCTL0A_
  11. #define _GIOCTL0A_
  12. //
  13. // Prototype section
  14. //
  15. NTSTATUS
  16. GDDK_0AReaderPower(
  17. PSMARTCARD_EXTENSION SmartcardExtension
  18. );
  19. NTSTATUS
  20. GDDK_0AIccReset(
  21. PSMARTCARD_EXTENSION SmartcardExtension,
  22. ULONG ResetType
  23. );
  24. NTSTATUS
  25. GDDK_0ASetProtocol(
  26. PSMARTCARD_EXTENSION SmartcardExtension
  27. );
  28. NTSTATUS
  29. GDDK_0ATransmit(
  30. PSMARTCARD_EXTENSION SmartcardExtension
  31. );
  32. NTSTATUS
  33. GDDK_0ACardTracking(
  34. PSMARTCARD_EXTENSION SmartcardExtension
  35. );
  36. NTSTATUS
  37. GDDK_0AVendorIoctl(
  38. PSMARTCARD_EXTENSION SmartcardExtension
  39. );
  40. NTSTATUS
  41. GDDK_0AVendorTag(
  42. PSMARTCARD_EXTENSION SmartcardExtension,
  43. ULONG IoControlCode,
  44. ULONG BufferInLen,
  45. PUCHAR BufferIn,
  46. ULONG BufferOutLen,
  47. PUCHAR BufferOut,
  48. PULONG LengthOut
  49. );
  50. NTSTATUS
  51. GDDK_0AUpdateCardStatus(
  52. PSMARTCARD_EXTENSION SmartcardExtension
  53. );
  54. VOID
  55. GDDK_0ALockExchange(
  56. PSMARTCARD_EXTENSION SmartcardExtension
  57. );
  58. VOID
  59. GDDK_0AUnlockExchange(
  60. PSMARTCARD_EXTENSION SmartcardExtension
  61. );
  62. NTSTATUS
  63. GDDK_0AOpenChannel(
  64. PSMARTCARD_EXTENSION SmartcardExtension,
  65. CONST ULONG DeviceNumber,
  66. CONST ULONG PortSerialNumber,
  67. CONST ULONG MaximalBaudRate
  68. );
  69. NTSTATUS
  70. GDDK_0ACloseChannel(
  71. PSMARTCARD_EXTENSION SmartcardExtension
  72. );
  73. NTSTATUS
  74. GDDK_0ARestoreCommunication(
  75. PSMARTCARD_EXTENSION SmartcardExtension
  76. );
  77. #endif