Condividi tramite


struttura KSCAMERA_PROFILE_PININFO (ksmedia.h)

Questa struttura specifica l'elenco disponibile di tipi di supporti per ognuno dei 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;

Membri

PinCategory

Si tratta della categoria PINNAME corrispondente al pin Capture, Preview o Still image. Per Windows 10, le uniche categorie di pin supportate sono: PINNAME_VIDEO_CAPTURE, PINNAME_VIDEO_PREVIEW PINNAME_VIDEO_STILL. Tutte le altre categorie genereranno un errore di STATUS_INVALID_PARAMETER.

PinIndex

ProfileSensorType

Reserved

Inutilizzato. Deve essere 0.

MediaInfoCount

Dimensioni della matrice delle strutture KSCAMERA_PROFILE_MEDIAINFO specificate nel campo MediaInfos.

MediaInfos

Matrice di strutture di KSCAMERA_PROFILE_MEDIAINFO.

Fabbisogno

Requisito Valore
intestazione ksmedia.h