PRINTER_INFO_5 (Structures)
Last changed: anonymous

.
Summary
Used by the EnumPrinters call in Winspool.

C# Definition:

    [StructLayout(LayoutKind.Sequential, CharSet = CharSet.Auto)]
    public struct PRINTER_INFO_5
    {
        [MarshalAs(UnmanagedType.LPTStr)]
        public string pPrinterName;
        [MarshalAs(UnmanagedType.LPTStr)]
        public string pPortName;
        public uint Attributes;
        public uint DeviceNotSelectedTimeout;
        public uint TransmissionRetryTimeout;
    }

VB Definition:

Structure PRINTER_INFO_5
   Public TODO
End Structure

User-Defined Field Types:

None.

Notes:

Instead of the definition

public uint Attributes;

your can also use

public PRINTER_ATTRIBUTES Attributes;

See the PRINTER_ATTRIBUTES enum for more details.

Documentation