Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

ICertStore::CloseHandle method

[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 CloseHandle method closes an HCERTSTORE handle acquired through the StoreHandle property.

Syntax


CertStore.CloseHandle( _
  ByVal hCertStore _
)

Parameters

hCertStore [in]

The HCERTSTORE handle to be closed.

Return value

The return value is an HRESULT. A value of S_OK indicates success. Any other value indicates that the operation failed.

Remarks

This method does not release the HCERTSTORE handle contained within a Store object. It should be used only to release a HCERTSTORE handle acquired through the StoreHandle property.

Requirements

Redistributable

CAPICOM 2.0 or later on Windows Server 2003 and Windows XP

DLL

Capicom.dll

See also

ICertStore

 

 

Community Additions

ADD
Show:
© 2015 Microsoft