A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://docs.microsoft.com/en-us/windows/win32/api/combaseapi/nf-combaseapi-stringfromguid2 below:

StringFromGUID2 function (combaseapi.h) - Win32 apps

StringFromGUID2 function (combaseapi.h)

In this article

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

Syntax
int StringFromGUID2(
  [in]  REFGUID  rguid,
  [out] LPOLESTR lpsz,
  [in]  int      cchMax
);
Parameters

[in] rguid

The GUID to be converted.

[out] lpsz

A pointer to a caller-allocated string variable to receive the resulting string. The string that represents rguid includes enclosing braces.

[in] cchMax

The number of characters available in the lpsz buffer.

Return value

If the function succeeds, the return value is the number of characters in the returned string, including the null terminator. If the buffer is too small to contain the string, the return value is 0.

Requirements Requirement Value Minimum supported client Windows 2000 Professional [desktop apps | UWP apps] Minimum supported server Windows 2000 Server [desktop apps | UWP apps] Target Platform Windows Header combaseapi.h (include Objbase.h) Library Ole32.lib DLL Ole32.dll See also

StringFromCLSID

Additional resources

In this article

Was this page helpful?


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4