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.

51 lines
1.5 KiB

  1. /*++
  2. Copyright (C) Microsoft Corporation, 1996 - 1999
  3. Module Name:
  4. ScSearch
  5. Abstract:
  6. header for miscellaneous smart card search and check functions
  7. See ScSearch.cpp for details.
  8. Author:
  9. Amanda Matlosz 5/7/98
  10. Environment:
  11. Win32, C++ w/Exceptions, MFC
  12. Revision History:
  13. Notes:
  14. Ansi and Widechar versions
  15. --*/
  16. #include "ScUIDlg.h" // winscard.h
  17. #include "statmon.h"
  18. DWORD AnsiMStringCount(LPCSTR msz); // ansi-only
  19. BOOL CheckOCN(LPOPENCARDNAMEA_EX pOCNA); // ansi-only
  20. BOOL CheckOCN(LPOPENCARDNAMEW_EX pOCNW); // unicode-only
  21. void ListAllOKCardNames(LPOPENCARDNAMEA_EX pOCNA, CTextMultistring& mstrAllCards); // ansi-only
  22. void ListAllOKCardNames(LPOPENCARDNAMEW_EX pOCNW, CTextMultistring& mstrAllCards); // unicode-only
  23. LONG NoUISearch(OPENCARDNAMEA_EX* pOCN, DWORD* pdwOKCards, LPCSTR mszCards); // ansi-only
  24. LONG NoUISearch(OPENCARDNAMEW_EX* pOCN, DWORD* pdwOKCards, LPCWSTR mszCards); // unicode-only
  25. BOOL CheckCardCallback(LPSTR szReader, LPSTR szCard, OPENCARDNAMEA_EX* pOCN); // Does the callback stuff
  26. BOOL CheckCardCallback(LPWSTR szReader, LPWSTR szCard, OPENCARDNAMEW_EX* pOCN); // Does the callback stuff
  27. BOOL CheckCardAll(CSCardReaderState* pReader, OPENCARDNAMEA_EX* pOCN, LPCWSTR mszCards); // ditto
  28. BOOL CheckCardAll(CSCardReaderState* pReader, OPENCARDNAMEW_EX* pOCN, LPCWSTR mszCards); // ditto
  29. LONG SetFinalCardSelection(LPSTR szReader, LPSTR szCard, OPENCARDNAMEA_EX* pOCN);
  30. LONG SetFinalCardSelection(LPWSTR szReader, LPWSTR szCard, OPENCARDNAMEW_EX* pOCN);