Note
Kailangan ng pahintulot para ma-access ang page na ito. Maaari mong subukang mag-sign in o magpalit ng mga direktoryo.
Ang pag-access sa pahinang ito ay nangangailangan ng pahintulot. Maaari mong subukang baguhin ang mga direktoryo.
Gets the expiration time for all keys in the session as determined by the Content Decryption Module (CDM).
Syntax
HRESULT GetExpiration(
double *expiration
);
Parameters
expiration
Receives a pointer to an LPWSTR representing the session ID or NaN if no such time exists or if the license explicitly never expires.
Return value
Returns S_OK.
Remarks
GetExpiration is based on the Encrypted Media Extension specification's MediaKeySession.expiration. The time and time range values of the expiration are based on ECMA Language Specification's Time Values and Time Range.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows 10, version 2004 (10.0; Build 19041) |
| Minimum supported server | Windows Server, version 2004 (10.0; Build 19041) |
| Header | mfcontentdecryptionmodule.h |