MF_DEVSOURCE_ATTRIBUTE_SOURCE_TYPE_VIDCAP_CATEGORY attribute

Specifies the device category for a video capture device.

Data type

GUID

The following value is defined.

Value Meaning
CLSID_VideoInputDeviceCategory
Video capture device.

 

Get/set

To get this attribute, call IMFAttributes::GetGUID.

To set this attribute, call IMFAttributes::SetGUID.

Remarks

Use this attribute as input to the MFEnumDeviceSources function when enumerating video capture devices.

In addition, this attribute is set on the activation objects returned by the following functions:

The attribute applies only to video capture devices.

The GUID constant for this attribute is exported from mfuuid.lib.

Requirements

Requirement Value
Minimum supported client
Windows 7 [desktop apps only]
Minimum supported server
Windows Server 2008 R2 [desktop apps only]
Header
Mfidl.h

See also

Alphabetical List of Media Foundation Attributes

Audio/Video Capture

Capture Device Attributes