DeletePrinterKey function Null safety winspool

int DeletePrinterKey(
  1. int hPrinter,
  2. Pointer<Utf16> pKeyName
)

The DeletePrinterKey function deletes a specified key and all its subkeys for a specified printer.

DWORD DeletePrinterKeyW(
  _In_ HANDLE  hPrinter,
  _In_ LPCTSTR pKeyName
);

Implementation

int DeletePrinterKey(int hPrinter, Pointer<Utf16> pKeyName) =>
    _DeletePrinterKey(hPrinter, pKeyName);