OleRun
Puts an OLE
compound document object into the running state.
WINOLEAPI OleRun(
LPUNKNOWN pUnknown |
//Pointer to interface on the object |
); |
|
Parameter
pUnknown
[in] Pointer
to the IUnknown
Return Values
This function
supports the standard return values E_INVALIDARG and E_UNEXPECTED, as well as
the following:
S_OK
The object
was successfully placed in the running state.
OLE_E_CLASSDIFF
The source of
an OLE link has been converted to a different class.
Remarks
The OleRun
function puts an object in the running state. The implementation of OleRun
was changed in OLE 2.01 to coincide with the publication of the IRunnableObject
Note The
implementation of OleRun in earlier versions of OLE differs from that
described here.
For more
information on using this function, see IRunnableObject::Run
See Also