Share via


CSPROPERTY_ITEM (Windows Embedded CE 6.0)

1/6/2010

This structure describes how a driver supports a property in a property set.

Syntax

typedef struct {
  ULONG                    PropertyId;
  BOOLEAN                  GetSupported;
  ULONG                    MinProperty;
  ULONG                    MinData;
  BOOLEAN                  SetSupported;
  const CSPROPERTY_VALUES* Values;
  ULONG                    RelationsCount;
  const CSPROPERTY*        Relations;
  LPVOID                   Reserved1;
  ULONG                    Reserved2;
} CSPROPERTY_ITEM, *PCSPROPERTY_ITEM;

Members

  • PropertyId
    A ULONG value that specifies the ID of the property being described.
  • GetSupported
    A BOOLEAN value that indicates whether this property supports GET requests. Set to TRUE if this property supports get requests, FALSE if it does not. This member is used only by minidrivers running under stream class.
  • MinProperty
    A ULONG value that specifies the minimum buffer length to hold the property identifier. This must be at least sizeof(CSPROPERTY).
  • MinData
    A ULONG value that specifies the minimum buffer length to hold the data read from or written to this property.
  • SetSupported
    A BOOLEAN value that indicates whether this property supports SET requests. Set to TRUE if this property supports set requests, FALSE if it does not.
  • Values
    A pointer to a CSPROPERTY_VALUES structure that specifies the acceptable and/or default values for the property. These are the same as the values reported by a driver in response to an IOCTL_CS_PROPERTY request with the CSPROPERTY_TYPE_BASICSUPPORT and CSPROPERTY_TYPE_DEFAULTVALUES flags (see CSPROPERTY_TYPE Values) set.
  • RelationsCount
    A ULONG value that specifies the number of entries in the array pointed to by the Relations member.
  • Relations
    A pointer to an array of CSPROPERTY structures representing properties related to this one. Two properties are considered related if changing one property may affect the value of the other property. The Flags member of each entry is unused.
  • Reserved1
    Reserved. Set this pointer to NULL.
  • Reserved2
    Reserved. Set this value to 0.

Requirements

Header cs.h
Windows Embedded CE Windows Embedded CE 6.0 and later

See Also

Reference

Camera Driver Structures
CSPROPERTY_VALUES
IOCTL_CS_PROPERTY
CSPROPERTY_TYPE Values
CSPROPERTY