IMFSSLCertificateManager::EndGetClientCertificate method (mfidl.h)

Completes an asynchronous request to get the client SSL certificate.

Syntax

HRESULT EndGetClientCertificate(
  [in]  IMFAsyncResult *pResult,
  [out] BYTE           **ppbData,
  [out] DWORD          *pcbData
);

Parameters

[in] pResult

A pointer to the IMFAsyncResult interface. Pass in the same pointer that your callback object received in the IMFAsyncCallback::Invoke method.

[out] ppbData

Receives a pointer to the buffer that stores the certificate. The caller must free the buffer by calling CoTaskMemFree.

[out] pcbData

Receives the size of the ppbData buffer, in bytes.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

Call this method after the IMFSSLCertificateManager::BeginGetClientCertificate method completes asynchronously.

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 mfidl.h

See also

Calling Asynchronous Methods

IMFSSLCertificateManager