Share via


CERT_LOGOTYPE_IMAGE_INFO structure (wincrypt.h)

La structure CERT_LOGOTYPE_IMAGE_INFO contient des informations plus détaillées sur un logotype d’image.

Syntaxe

typedef struct _CERT_LOGOTYPE_IMAGE_INFO {
  DWORD  dwLogotypeImageInfoChoice;
  DWORD  dwFileSize;
  DWORD  dwXSize;
  DWORD  dwYSize;
  DWORD  dwLogotypeImageResolutionChoice;
  union {
    DWORD dwNumBits;
    DWORD dwTableSize;
  } DUMMYUNIONNAME;
  LPWSTR pwszLanguage;
} CERT_LOGOTYPE_IMAGE_INFO, *PCERT_LOGOTYPE_IMAGE_INFO;

Membres

dwLogotypeImageInfoChoice

Spécifie le type d'image. Il peut s’agir de l’une des valeurs suivantes.

Valeur Signification
CERT_LOGOTYPE_GRAY_SCALE_IMAGE_INFO_CHOICE
L’image est une image en nuances de gris.
CERT_LOGOTYPE_COLOR_IMAGE_INFO_CHOICE
L’image est une image couleur.

dwFileSize

Taille, en octets, de l’image.

dwXSize

Taille horizontale, en pixels, de l’image.

dwYSize

Taille verticale, en pixels, de l’image.

dwLogotypeImageResolutionChoice

Spécifie le format de la résolution d’image. Il peut s’agir de l’une des valeurs suivantes.

Valeur Signification
CERT_LOGOTYPE_NO_IMAGE_RESOLUTION_CHOICE
Aucune information de résolution d’image n’est fournie.
CERT_LOGOTYPE_BITS_IMAGE_RESOLUTION_CHOICE
La résolution d’image est fournie en bits par pixel. Le membre dwNumBits contient la résolution d’image.
CERT_LOGOTYPE_TABLE_SIZE_IMAGE_RESOLUTION_CHOICE
La résolution d’image est fournie en nombre de tons gris. Le membre dwTableSize contient la résolution d’image.

DUMMYUNIONNAME

DUMMYUNIONNAME.dwNumBits

Résolution de l’image, en bits par pixel. Le membre est utilisé uniquement si dwLogotypeImageResolutionChoice contient CERT_LOGOTYPE_NO_IMAGE_RESOLUTION_CHOICE.

DUMMYUNIONNAME.dwTableSize

Résolution de l’image, en nombre de tons gris. Le membre est utilisé uniquement si dwLogotypeImageResolutionChoice contient CERT_LOGOTYPE_TABLE_SIZE_IMAGE_RESOLUTION_CHOICE.

pwszLanguage

Adresse d’une chaîne IA5 terminée par un caractère Null qui contient l’identificateur de langue RFC 3066 qui spécifie la langue de l’image. Ce membre est facultatif et peut être NULL.

Configuration requise

Condition requise Valeur
Client minimal pris en charge Windows Vista [applications de bureau uniquement]
Serveur minimal pris en charge Windows Server 2008 [applications de bureau uniquement]
En-tête wincrypt.h

Voir aussi

CERT_LOGOTYPE_IMAGE