GetClipboardFormatName function Null safety user32

int GetClipboardFormatName(
  1. int format,
  2. Pointer<Utf16> lpszFormatName,
  3. int cchMaxCount

Retrieves from the clipboard the name of the specified registered format. The function copies the name to the specified buffer.

int GetClipboardFormatNameW(
  UINT format,
  LPWSTR lpszFormatName,
  int cchMaxCount


int GetClipboardFormatName(
        int format, Pointer<Utf16> lpszFormatName, int cchMaxCount) =>
    _GetClipboardFormatName(format, lpszFormatName, cchMaxCount);