SetPrinterData function winspool
The SetPrinterData function sets the configuration data for a printer or print server.
DWORD SetPrinterDataW(
_In_ HANDLE hPrinter,
_In_ LPTSTR pValueName,
_In_ DWORD Type,
_In_ LPBYTE pData,
_In_ DWORD cbData
);
Implementation
int SetPrinterData(int hPrinter, Pointer<Utf16> pValueName, int Type,
Pointer<Uint8> pData, int cbData) =>
_SetPrinterData(hPrinter, pValueName, Type, pData, cbData);