Puts an OLE compound document object into the running state.
HRESULT OleRun( IN LPUNKNOWN pUnknown );
This function returns S_OK on success. Other possible values include the following.
||The source of an OLE link has been converted to a different class.|
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 interface. You can use OleRun and IRunnableObject::Run interchangeably. OleRun queries the object for a pointer to IRunnableObject. If successful, the function returns the results of calling the IRunnableObject::Run method.
For more information on using this function, see IRunnableObject::Run.
|Minimum supported client||Windows 2000 Professional [desktop apps only]|
|Minimum supported server||Windows 2000 Server [desktop apps only]|