SetPort function winspool
The SetPort function sets the status associated with a printer port.
BOOL SetPortW(
_In_ LPTSTR pName,
_In_ LPTSTR pPortName,
_In_ DWORD dwLevel,
_In_ LPBYTE pPortInfo
);
Implementation
int SetPort(
Pointer<Utf16> pName,
Pointer<Utf16> pPortName,
int dwLevel,
Pointer<Uint8> pPortInfo,
) => _SetPort(pName, pPortName, dwLevel, pPortInfo);