Partager via


2.2.1.3.6 PRINTER_INFO Members

This section describes members commonly used in PRINTER_INFO structures.

pDescription: An optional pointer to a string that specifies a description of the printer.<17>

pComment: An optional pointer to a string that specifies additional information about the printer.<18>

Status: This member specifies the printer status. It is the result of a bitwise OR of zero or more printer status values (section 2.2.3.12).

Attributes: This member specifies printer attributes. It is the result of a bitwise OR of zero or more printer attribute values (section 2.2.3.12).

pDevMode: An optional pointer to a truncated DEVMODE structure (section 2.2.1.1.1) and MUST be ignored on receipt. Actual DEVMODE data is passed to a method via a custom-marshaled _DEVMODE structure (section 2.2.2.1) in a DEVMODE_CONTAINER (section 2.2.1.2.1).

pSecurityDescriptor: An optional pointer to a SECURITY_DESCRIPTOR structure ([MS-DTYP] section 2.4.6) and MUST be ignored on receipt. Actual SECURITY_DESCRIPTOR data is passed to a method via a self-relative SECURITY_DESCRIPTOR structure in a SECURITY_CONTAINER (section 2.2.1.2.13).

pPortName: This member is a pointer to a string that specifies the ports used to transmit data to a printer. For rules governing port names, see section 2.2.4.10.