Share via


WM_LICENSE_STATE_DATA structure

The WM_LICENSE_STATE_DATA structure encapsulates a DRM_LICENSE_STATE_DATA structure which describes DRM license state data.

Syntax

typedef struct _WM_LICENSE_STATE_DATA {
  DWORD                  dwSize;
  DWORD                  dwNumStates;
  DRM_LICENSE_STATE_DATA stateData[1];
} ;

Members

  • dwSize
    Size of the structure, in bytes. This value depends on the size of the DRM_LICENSE_STATE_DATA structure in the stateData member.

  • dwNumStates
    Number of elements in the stateData array. Typically will be 1.

  • stateData
    A DRM_LICENSE_STATE_DATA structure that contains information about a specified right in the license.

Remarks

When you call IWMDRMReader::GetDRMProperty and specify, for example, g_wszWMDRM_LicenseState_CopyToCD, in the pwstrName parameter, a filled-in WM_LICENSE_STATE_DATA structure is returned in the pValue parameter.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Version

Windows Media Format 7 SDK, or later versions of the SDK

Header

Wmsdkidl.h (include Wmsdk.h)

See also

Structures