PrinterEnumFlags (Enums)
Last changed: -65.89.124.19

.
Summary
Used by the EnumPrinters function in Winspool.

C# Definition:

[FlagsAttribute]
enum PrinterEnumFlags {
    PRINTER_ENUM_DEFAULT     = 0x00000001,
    PRINTER_ENUM_LOCAL       = 0x00000002,
    PRINTER_ENUM_CONNECTIONS = 0x00000004,
    PRINTER_ENUM_FAVORITE    = 0x00000004,
    PRINTER_ENUM_NAME    = 0x00000008,
    PRINTER_ENUM_REMOTE      = 0x00000010,
    PRINTER_ENUM_SHARED      = 0x00000020,
    PRINTER_ENUM_NETWORK     = 0x00000040,
    PRINTER_ENUM_EXPAND      = 0x00004000,
    PRINTER_ENUM_CONTAINER   = 0x00008000,
    PRINTER_ENUM_ICONMASK    = 0x00ff0000,
    PRINTER_ENUM_ICON1       = 0x00010000,
    PRINTER_ENUM_ICON2       = 0x00020000,
    PRINTER_ENUM_ICON3       = 0x00040000,
    PRINTER_ENUM_ICON4       = 0x00080000,
    PRINTER_ENUM_ICON5       = 0x00100000,
    PRINTER_ENUM_ICON6       = 0x00200000,
    PRINTER_ENUM_ICON7       = 0x00400000,
    PRINTER_ENUM_ICON8       = 0x00800000,
    PRINTER_ENUM_HIDE    = 0x01000000
}

VB Definition:

    Public Enum PrinterEnumFlags
    PRINTER_ENUM_DEFAULT = &H1
    PRINTER_ENUM_LOCAL = &H2
    PRINTER_ENUM_CONNECTIONS = &H4
    PRINTER_ENUM_FAVORITE = &H4
    PRINTER_ENUM_NAME = &H8
    PRINTER_ENUM_REMOTE = &H10
    PRINTER_ENUM_SHARED = &H20
    PRINTER_ENUM_NETWORK = &H40
    PRINTER_ENUM_EXPAND = &H4000
    PRINTER_ENUM_CONTAINER = &H8000
    PRINTER_ENUM_ICONMASK = &HFF0000
    PRINTER_ENUM_ICON1 = &H10000
    PRINTER_ENUM_ICON2 = &H20000
    PRINTER_ENUM_ICON3 = &H40000
    PRINTER_ENUM_ICON4 = &H80000
    PRINTER_ENUM_ICON5 = &H100000
    PRINTER_ENUM_ICON6 = &H200000
    PRINTER_ENUM_ICON7 = &H400000
    PRINTER_ENUM_ICON8 = &H800000
    PRINTER_ENUM_HIDE = &H1000000
    End Enum

Notes:

None.

Documentation