WMDM_PROP_VALUES_ENUM structure

The WMDM_PROP_VALUES_ENUM structure contains an enumerated set of valid values for a particular property in a particular property configuration.

Syntax

typedef struct _WMDM_PROP_VALUES_ENUM {
  UINT        cEnumValues;
  PROPVARIANT *pValues;
} WMDM_PROP_VALUES_ENUM;

Members

cEnumValues

Count of enumerated values.

pValues

Pointer to an array of values. The size of the array is equal to the value of cEnumValues.

Remarks

This structure is used in the WMDM_PROP_DESC structure to describe an enumerated set of valid values. An enumerated set of valid values is applicable when WMDM_ENUM_PROP_VALID_VALUES_ENUM is selected from the WMDM_ENUM_PROP_VALID_VALUES_FORM enumeration.

The caller is required to free the memory used by pValues. For an example of how to do this, see WMDM_FORMAT_CAPABILITY.

Requirements

Requirement Value
Header
Wmdm.idl

See also

IWMDMDevice3::GetFormatCapability

WMDM_ENUM_PROP_VALID_VALUES_FORM

WMDM_FORMAT_CAPABILITY

WMDM_PROP_CONFIG

WMDM_PROP_DESC

WMDM_PROP_VALUES_RANGE

Structures