Skip to main content
IWMAuthorizer::GetSharedData method

[GetSharedData 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 shared data for the specified certificate.

Syntax


virtual HRESULT GetSharedData(
  [in]        DWORD dwCertIndex,
  [in]  const BYTE  *pbSharedData,
  [in]        BYTE  *pbCert,
  [out]       BYTE  **ppbSharedData
) = 0;

Parameters

dwCertIndex [in]
pbSharedData [in]
pbCert [in]
ppbSharedData [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