KSCAMERA_PROFILE_PININFO struttura (ksmedia.h)

Questa struttura specifica l'elenco disponibile di tipi di supporti per ogni pin del driver della fotocamera.

Sintassi

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;

Members

PinCategory

Si tratta della categoria PINNAME corrispondente al pin acquisizione, anteprima o ancora. Per Windows 10, le uniche categorie di pin supportate sono: PINNAME_VIDEO_CAPTURE, PINNAME_VIDEO_PREVIEW, PINNAME_VIDEO_STILL. Tutte le altre categorie generano un errore di STATUS_INVALID_PARAMETER.

PinIndex

ProfileSensorType

Reserved

Non utilizzato. Deve essere 0.

MediaInfoCount

Dimensioni della matrice di strutture KSCAMERA_PROFILE_MEDIAINFO specificate nel campo MediaInfos.

MediaInfos

Matrice di strutture KSCAMERA_PROFILE_MEDIAINFO.

Requisiti

Requisito Valore
Intestazione ksmedia.h