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.

88 lines
1.5 KiB

  1. /*++
  2. Copyright (C) Microsoft Corporation, 1996 - 1999
  3. Module Name:
  4. QueryDB
  5. Abstract:
  6. This header file provides the definitions of the Calais Query Database
  7. utility routines.
  8. Author:
  9. Doug Barlow (dbarlow) 11/25/1996
  10. Environment:
  11. Win32, C++ w/ Exceptions
  12. Notes:
  13. ?Notes?
  14. --*/
  15. #ifndef _QUERYDB_H_
  16. #define _QUERYDB_H_
  17. extern void
  18. ListReaderGroups(
  19. IN DWORD dwScope,
  20. OUT CBuffer &bfGroups);
  21. extern void
  22. ListReaders(
  23. IN DWORD dwScope,
  24. IN LPCTSTR mszGroups,
  25. OUT CBuffer &bfReaders);
  26. extern void
  27. ListReaderNames(
  28. IN DWORD dwScope,
  29. IN LPCTSTR szDevice,
  30. OUT CBuffer &bfNames);
  31. extern void
  32. ListCards(
  33. DWORD dwScope,
  34. IN LPCBYTE pbAtr,
  35. IN LPCGUID rgquidInterfaces,
  36. IN DWORD cguidInterfaceCount,
  37. OUT CBuffer &bfCards);
  38. extern BOOL
  39. GetReaderInfo(
  40. IN DWORD dwScope,
  41. IN LPCTSTR szReader,
  42. OUT CBuffer *pbfGroups = NULL,
  43. OUT CBuffer *pbfDevice = NULL);
  44. extern BOOL
  45. GetCardInfo(
  46. IN DWORD dwScope,
  47. IN LPCTSTR szCard,
  48. OUT CBuffer *pbfAtr,
  49. OUT CBuffer *pbfAtrMask,
  50. OUT CBuffer *pbfInterfaces,
  51. OUT CBuffer *pbfProvider);
  52. extern void
  53. GetCardTypeProviderName(
  54. IN DWORD dwScope,
  55. IN LPCTSTR szCardName,
  56. IN DWORD dwProviderId,
  57. OUT CBuffer &bfProvider);
  58. #ifdef ENABLE_SCARD_TEMPLATES
  59. extern BOOL
  60. ListCardTypeTemplates(
  61. IN DWORD dwScope,
  62. IN LPCBYTE pbAtr,
  63. OUT CBuffer &bfTemplates);
  64. #endif // ENABLE_SCARD_TEMPLATES
  65. #endif // _QUERYDB_H_