3.2.4.2.9.9 MonitorCommand (get) (Opnum 20)
The MonitorCommand (get) method returns the monitor command property of the action. The monitor command property determines if the File Server Resource Manager Protocol will monitor the executable it starts if the action runs.
-
[propget, id(FSRM_PROPERTY(FSRM_DISPID_ACTION_COMMAND | 0x05))] HRESULT MonitorCommand( [out, retval] VARIANT_BOOL* monitorCommand );
monitorCommand: Pointer to a variable that upon completion contains the monitor command value of the action.
Return Values: The method MUST return zero on success, or a nonzero error code on failure.
-
Return value/code
Description
0x80070057
E_INVALIDARG
The monitorCommand parameter is NULL.
Upon receiving this message, the server MUST validate parameters:
Verify that monitorCommand is not NULL.
If any validation fails, the server MUST terminate processing and return a nonzero error code.
The server MUST set monitorCommand to the monitor command property of the action.