template< class T >
class IRunnableObjectImpl
Parameters
T Your class, derived from IRunnableObjectImpl.
The IRunnableObject interface enables a container to determine if a control is running, force it to run, or lock it into the running state. Class IRunnableObjectImpl provides a default implementation of this interface and implements IUnknown by sending information to the dump device in debug builds.
Related Articles ATL Tutorial, Creating an ATL Project
#include <atlctl.h>
See Also CComControl
IRunnableObject Methods | |
GetRunningClass | Returns the CLSID of the running control. The ATL implementation sets the CLSID to GUID_NULL and returns E_UNEXPECTED. |
IsRunning | Determines if the control is running. The ATL implementation returns TRUE. |
LockRunning | Locks the control into the running state. The ATL implementation returns S_OK. |
Run | Forces the control to run. The ATL implementation returns S_OK. |
SetContainedObject | Indicates that the control is embedded. The ATL implementation returns S_OK. |
HRESULT GetRunningClass( LPCLSID lpClsid );
See IRunnableObject::GetRunningClass in the Win32 SDK.
Remarks
Sets *lpClsid to GUID_NULL and returns E_UNEXPECTED.
IRunnableObjectImpl Overview | Class Members
virtual BOOL IsRunning( );
See IRunnableObject::IsRunning in the Win32 SDK.
Remarks
Returns TRUE.
IRunnableObjectImpl Overview | Class Members
HRESULT LockRunning( BOOL fLock, BOOL fLastUnlockCloses );
See IRunnableObject::LockRunning in the Win32 SDK.
Remarks
Returns S_OK.
IRunnableObjectImpl Overview | Class Members
HRESULT Run( LPBINDCTX );
See IRunnableObject::Run in the Win32 SDK.
Remarks
Returns S_OK.
IRunnableObjectImpl Overview | Class Members
HRESULT SetContainedObject( BOOL fContained );
See IRunnableObject::SetContainedObject in the Win32 SDK.
Remarks
Returns S_OK.