Skip to content

Latest commit

 

History

History
49 lines (33 loc) · 1012 Bytes

File metadata and controls

49 lines (33 loc) · 1012 Bytes

Home

Function name : CertCloseStore

Group: Cryptography Reference - Library: crypt32


Closes a certificate store handle and reduces the reference count on the store.


Declaration:

BOOL WINAPI CertCloseStore(
	HCERTSTORE hCertStore,
	DWORD dwFlags
);  

FoxPro declaration:

DECLARE INTEGER CertCloseStore IN crypt32;
	INTEGER hCertStore,;
	LONG dwFlags  

Parameters:

hCertStore [in] Handle of the certificate store to be closed.

dwFlags [in] Typically, this parameter uses the default value zero.


Return value:

If the function succeeds, the return value is TRUE.


Comments:

There needs to be a corresponding call to CertCloseStore for each successful call to the CertOpenSystemStore, CertOpenStore or CertDuplicateStore functions.