PRINTER_INFO_4 class base struct

Specifies general printer information.

The structure can be used to retrieve minimal printer information on a call to EnumPrinters.

To learn more, see learn.microsoft.com/windows/win32/printdocs/printer-info-4.

Inheritance
Implemented types
Available extensions

Constructors

PRINTER_INFO_4()

Properties

address Pointer<T>

Available on T, provided by the StructAddress extension

The memory address of the underlying data.
no setter
Attributes int
Specifies information about the returned data.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
pPrinterName PWSTR
Pointer to a null-terminated string that specifies the name of the printer (local or remote).
getter/setter pair
pServerName PWSTR
Pointer to a null-terminated string that is the name of the server.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toNative({Allocator allocator = adaptiveCalloc}) Pointer<PRINTER_INFO_4>
Allocates native memory and copies the contents of this struct into it.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited