Skip to main content
IWMAuthorizer::GetCert method

[GetCert is available for use in the operating systems specified in the Requirements section. It may be altered or unavailable in subsequent versions. Instead, use Microsoft PlayReady. ]

Retrieves the specified certificate.

Syntax


virtual HRESULT GetCert(
  [in]  DWORD dwIndex,
  [out] BYTE  **ppbCertData
) = 0;

Parameters

dwIndex [in]

The index of the certification to retrieve.

ppbCertData [out]

An address of a pointer to certification data. ppbCertData is allocated with CoTaskMemAlloc and must be released by the user.

Return value

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

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Wmsecure.h

See also

IWMAuthorizer