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.

104 lines
1.6 KiB

  1. /*++
  2. Copyright (c) 1998 SCM Microsystems, Inc.
  3. Module Name:
  4. stccmd.h
  5. Abstract:
  6. function prototypes for stc commands
  7. Revision History:
  8. PP 12/18/1998 Initial Version
  9. --*/
  10. #if !defined( __STC_CMD_H__ )
  11. #define __STC_CMD_H__
  12. //
  13. //
  14. // Prototypes ----------------------------------------------------------------
  15. //
  16. NTSTATUS
  17. STCResetInterface(
  18. PREADER_EXTENSION ReaderExtension);
  19. NTSTATUS
  20. STCReset(
  21. PREADER_EXTENSION ReaderExtension,
  22. UCHAR Device,
  23. BOOLEAN WarmReset,
  24. PUCHAR pATR,
  25. PULONG pATRLength);
  26. NTSTATUS
  27. STCReadATR(
  28. PREADER_EXTENSION ReaderExtension,
  29. PUCHAR pATR,
  30. PULONG pATRLength);
  31. NTSTATUS
  32. STCPowerOff(
  33. PREADER_EXTENSION ReaderExtension);
  34. NTSTATUS
  35. STCPowerOn(
  36. PREADER_EXTENSION ReaderExtension);
  37. NTSTATUS
  38. STCSetRST(
  39. PREADER_EXTENSION ReaderExtension,
  40. BOOLEAN On);
  41. NTSTATUS
  42. STCConfigureSTC(
  43. PREADER_EXTENSION ReaderExtension,
  44. PSTC_REGISTER pConfiguration
  45. );
  46. NTSTATUS
  47. STCSetETU(
  48. PREADER_EXTENSION ReaderExtension,
  49. ULONG NewETU);
  50. NTSTATUS
  51. STCSetCGT(
  52. PREADER_EXTENSION ReaderExtension,
  53. ULONG NewCGT);
  54. NTSTATUS
  55. STCSetCWT(
  56. PREADER_EXTENSION ReaderExtension,
  57. ULONG NewCWT);
  58. NTSTATUS
  59. STCSetBWT(
  60. PREADER_EXTENSION ReaderExtension,
  61. ULONG NewBWT);
  62. NTSTATUS
  63. STCShortCircuitTest(
  64. PREADER_EXTENSION ReaderExtension,
  65. BOOLEAN *Detected);
  66. NTSTATUS
  67. STCSetFDIV(
  68. PREADER_EXTENSION ReaderExtension,
  69. ULONG Factor);
  70. NTSTATUS
  71. STCInitUART(
  72. PREADER_EXTENSION ReaderExtension,
  73. BOOLEAN AutoLearn);
  74. #endif // !__STC_CMD_H__
  75. //---------------------------------------- END OF FILE ----------------------------------------