Rediger

Del via


ICertStore::StoreHandle property

[CAPICOM is a 32-bit only component that is available for use in the following operating systems: Windows Server 2008, Windows Vista, and Windows XP.]

The StoreHandle property sets or retrieves the HCERTSTORE handle of a certificate store.

This property is read/write.

Syntax

CertStore.StoreHandle As Long

Property value

The HCERTSTORE handle of the certificate store.

Error codes

If the property access methods put_StoreHandle and get_StoreHandle succeed, they return S_OK.

Any other HRESULT value indicates that the call failed.

Remarks

You must call either the CloseHandle method or the CertCloseStore function to free the context.

If you set the StoreHandle property, the state of the entire Store object is reset.

Requirements

Requirement Value
Redistributable
CAPICOM 2.0 or later on Windows Server 2003 and Windows XP
DLL
Capicom.dll

See also

ICertStore