ICertRequest3::GetRequestIdString method (certcli.h)

The GetRequestIdString method gets the current internal request number, formatted as a string, for the request and subsequent certificate.

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

Syntax

HRESULT GetRequestIdString(
  [out, retval] BSTR *pstrRequestId
);

Parameters

[out, retval] pstrRequestId

A pointer to BSTR variable to receive the request ID string.

Return value

C++

If the method succeeds, the method returns S_OK.

Upon successful completion of this function, the string pointed to by the pstrRequestId parameter is set to the request ID string.

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, as a string, for the request and subsequent certificate.

Requirements

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

See also

CCertRequest

ICertRequest3