Compartilhar via


2.2.1.10.2 PRINTER_INFO_1

The PRINTER_INFO_1 structure provides information about a printer.

 typedef struct _PRINTER_INFO_1 {
   DWORD Flags;
   [string] wchar_t* pDescription;
   [string] wchar_t* pName;
   [string] wchar_t* pComment;
 } PRINTER_INFO_1;

Flags: The value of this member MUST be the result of a bitwise OR of zero or more of the Printer Enumeration Flags (section 2.2.3.7).

If the PRINTER_INFO_1 structure is used in a PRINTER_CONTAINER (section 2.2.1.2.9) as input to RpcAddPrinter (section 3.1.4.2.3) or RpcAddPrinterEx (section 3.1.4.2.15), Flags MUST be a bitwise OR of zero or more of the PRINTER_ATTRIBUTE values defined in Status and Attribute Values (section 2.2.3.12).

pName: This member is synonymous with pPrinterName (section 3.1.4.1.5).

All members not defined in this section are specified in sections 2.2.1.3.6 and 2.2.1.3.