IRunnableObject::GetRunningClass method
Retrieves the CLSID of a running object.
Syntax
HRESULT GetRunningClass( [out] LPCLSID lpClsid );
Parameters
- lpClsid [out]
-
A pointer to the object's class identifier.
Return value
This method can return the standard return values E_INVALIDARG, E_UNEXPECTED, and S_OK.
Remarks
If an embedded document was created by an application that is not available on the user's computer, the document, by a call to CoTreatAsClass, may be able to display itself for editing by emulating a class that is supported on the user's machine. In this case, the CLSID returned by a call to IRunnableObject::GetRunningClass will be that of the class being emulated, rather than the document's native class.
Requirements
|
Minimum supported client |
Windows 2000 Professional [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows 2000 Server [desktop apps only] |
|
Header |
|
|
IDL |
|
|
IID |
IID_IRunnableObject is defined as 00000126-0000-0000-C000-000000000046 |
See also