GetPrinterDataEx function winspool
Retrieves configuration data for the specified printer or print server.
To learn more, see learn.microsoft.com/windows/win32/printdocs/getprinterdataex.
Implementation
@pragma('vm:prefer-inline')
int GetPrinterDataEx(
PRINTER_HANDLE hPrinter,
PCWSTR pKeyName,
PCWSTR pValueName,
Pointer<Uint32>? pType,
Pointer<Uint8>? pData,
int nSize,
Pointer<Uint32> pcbNeeded,
) => _GetPrinterDataEx(
hPrinter,
pKeyName,
pValueName,
pType ?? nullptr,
pData ?? nullptr,
nSize,
pcbNeeded,
);