Lưu ý
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử đăng nhập hoặc thay đổi thư mục.
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử thay đổi thư mục.
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 |