Share via


CSDATARANGE (Compact 2013)

3/26/2014

This structure is variable-length structure that describes a range of data formats.

Syntax

typedef struct {
  ULONG FormatSize;
  ULONG Flags;
  ULONG SampleSize;
  ULONG Reserved;
  GUID  MajorFormat;
  GUID  SubFormat;
  GUID  Specifier;
} CSDATAFORMAT, *PCSDATAFORMAT, CSDATARANGE, *PCSDATARANGE;

Members

  • FormatSize
    A ULONG value that specifies the size of this structure in bytes. This value must be at least sizeof(CSDATARANGE), but may be larger depending on the specific values of MajorFormat, SubFormat, and Specifier.
  • Flags
    Reserved.
  • SampleSize
    Reserved.
  • Reserved
    Reserved; set to 0 (zero).
  • MajorFormat
    A GUID value that identifies the specific major format of a data format that this data range matches. For a list of predefined major formats, see CSDATAFORMAT_TYPE Values. If this data range matches all major formats then it should be set to CSDATAFORMAT_TYPE_WILDCARD and both SubFormat and Specifier must also take on their wild card values as well.
  • SubFormat
    A GUID value that identifies the specific subformat of a data format that this data range matches. For a list of predefined subformats, see CSDATAFORMAT_SUBTYPE Values. If this data range matches all subformats then it should be set to. The value of Specifier is not required to be its wild card value, unless MajorFormat is set to CSDATAFORMAT_TYPE_WILDCARD.
  • Specifier
    A GUID value that identifies either the specifier of the data format that this data range matches, or CSDATAFORMAT_SPECIFIER_WILDCARD if this data range matches all specifier values. For a list of predefined specifiers, see CSDATAFORMAT_SPECIFIER Values.   

Requirements

Header

cs.h

See Also

Reference

Camera Driver Structures
CSDATAFORMAT_TYPE Values
CSDATAFORMAT_SUBTYPE Values
CSDATAFORMAT_SPECIFIER Values