Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

CertAddRefServerOcspResponse function (wincrypt.h)

The CertAddRefServerOcspResponse function increments the reference count for an HCERT_SERVER_OCSP_RESPONSE handle.

Syntax

VOID CertAddRefServerOcspResponse(
 [in] HCERT_SERVER_OCSP_RESPONSE hServerOcspResponse
);

Parameters

[in] hServerOcspResponse

A handle to an HCERT_SERVER_OCSP_RESPONSE returned by CertOpenServerOcspResponse.

Return value

None

Remarks

Each CertOpenServerOcspResponse and CertAddRefServerOcspResponse requires a corresponding CertCloseServerOcspResponse.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header wincrypt.h
Library Crypt32.lib
DLL Crypt32.dll

Feedback

Was this page helpful?

Additional resources