WMDRM_LICENSE_FILTER structure

The WMDRM_LICENSE_FILTER structure defines filtering parameters for use when creating a license enumeration.

Syntax

typedef struct WMDRM_LICENSE_FILTER {
  DWORD dwVersion;
  BSTR  bstrKID;
  BSTR  bstrRights;
  BSTR  bstrAllowedSourceIDs;
} ;

Members

dwVersion

Specifies a minimum version number for the returned licenses.

bstrKID

Specifies a key ID to filter licenses for. Only licenses with the specified key ID will be included in the enumeration.

bstrRights

Specifies a set of rights to filter licenses for. Only licenses that provide all of the specified rights will be included in the enumeration.

bstrAllowedSourceIDs

Specifies the sources of protected content to include in the license search.

Remarks

This structure is used by the IWMDRMLicenseManagement::CreateLicenseEnumeration method.

Requirements

Header
Wmdrmsdk.h

See also

Structures