AddPrinter function winspool
The AddPrinter function adds a printer to the list of supported printers for a specified server.
HANDLE AddPrinterW(
_In_ LPWSTR pName,
_In_ DWORD Level,
_In_ LPBYTE pPrinter
);
Implementation
int AddPrinter(Pointer<Utf16> pName, int Level, Pointer<Uint8> pPrinter) =>
_AddPrinter(pName, Level, pPrinter);