Поделиться через


CSPROPERTY_MEMBERSHEADER (Compact 2013)

3/26/2014

This structure describes the size and type of each element in an array containing property values or ranges.

Syntax

typedef struct {
  ULONG MembersFlags;
  ULONG MembersSize;
  ULONG MembersCount;
  ULONG Flags;
} CSPROPERTY_MEMBERSHEADER, *PCSPROPERTY_MEMBERSHEADER;

Members

  • MembersFlags
    A ULONG value that specifies the type of entries in the members list. The size of valid values is determined by value type, as specified in the PropTypeSet member of the CSPROPERTY_DESCRIPTION structure. The number of range pairs is determined by MembersCount. This should be one of the CSPROPERTY_MEMBER Values in the following list.

    • CSPROPERTY_MEMBER_RANGES
    • CSPROPERTY_MEMBER_STEPPEDRANGES
    • CSPROPERTY_MEMBER_VALUES
  • MembersSize
    A ULONG value that specifies the size, in bytes, of an individual array element.
  • MembersCount
    A ULONG value that specifies the number of entries in the members array.
  • Flags
    A ULONG value that indicates the members in this list represent the default values for this property. Its value is zero if the entries in the CSPROPERTY_MEMBERSLIST.Members array specify acceptable values for a property, or CSPROPERTY_MEMBER_FLAG_DEFAULT. These values are returned when the client uses the CSPROPERTY_TYPE_DEFAULTVALUES flag on a query.

Remarks

The size of the array can be determined by multiplying MembersCount by MembersSize.

A CSPROPERTY_MEMBERSLIST structure contains a CSPROPERTY_MEMBERSLIST structure as its first member. The second member, Members, points to an array of property values or ranges.

In addition, a CSPROPERTY_DESCRIPTION structure can be followed by a list of CSPROPERTY_MEMBERSHEADER structures.

Requirements

Header

cs.h

See Also

Reference

Camera Driver Structures
CSPROPERTY_DESCRIPTION
CSPROPERTY_MEMBER Values
CSPROPERTY_MEMBERSLIST