ICertRequest::GetRequestId method (certcli.h)

The GetRequestId method gets the current internal request number for the request and subsequent certificate.

This can be used to reference a request unambiguously to a server administrator or other interface.

Syntax

HRESULT GetRequestId(
  [out] LONG *pRequestId
);

Parameters

[out] pRequestId

A pointer to the request ID value.

Return value

C++

If the method succeeds, the method returns S_OK.

Upon successful completion of this function, *pRequestId is set to the value of the request ID.

If the method fails, it returns an HRESULT value that indicates the error. For a list of common error codes, see Common HRESULT Values.

VB

The return value specifies the current internal request number for the request and subsequent certificate.

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header certcli.h (include Certsrv.h)
Library Certidl.lib
DLL Certcli.dll

See also

CCertRequest

ICertRequest

ICertRequest2

ICertRequest3