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.

118 lines
2.1 KiB

  1. /*++
  2. Copyright (C) Microsoft Corporation, 1996 - 1999
  3. Module Name:
  4. changeDB
  5. Abstract:
  6. This header file defines the internal Calais Database modification routines.
  7. Author:
  8. Doug Barlow (dbarlow) 1/29/1997
  9. Environment:
  10. Win32, C++ w/ Exceptions
  11. Notes:
  12. ?Notes?
  13. --*/
  14. #ifndef _CHANGEDB_H_
  15. #define _CHANGEDB_H_
  16. extern void
  17. IntroduceReaderGroup(
  18. IN DWORD dwScope,
  19. IN LPCTSTR szGroupName);
  20. extern void
  21. ForgetReaderGroup(
  22. IN DWORD dwScope,
  23. IN LPCTSTR szGroupName);
  24. extern void
  25. IntroduceReader(
  26. IN DWORD dwScope,
  27. IN LPCTSTR szReaderName,
  28. IN LPCTSTR szDeviceName);
  29. extern void
  30. ForgetReader(
  31. IN DWORD dwScope,
  32. IN LPCTSTR szReaderName);
  33. extern void
  34. AddReaderToGroup(
  35. IN DWORD dwScope,
  36. IN LPCTSTR szReaderName,
  37. IN LPCTSTR szGroupName);
  38. extern void
  39. RemoveReaderFromGroup(
  40. IN DWORD dwScope,
  41. IN LPCTSTR szReaderName,
  42. IN LPCTSTR szGroupName);
  43. extern void
  44. IntroduceCard(
  45. IN DWORD dwScope,
  46. IN LPCTSTR szCardName,
  47. IN LPCGUID pguidPrimaryProvider,
  48. IN LPCGUID rgguidInterfaces,
  49. IN DWORD dwInterfaceCount,
  50. IN LPCBYTE pbAtr,
  51. IN LPCBYTE pbAtrMask,
  52. IN DWORD cbAtrLen);
  53. extern void
  54. SetCardTypeProviderName(
  55. IN DWORD dwScope,
  56. IN LPCTSTR szCardName,
  57. IN DWORD dwProviderId,
  58. IN LPCTSTR szProvider);
  59. extern void
  60. ForgetCard(
  61. IN DWORD dwScope,
  62. IN LPCTSTR szCardName);
  63. #ifdef ENABLE_SCARD_TEMPLATES
  64. extern void
  65. IntroduceCardTypeTemplate(
  66. IN DWORD dwScope,
  67. IN LPCTSTR szVendorName,
  68. IN LPCGUID pguidPrimaryProvider,
  69. IN LPCGUID rgguidInterfaces,
  70. IN DWORD dwInterfaceCount,
  71. IN LPCBYTE pbAtr,
  72. IN LPCBYTE pbAtrMask,
  73. IN DWORD cbAtrLen);
  74. extern void
  75. SetCardTypeTemplateProviderName(
  76. IN DWORD dwScope,
  77. IN LPCTSTR szTemplateName,
  78. IN DWORD dwProviderId,
  79. IN LPCTSTR szProvider);
  80. extern void
  81. ForgetCardTypeTemplate(
  82. IN DWORD dwScope,
  83. IN LPCTSTR szVendorName);
  84. extern void
  85. IntroduceCardTypeFromTemplate(
  86. IN DWORD dwScope,
  87. IN LPCTSTR szVendorName,
  88. IN LPCTSTR szFriendlyName = NULL);
  89. #endif // ENABLE_SCARD_TEMPLATES
  90. #endif // _CHANGEDB_H_