Bewerken

Delen via


KSDEVICE_PROFILE_INFO structure (ksmedia.h)

The KSDEVICE_PROFILE_INFO is a generic structure designed to handle profile information for various device types.

Syntax

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;

Members

Type

Defines the type of profile. Currently, the only defined type is KSDEVICE_PROFILE_TYPE_CAMERA.

#define KSDEVICE_PROFILE_TYPE_CAMERA    0x00000001

Size

This must be set to sizeof(KSDEVICE_PROFILE_INFO) structure.

Camera

Camera.Info

Structure of KSCAMERA_PROFILE_INFO defining the profile information of a camera.

Camera.Reserved

Unused. Must be set to 0.

Camera.ConcurrencyCount

Number 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.Concurrency

An 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.

Requirements

Requirement Value
Header ksmedia.h