NERvDN Library
0.2.0.20160420-0019
NERvLibrary - Nerve Gear Developer Network
|
Nerve Gear execution interface. More...
#include <NERvGear/interface/IExecute.h>
Nerve Gear execution interface.
Define ID:
Public Member Functions | |
virtual long __stdcall | Invoke (UI::IWindow *window, const wchar_t *cmd, const wchar_t *param, const wchar_t *cwd, EXEC::TYPE type, long option)=0 |
Execute an action. More... | |
Public Member Functions inherited from NERvGear::IUnknown | |
virtual long __stdcall | QueryInterface (const UID &interfaceID, void **ppvObject)=0 |
virtual unsigned long __stdcall | AddRef ()=0 |
virtual unsigned long __stdcall | Release ()=0 |
|
pure virtual |
Execute an action.
[in] | window | Reserved, must be NULL. |
[in] | cmd | The action command. |
[in] | param | The action parameter, can be NULL. |
[in] | cwd | The working directory for the action, can be NULL. |
[in] | type | The action type, can be one of the enumeration values of NERvGear::EXEC::ACTION or a custom value. |
[in] | option | Reserved. |
S_OK | Success, indicates that caller should stop searching the filter chain. |
S_FALSE | Success, indicates that caller should stop searching the filter chain and this action could be ignored. |
E_FAIL | Fail, indicates that caller could continue searching the filter chain. |