IWMDRMProfileCollection::get_length
The get_length method retrieves the number of DRM profiles in the collection.
Syntax
HRESULT get_length(
long* plCount
);
Parameters
plCount
[out] Pointer to a long that indicates the number of available DRM profiles.
Return Values
If the method succeeds, it returns S_OK. If it fails, it supports the IErrorInfo interface and returns an HRESULT error code.
Return code | Number | Description |
E_POINTER | 0x80004003 | The pointer to the count is NULL. |
Remarks
This method performs the same action as the IWMDRMProfileCollection::get_Count method and is included for JScript developers.
Requirements
Header: wmdrmprf.h
Library: wmenc.exe
See Also