DeletePrinterConnection function winspool
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);