IMFSSLCertificateManager::EndGetClientCertificate method

Completes an asynchronous request to get the client SSL certificate.

Syntax


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

Parameters

pResult [in]

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

ppbData [out]

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

pcbData [out]

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

Minimum supported client

Windows 7 [desktop apps only]

Minimum supported server

Windows Server 2008 R2 [desktop apps only]

Header

Mfidl.h

See also

Calling Asynchronous Methods
IMFSSLCertificateManager

 

 

Show: