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.

58 lines
1.8 KiB

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. //
  5. // Copyright (C) Microsoft Corporation, 1999 - 1999
  6. //
  7. // File: listvw.h
  8. //
  9. //--------------------------------------------------------------------------
  10. typedef struct _CERTSVR_URL_PARSING
  11. {
  12. LPWSTR szKnownPrefix;
  13. LPWSTR szRegEntries;
  14. DWORD dwEnableFlag;
  15. } CERTSVR_URL_PARSING, *PCERTSVR_URL_PARSING;
  16. typedef struct _ADDURL_DIALOGARGS
  17. {
  18. CERTSVR_URL_PARSING* rgAllowedURLs;
  19. DWORD cAllowedURLs;
  20. LPWSTR* ppszNewURL;
  21. } ADDURL_DIALOGARGS, *PADDURL_DIALOGARGS;
  22. DWORD DetermineURLType(
  23. PCERTSVR_URL_PARSING prgURLParsing,
  24. int cURLParsingEntries,
  25. LPCWSTR szCandidateURL);
  26. void AddStringToCheckList(
  27. HWND hWndListView,
  28. LPCWSTR szText,
  29. LPVOID pvData,
  30. BOOL fCheck);
  31. HRESULT WriteChanges(
  32. HWND hListView,
  33. HKEY hkeyStorage,
  34. PCERTSVR_URL_PARSING prgURLParsing,
  35. DWORD cURLParsingEntries);
  36. HRESULT PopulateListView(
  37. HWND hListView,
  38. HKEY hkeyStorage,
  39. PCERTSVR_URL_PARSING prgURLParsing,
  40. DWORD cURLParsingEntries,
  41. DWORD dwEnableFlags);
  42. HRESULT ValidateTokens(
  43. IN OUT LPWSTR szURL,
  44. OUT DWORD* pchBadBegin,
  45. OUT DWORD* pchBadEnd);
  46. // help is embedded in certmmc.hlp
  47. BOOL OnDialogHelp(LPHELPINFO pHelpInfo, LPCTSTR szHelpFile, const DWORD rgzHelpIDs[]);
  48. BOOL OnDialogContextHelp(HWND hWnd, LPCTSTR szHelpFile, const DWORD rgzHelpIDs[]);