Compartilhar via


IWMDRMDevice2::GetLicenseState

banner art

The GetLicenseState method gets the license state.

Syntax

HRESULT GetLicenseState(BYTE*pbStateQueryData,DWORDcbStateQueryData,DWORD*pdwCategory,DWORD*pcRemainingCounts,DWORD*pcRemainingHours,DWORD*pdwReserved);

Parameters

pbStateQueryData

[in]  Pointer to the queried data of the license state.

cbStateQueryData

[in]  Count of the queried data.

pdwCategory

[out]  Pointer to the category.

pcRemainingCounts

[out]  Pointer to the remaining counts.

pcRemainingHours

[out]  Pointer to the remaining hours.

pdwReserved

[out]  Reserved for future use.

Return Values

The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.

Return code Description
S_OK The method succeeds.

Requirements

Header: Defined in WMDDRMSP.idl.

Library: mssachlp.lib

See Also