DeletePrinterConnection function Null safety winspool

int DeletePrinterConnection(
  1. Pointer<Utf16> pName
)

The DeletePrinterConnection function deletes a connection to a printer that was established by a call to AddPrinterConnection or ConnectToPrinterDlg.

BOOL DeletePrinterConnectionW(
  _In_ LPTSTR pName
);

Implementation

int DeletePrinterConnection(Pointer<Utf16> pName) =>
    _DeletePrinterConnection(pName);