CLSIDFromString function (combaseapi.h)
Converts a string generated by the StringFromCLSID function back into the original CLSID.
HRESULT CLSIDFromString( LPCOLESTR lpsz, LPCLSID pclsid );
The string representation of the CLSID.
A pointer to the CLSID.
This function can return the standard return value E_INVALIDARG, as well as the following values.
||The CLSID was obtained successfully.|
||The class string was improperly formatted.|
||The CLSID corresponding to the class string was not found in the registry.|
||The registry could not be opened for reading.|
|Minimum supported client||Windows 2000 Professional [desktop apps | UWP apps]|
|Minimum supported server||Windows 2000 Server [desktop apps | UWP apps]|
|Header||combaseapi.h (include Objbase.h)|