StringFromGUID2 function Null safety ole32

int StringFromGUID2(
  1. Pointer<GUID> rguid,
  2. Pointer<Utf16> lpsz,
  3. int cchMax
)

Converts a globally unique identifier (GUID) into a string of printable characters.

int StringFromGUID2(
  REFGUID  rguid,
  LPOLESTR lpsz,
int      cchMax
);

Implementation

int StringFromGUID2(Pointer<GUID> rguid, Pointer<Utf16> lpsz, int cchMax) =>
    _StringFromGUID2(rguid, lpsz, cchMax);