3.2.4.2.9.1 ExecutablePath (get) (Opnum 12)

The ExecutablePath (get) method returns the executable path property of the action. The executable path is the directory path and file name of the application or script to run if this action is run.

 [propget, id(FSRM_PROPERTY(FSRM_DISPID_ACTION_COMMAND | 0x01))] HRESULT ExecutablePath(
   [out, retval] BSTR* executablePath
 );

executablePath: Pointer to a variable that upon completion contains the path of the executable 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 executablePath parameter is NULL.

Upon receiving this message, the server MUST validate parameters:

  • Verify that executablePath is not NULL.

If any validation fails, the server MUST terminate processing and return a nonzero error code.

The server MUST set executablePath to the executable path of the action.