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.

117 lines
2.0 KiB

  1. #include "dspch.h"
  2. #pragma hdrstop
  3. #include <wincrypt.h>
  4. #include <mscat.h>
  5. static
  6. BOOL
  7. WINAPI
  8. CryptCATAdminAcquireContext (
  9. OUT HCATADMIN *phCatAdmin,
  10. IN const GUID *pgSubsystem,
  11. IN DWORD dwFlags
  12. )
  13. {
  14. SetLastError(ERROR_PROC_NOT_FOUND);
  15. return FALSE;
  16. }
  17. static
  18. HCATINFO
  19. WINAPI
  20. CryptCATAdminAddCatalog (
  21. IN HCATADMIN hCatAdmin,
  22. IN WCHAR *pwszCatalogFile,
  23. IN OPTIONAL WCHAR *pwszSelectBaseName,
  24. IN DWORD dwFlags
  25. )
  26. {
  27. SetLastError(ERROR_PROC_NOT_FOUND);
  28. return NULL;
  29. }
  30. static
  31. BOOL
  32. WINAPI
  33. CryptCATAdminCalcHashFromFileHandle (
  34. IN HANDLE hFile,
  35. IN OUT DWORD *pcbHash,
  36. OUT OPTIONAL BYTE *pbHash,
  37. IN DWORD dwFlags
  38. )
  39. {
  40. SetLastError(ERROR_PROC_NOT_FOUND);
  41. return FALSE;
  42. }
  43. static
  44. HCATINFO
  45. WINAPI
  46. CryptCATAdminEnumCatalogFromHash (
  47. IN HCATADMIN hCatAdmin,
  48. IN BYTE *pbHash,
  49. IN DWORD cbHash,
  50. IN DWORD dwFlags,
  51. IN OUT HCATINFO *phPrevCatInfo
  52. )
  53. {
  54. SetLastError(ERROR_PROC_NOT_FOUND);
  55. return NULL;
  56. }
  57. static
  58. BOOL
  59. WINAPI
  60. CryptCATAdminReleaseCatalogContext (
  61. IN HCATADMIN hCatAdmin,
  62. IN HCATINFO hCatInfo,
  63. IN DWORD dwFlags
  64. )
  65. {
  66. SetLastError(ERROR_PROC_NOT_FOUND);
  67. return FALSE;
  68. }
  69. static
  70. BOOL
  71. WINAPI
  72. CryptCATAdminReleaseContext (
  73. IN HCATADMIN hCatAdmin,
  74. IN DWORD dwFlags
  75. )
  76. {
  77. SetLastError(ERROR_PROC_NOT_FOUND);
  78. return FALSE;
  79. }
  80. static
  81. BOOL
  82. WINAPI
  83. CryptCATCatalogInfoFromContext (
  84. IN HCATINFO hCatInfo,
  85. IN OUT CATALOG_INFO *psCatInfo,
  86. IN DWORD dwFlags
  87. )
  88. {
  89. SetLastError(ERROR_PROC_NOT_FOUND);
  90. return FALSE;
  91. }
  92. //
  93. // !! WARNING !! The entries below must be in alphabetical order, and are CASE SENSITIVE (eg lower case comes last!)
  94. //
  95. DEFINE_PROCNAME_ENTRIES(mscat32)
  96. {
  97. DLPENTRY(CryptCATAdminAcquireContext)
  98. DLPENTRY(CryptCATAdminAddCatalog)
  99. DLPENTRY(CryptCATAdminCalcHashFromFileHandle)
  100. DLPENTRY(CryptCATAdminEnumCatalogFromHash)
  101. DLPENTRY(CryptCATAdminReleaseCatalogContext)
  102. DLPENTRY(CryptCATAdminReleaseContext)
  103. DLPENTRY(CryptCATCatalogInfoFromContext)
  104. };
  105. DEFINE_PROCNAME_MAP(mscat32)