Structure des informations de PORT _ _ 1

La structure d' _ informations sur le port _ 1 identifie un port d’imprimante pris en charge.

Syntaxe

typedef struct _PORT_INFO_1 {
  LPTSTR pName;
} PORT_INFO_1, *PPORT_INFO_1;

Membres

pName

Pointeur vers une chaîne se terminant par un caractère null qui identifie un port imprimante pris en charge (par exemple, « LPT1 : »).

Configuration requise

Condition requise Valeur
Client minimal pris en charge
Windows 2000 Professionnel - [Applications de bureau uniquement]
Serveur minimal pris en charge
Windows 2000 Server - [Applications de bureau uniquement]
En-tête
Winspool. h (inclure Windows. h)
Noms Unicode et ANSI
_ _ Informations sur _ le port 1s (Unicode) et _ _ informations sur le port _ 1a (ANSI)

Voir aussi

Impression

Structures de l’API du spouleur d’impression

EnumPorts