MFFrameSourceTypes enumeration (mfapi.h)

Describes the type of data provided by a frame source.

Syntax

typedef enum _MFFrameSourceTypes {
  MFFrameSourceTypes_Color = 0x0001,
  MFFrameSourceTypes_Infrared = 0x0002,
  MFFrameSourceTypes_Depth = 0x0004,
  MFFrameSourceTypes_Image = 0x0008,
  MFFrameSourceTypes_Custom = 0x0080
} MFFrameSourceTypes;

Constants

 
MFFrameSourceTypes_Color
Value: 0x0001
The frame source provides color data.
MFFrameSourceTypes_Infrared
Value: 0x0002
The frame source provides infrared data.
MFFrameSourceTypes_Depth
Value: 0x0004
The frame source provides depth data.
MFFrameSourceTypes_Image
Value: 0x0008
The frame source provides image data.

Note  This value was added in Windows 10, version 1803.
MFFrameSourceTypes_Custom
Value: 0x0080
The frame source provides custom data.

Remarks

The values of this enumeration are used with the MF_DEVICESTREAM_ATTRIBUTE_FRAMESOURCE_TYPES attribute.

Requirements

Requirement Value
Minimum supported client Windows 10, version 1607 [desktop apps only]
Minimum supported server Windows Server 2016 [desktop apps only]
Header mfapi.h