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


CSPROPERTY_DESCRIPTION (Compact 2013)

3/26/2014

This structure specifies the size and type of values contained in a specific property.

Syntax

typedef struct {
  ULONG        AccessFlags;
  ULONG        DescriptionSize;
  CSIDENTIFIER PropTypeSet;
  ULONG        MembersListCount;
  ULONG        Reserved;
} CSPROPERTY_DESCRIPTION, *PCSPROPERTY_DESCRIPTION;

Members

  • AccessFlags
    A ULONG value that specifies the access allowed to this property. A basic-support request sets this member to the bitwise OR of the flags for all the access types that the handler supports for this property. For a list of possible flag values, see CSPROPERTY_TYPE Values Values.
  • DescriptionSize
    A ULONG value that specifies the total size, in bytes, of the CSPROPERTY_DESCRIPTION structure and any values that follow it. If the basic-support property request returns no values entries, this member is the size of CSPROPERTY_DESCRIPTION.
  • PropTypeSet
    A CSIDENTIFIER structure that if supported by a specific property, specifies the type of values contained in that property. This group is uniquely specified by a GUID, such that new types of values may be created without overlapping with extensions to this set. The value types indicate the type of the value (like VT_BOOL, VT_UI4 in the standard set). This is GUID_NULL, with an identifier of zero, if values information is not supported by this property.
  • MembersListCount
    A ULONG value that specifies the number of CSPROPERTY_MEMBERSHEADER structures that will follow this header.
  • Reserved
    Reserved; set to 0 (zero).

Remarks

A driver returns the CSPROPERTY_DESCRIPTION structure in response to a basic support property request from a client.

The property values type set is specified by a CSIDENTIFIER structure. The basic set supported is CSPROPSETID_General. The identifiers within that set are the standard VARENUM types used for OLE.

The values information that may follow the CSPROPERTY_DESCRIPTION structure is described by a list of CSPROPERTY_MEMBERSLIST structures, each of which contains data range information.

Requirements

Header

cs.h

See Also

Reference

Camera Driver Structures
CSPROPERTY_TYPE Values
CSIDENTIFIER
CSPROPERTY_MEMBERSHEADER
CSPROPERTY_MEMBERSLIST