IOleObject::GetUserClassID
Returns an
object s class identifier, the CLSID corresponding to the string identifying
the object to an end user.
HRESULT GetUserClassID(
CLSID *pClsid |
//Pointer to the class identifier |
); |
|
Parameter
pClsid
[out] Pointer
to the class identifier (CLSID) to be returned. An object s CLSID is the binary
equivalent of the user-type name returned by IOleObject::GetUserType.
Return Values
This method
supports the standard return value E_FAIL, as well as the following:
S_OK
CLSID
returned successfully.
Remarks
GetUserClassID returns the CLSID associated with the object in the
registration database. Normally, this value is identical to the CLSID stored
with the object, which is returned by IPersist::GetClassID
See Also