KSPROPERTY_VALUES structure

The KSPROPERTY_VALUES structure describes the type and acceptable default values of a property.

Syntax


typedef struct {
  KSIDENTIFIER                 PropTypeSet;
  ULONG                        MembersListCount;
  const KSPROPERTY_MEMBERSLIST *MembersList;
} KSPROPERTY_VALUES, *PKSPROPERTY_VALUES;

Members

PropTypeSet

Specifies a KSIDENTIFIER structure (see KSEVENT) that identifies the data type of the property. The Set member of a KSIDENTIFIER structure indicates the set of value types supported, and the Id member of the same structure identifies the type within the set.

MembersListCount

Specifies the number of entries in the array pointed to by MembersList.

MembersList

Points to an array of KSPROPERTY_MEMBERSLIST structures. Each entry specifies a list of possible values or sets of values that the property may assume.

Remarks

PropTypeSet.Set almost always equals KSPROPTYPESETID_General. The individual value types in KSPROPTYPESETID_General correspond to the VARENUM types documented in the Microsoft Windows SDK.

Possible values for PropTypeSet.Id include:

ValueData type

VT_I4

Signed 4-byte quantity

VT_UI4

Unsigned 4-byte quantity

 

A driver can specify a pointer to a KSPROPERTY_VALUES structure in the relevant KSPROPERTY_ITEM for a property.

For more information, see KS Properties.

Requirements

Header

Ks.h (include Ks.h)

See also

KSEVENT
KSPROPERTY_ITEM
KSPROPERTY_MEMBERSLIST
KSPROPERTY_DESCRIPTION

 

 

Send comments about this topic to Microsoft

Show: