// ksmedia.h
typedef struct _KSCAMERA_PROFILE_PININFO {
GUID PinCategory;
union {
struct {
USHORT PinIndex;
USHORT ProfileSensorType;
};
UINT32 Reserved;
};
UINT32 MediaInfoCount;
PKSCAMERA_PROFILE_MEDIAINFO MediaInfos;
} KSCAMERA_PROFILE_PININFO, *PKSCAMERA_PROFILE_PININFO;
View the official Windows Driver Kit DDI referenceNo description available.
This structure specifies the available list of media types for each of the camera driver pins.
PinCategoryThis is the PINNAME category corresponding to Capture, Preview or Still image pin. For Windows 10, the only supported pin categories are: PINNAME_VIDEO_CAPTURE, PINNAME_VIDEO_PREVIEW, PINNAME_VIDEO_STILL. All other categories will result in an STATUS_INVALID_PARAMETER error.
PinIndexProfileSensorTypeReservedUnused. Must be 0.
MediaInfoCountArray size of KSCAMERA_PROFILE_MEDIAINFO structures specified in the MediaInfos field.
MediaInfosArray of KSCAMERA_PROFILE_MEDIAINFO structures.