DeletePrinterData function Null safety winspool

int DeletePrinterData(
  1. int hPrinter,
  2. Pointer<Utf16> pValueName
)

The DeletePrinterData function deletes specified configuration data for a printer. A printer's configuration data consists of a set of named and typed values. The DeletePrinterData function deletes one of these values, specified by its value name.

DWORD DeletePrinterDataW(
  _In_ HANDLE hPrinter,
  _In_ LPTSTR pValueName
);

Implementation

int DeletePrinterData(int hPrinter, Pointer<Utf16> pValueName) =>
    _DeletePrinterData(hPrinter, pValueName);