IWMDRMReader::Individualize method (wmsdkidl.h)
[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.]
[Individualize is available for use in the operating systems specified in the Requirements section. It may be altered or unavailable in subsequent versions. Instead, use Microsoft PlayReady. ]
The Individualize method individualizes the client by updating their DRM system components.
HRESULT Individualize(
[in] DWORD dwFlags
);
[in] dwFlags
DWORD containing the relevant flags.
Flag | Description |
---|---|
0x0 | Indicates that the client can be individualized again. |
0x1 | Indicates that the client will not be individualized again. |
The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.
Return code | Description |
---|---|
|
The method succeeded. |
|
A null or invalid argument has been passed in. |
This is an asynchronous call that returns immediately. To abandon the attempt, call CancelIndividualization.
There are two times to initiate the individualization process: the first is when a piece of content requires it, and the second is when a player individualizes the client as part of the setup. In the latter case, there is no reason to individualize the client again.
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional [desktop apps only],Windows Media Format 7 SDK, or later versions of the SDK |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Target Platform | Windows |
Header | wmsdkidl.h (include Wmsdk.h) |
Library | WMStubDRM.lib |
IWMDRMReader::CancelIndividualization