// ksmedia.h
typedef struct _KSDEVICE_PROFILE_INFO {
UINT32 Type;
UINT32 Size;
union {
struct {
KSCAMERA_PROFILE_INFO Info;
UINT32 Reserved;
UINT32 ConcurrencyCount;
PKSCAMERA_PROFILE_CONCURRENCYINFO Concurrency;
} Camera;
};
} KSDEVICE_PROFILE_INFO, *PKSDEVICE_PROFILE_INFO;
View the official Windows Driver Kit DDI referenceNo description available.
The KSDEVICE_PROFILE_INFO is a generic structure designed to handle profile information for various device types.
TypeDefines the type of profile. Currently, the only defined type is KSDEVICE_PROFILE_TYPE_CAMERA.
#define KSDEVICE_PROFILE_TYPE_CAMERA 0x00000001
SizeThis must be set to sizeof(KSDEVICE_PROFILE_INFO) structure.
CameraCamera.InfoStructure of KSCAMERA_PROFILE_INFO defining the profile information of a camera.
Camera.ReservedUnused. Must be set to 0.
Camera.ConcurrencyCountNumber of KSCAMERA_PROFILE_CONCURRENCYINFO structures in the Concurrency array.
For Windows 10 this must be less than or equal 1.
A value of 0 with Concurrency set to NULL, indicates this profile is non-concurrent.
Camera.ConcurrencyAn array of KSCAMERA_PROFILE_CONCURRENCYINFO structures describing the concurrency support for this profile.
If CountOfConcurrency is 0, this parameter must be NULL.
If CountOfConcurrency is greater than 0, this parameter must not be NULL.