#include <apitest.h>
#include <windef.h>
#include <wincrypt.h>
Go to the source code of this file.
◆ _INC_WINDOWS
◆ ARG_CONTEXT
◆ COM_NO_WINDOWS_H
◆ WIN32_NO_STATUS
◆ CERT_SYSTEM_STORE_LOCATION
◆ PCERT_SYSTEM_STORE_LOCATION
◆ CertEnumSystemStoreLocationCallback()
Definition at line 40 of file CertEnumSystemStoreLocation.c.
45{
48
50 {
53 "#%lu pwszStoreLocation incorrect\n",
55 }
56
59}
static const CERT_SYSTEM_STORE_LOCATION g_SystemStoreLocations[]
static LPCSTR DWORD void * pvReserved
_Check_return_ _CRTIMP int __cdecl wcscmp(_In_z_ const wchar_t *_Str1, _In_z_ const wchar_t *_Str2)
_In_ PCCERT_CONTEXT _In_ DWORD dwFlags
Referenced by START_TEST().
◆ START_TEST()
Definition at line 61 of file CertEnumSystemStoreLocation.c.
62{
64
65
68 "CertEnumSystemStoreLocation should failed with E_INVALIDARG when dwFlags is not 0\n");
69
70
74}
static BOOL WINAPI CertEnumSystemStoreLocationCallback(_In_ LPCWSTR pwszStoreLocation, _In_ DWORD dwFlags, _Reserved_ void *pvReserved, _Inout_opt_ void *pvArg)
DWORD WINAPI GetLastError(void)
BOOL WINAPI CertEnumSystemStoreLocation(_In_ DWORD dwFlags, _Inout_opt_ void *pvArg, __callback PFN_CERT_ENUM_SYSTEM_STORE_LOCATION pfnEnum)
◆ g_Index
◆ g_SystemStoreLocations
Initial value:= {
}
#define CERT_SYSTEM_STORE_SERVICES
#define CERT_SYSTEM_STORE_CURRENT_SERVICE
#define CERT_SYSTEM_STORE_USERS
#define CERT_SYSTEM_STORE_LOCAL_MACHINE_ENTERPRISE
#define CERT_SYSTEM_STORE_LOCAL_MACHINE
#define CERT_SYSTEM_STORE_CURRENT_USER
#define CERT_SYSTEM_STORE_CURRENT_USER_GROUP_POLICY
#define CERT_SYSTEM_STORE_LOCAL_MACHINE_GROUP_POLICY
Definition at line 24 of file CertEnumSystemStoreLocation.c.
Referenced by CertEnumSystemStoreLocationCallback(), and START_TEST().