SetPort function Null safety winspool

int SetPort(
  1. Pointer<Utf16> pName,
  2. Pointer<Utf16> pPortName,
  3. int dwLevel,
  4. Pointer<Uint8> pPortInfo

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


int SetPort(Pointer<Utf16> pName, Pointer<Utf16> pPortName, int dwLevel,
        Pointer<Uint8> pPortInfo) =>
    _SetPort(pName, pPortName, dwLevel, pPortInfo);