Share via


CSPROPERTY_VALUES (Compact 2013)

3/26/2014

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

Syntax

typedef struct {
  CSIDENTIFIER                  PropTypeSet;
  ULONG                         MembersListCount;
  const CSPROPERTY_MEMBERSLIST* MembersList;
} CSPROPERTY_VALUES, *PCSPROPERTY_VALUES;

Members

  • PropTypeSet
    A CSIDENTIFIER structure that identifies the data type of the property. The Set member of a CSIDENTIFIER structure indicates the set of value types supported, and the Id member of the same structure identifies the type within the set.
  • MembersListCount
    A ULONG value that specifies the number of entries in the array pointed to by MembersList.
  • MembersList
    A pointer to an array of CSPROPERTY_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 CSPROPTYPESETID_General. The individual value types in SPROPTYPESETID_General correspond to VARIANT and VARIANTARG types.

The following table shows some possible values for PropTypeSet.Id.

Value

Data type

VT_I4

Signed 4-byte quantity

VT_UI4

Unsigned 4-byte quantity

A driver can specify a pointer to a CSPROPERTY_VALUES structure in the relevant CSPROPERTY_ITEM for a property.

Requirements

Header

cs.h

See Also

Reference

Camera Driver Structures
CSIDENTIFIER
CSPROPERTY_MEMBERSLIST
CSPROPERTY_ITEM

Other Resources

VARIANT and VARIANTARG