SetPrinterData function winspool

int SetPrinterData(
  1. int hPrinter,
  2. Pointer<Utf16> pValueName,
  3. int Type,
  4. Pointer<Uint8> pData,
  5. int cbData,
)

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);