IWMDRMSecurity::GetSecurityVersion method
[The feature associated with this page, Windows Media Format 11 SDK, is a legacy feature. It has been superseded by Source Reader and Sink Writer. Source Reader and Sink Writer have been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use Source Reader and Sink Writer instead of Windows Media Format 11 SDK, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]
The GetSecurityVersion method retrieves the version of the DRM subsystem on the client computer.
Syntax
HRESULT GetSecurityVersion(
[out] BSTR *pbstrVersion
);
Parameters
-
pbstrVersion [out]
-
Address of a variable that receives the DRM subsystem version number.
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 succeeded. |
Remarks
The version number is expressed as a string consisting of four numbers separated by periods. The first number is the major version number, which is usually set to 2. The second number is the minor version number, ranging from 2 to 10. The third number is always set to 0. The fourth number is set to 0 or 1, and is a Boolean value indicating whether the subsystem has been individualized. For example, a version number of "2.4.0.1" indicates the individualized fourth minor version of the second major version.
Requirements
Requirement | Value |
---|---|
Header |
|
Library |
|