共用方式為


WMDM_PROP_VALUES_ENUM

banner art

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;[size_is(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

Header: Defined in wmdm.idl.

Library: mssachlp.lib

See Also