CertAddRefServerOcspResponseContext function (wincrypt.h)

The CertAddRefServerOcspResponseContext function increments the reference count for a CERT_SERVER_OCSP_RESPONSE_CONTEXT structure.

Syntax

void CertAddRefServerOcspResponseContext(
  [in] PCCERT_SERVER_OCSP_RESPONSE_CONTEXT pServerOcspResponseContext
);

Parameters

[in] pServerOcspResponseContext

A pointer to a CERT_SERVER_OCSP_RESPONSE_CONTEXT returned by CertGetServerOcspResponseContext.

Return value

None

Remarks

Each call to CertGetServerOcspResponseContext and CertAddRefServerOcspResponseContext requires a corresponding call to CertFreeServerOcspResponseContext.

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