Converts a string generated by the StringFromCLSID function back into the original CLSID.
SyntaxHRESULT CLSIDFromString(
[in] LPCOLESTR lpsz,
[out] LPCLSID pclsid
);
Parameters
[in] lpsz
The zero terminated string representation of the CLSID or the ProgID or NULL.
[out] pclsid
A pointer to the CLSID.
Return valueThis function can return the standard return value E_INVALIDARG, as well as the following values.
Return code DescriptionThe CLSID format is {xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}.
Passing the ProgID results in saving associated CLSID in pclsid. Passing NULL results in GUID_NULL.
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 Additional resources In this articleWas 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