CLSIDFromString
Converts a
string generated by the StringFromCLSID
HRESULT CLSIDFromString(
LPOLESTR lpsz, |
//Pointer to
the string representation of the CLSID |
LPCLSID pclsid |
//Pointer to
the CLSID |
); |
|
Parameters
lpsz
[in] Pointer
to the string representation of the CLSID.
pclsid
[out] Pointer
to the CLSID on return.
Return Values
This function
supports the standard return value E_INVALIDARG, as well as the following:
NOERROR
The CLSID was
obtained successfully.
CO_E_CLASSTRING
The class
string was improperly formatted.
REGDB_E_WRITEREGDB
The CLSID
corresponding to the class string was not found in the registry.
Remarks
Because of
the restrictions placed on OLE 1 CLSID values, CLSIDFromProgID
See Also