Details
Description
wincrypt.h for Windows CE defines CertOpenSystemStoreW as (this is from STANDARDSDK_500)
#define CertOpenSystemStoreW(hProv,szSubsystemProtocol) \
CertOpenStore( \
CERT_STORE_PROV_SYSTEM_W, \
0, \
(hProv), \
CERT_STORE_NO_CRYPT_RELEASE_FLAG|CERT_SYSTEM_STORE_CURRENT_USER, \
(const void *) (szSubsystemProtocol) \
)
So it cannot be resolved as a function, CertOpenStore should be used instead. One last thing is the function signature for CertOpenStore is;
HCERTSTORE WINAPI CertOpenStore(
LPCSTR lpszStoreProvider,
DWORD dwMsgAndCertEncodingType,
HCRYPTPROV hCryptProv,
DWORD dwFlags,
const void* pvPara
);
See http://msdn.microsoft.com/en-us/library/ms937683.aspx . This should be defined as such for Windows CE.