DEFINE_CSPROPERTY_ITEM (Windows Embedded CE 6.0)

1/6/2010

This macro helps define a camera property by laying out the members of a CSPROPERTY_ITEM structure.

Syntax

#define DEFINE_CSPROPERTY_ITEM(PropertyId, GetHandler,\
                                                              MinProperty, MinData,\
                                                              SetHandler, Values,\
                               RelationsCount, Relations,\
                                                              SupportHandler, SerializedSize)\
{\
    PropertyId, (BOOL)GetHandler,\
    MinProperty, MinData,\
  (BOOL)SetHandler, (PCSPROPERTY_VALUES)Values,\
    RelationsCount, (PCSPROPERTY)Relations,\
  NULL, 0\
}

Parameters

  • PropertyId
    A value that corresponds to CSPROPERTY_ITEM.PropertyId.
  • GetHandler
    A value that corresponds to CSPROPERTY_ITEM.GetSupported.
  • MinProperty
    A value that corresponds to CSPROPERTY_ITEM.MinProperty.
  • MinData
    A value that corresponds to CSPROPERTY_ITEM.MinData.
  • SetHandler
    A value that corresponds to CSPROPERTY_ITEM.SetSupported.
  • Values
    A value that corresponds to CSPROPERTY_ITEM.Values.
  • RelationsCount
    A value that corresponds to CSPROPERTY_ITEM.RelationsCount.
  • Relations
    A value that corresponds to CSPROPERTY_ITEM.Relations.
  • SupportHandler
    Not used. The value for CSPROPERTY_ITEM.Reserved1 is set to NULL.
  • SerializedSize
    Not used. The value for CSPROPERTY_ITEM.Reserved2 is set to 0.

Requirements

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

See Also

Reference

Camera Driver Macros