IWMDRMDevice2::GetLicenseState method
The GetLicenseState method gets the license state.
Syntax
HRESULT GetLicenseState(
[in] BYTE *pbStateQueryData,
[in] DWORD cbStateQueryData,
[out] DWORD *pdwCategory,
[out] DWORD *pcRemainingCounts,
[out] DWORD *pcRemainingHours,
[out] 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 value
The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.
Return code | Description |
---|---|
|
The method succeeds. |
Requirements
Requirement | Value |
---|---|
Header |
|
Library |
|