KSCAMERA_PROFILE_PININFO estrutura (ksmedia.h)
Essa estrutura especifica a lista disponível de tipos de mídia para cada um dos pinos do driver da câmera.
Sintaxe
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;
Membros
PinCategory
Esta é a categoria PINNAME correspondente ao pin de imagem Capture, Preview ou Still. Para o Windows 10, as únicas categorias de pino com suporte são: PINNAME_VIDEO_CAPTURE, PINNAME_VIDEO_PREVIEW PINNAME_VIDEO_STILL. Todas as outras categorias resultarão em um erro STATUS_INVALID_PARAMETER.
PinIndex
ProfileSensorType
Reserved
Utilizadas. Deve ser 0.
MediaInfoCount
Tamanho da matriz de estruturas de KSCAMERA_PROFILE_MEDIAINFO especificadas no campo MediaInfos.
MediaInfos
Matriz de estruturas de KSCAMERA_PROFILE_MEDIAINFO.
Requisitos
Requisito | Valor |
---|---|
cabeçalho | ksmedia.h |