Share via


WMDM_PROP_DESC

banner art

The WMDM_PROP_DESC structure describes valid values of a property in a particular property configuration.

Syntax

typedef struct _WMDM_PROP_DESC{
  LPWSTR  pwszPropName;
  WMDM_ENUM_PROP_VALID_VALUES_FORM  ValidValuesForm;
  [switch_type(WMDM_ENUM_PROP_VALID_VALUES_FORM)] [switch_is(ValidValuesForm)]  union
  {
    [case (WMDM_ENUM_PROP_VALID_VALUES_ANY)];
  
    [case (WMDM_ENUM_PROP_VALID_VALUES_RANGE)]
        WMDM_PROP_VALUES_RANGE ValidValuesRange;

    [case (WMDM_ENUM_PROP_VALID_VALUES_ENUM)]
        WMDM_PROP_VALUES_ENUM EnumeratedValidValues;
  } ValidValues

} WMDM_PROP_DESC;

Members

pwszPropName

Name of the property.

ValidValuesForm

Describes the form in which valid values are expressed. Valid values can be expressed as a range, as an enumerated set of values, or as a notification that all values are valid. This member must be one of the following values from the WMDM_ENUM_PROP_VALID_VALUES_FORM enumeration.

Value Description
WMDM_ENUM_PROP_VALID_VALUES_ANY All values are valid.
WMDM_ENUM_PROP_VALID_VALUES_RANGE Valid values are expressed as a range. For detailed information, see the WMDM_PROP_VALUES_RANGE structure.
WMDM_ENUM_PROP_VALID_VALUES_ENUM Valid values are an enumerated set. For detailed information, see the WMDM_PROP_VALUES_ENUM structure.

ValidValues

Valid values of the property in a particular property configuration. Valid values can be expressed as a range or as a list of values.

ValidValuesRange

Range of valid values. This is applicable when ValidValuesForm is set to WMDM_ENUM_PROP_VALID_VALUES_RANGE. For detailed information, see the WMDM_PROP_VALUES_RANGE structure.

EnumeratedValidValues

Enumerated set of valid values. This is applicable when ValidValuesForm is set to WMDM_ENUM_PROP_VALID_VALUES_ENUM. For detailed information, see the WMDM_PROP_VALUES_ENUM structure.

Remarks

The WMDM_PROP_DESC structure contains a property description that consists of a property name and its valid values in a particular configuration.

Requirements

Header: Defined in wmdm.idl.

Library: mssachlp.lib

See Also