3.2.4.2.11.7 DisableCommandLine (get) (Opnum 13)

The DisableCommandLine (get) method retrieves the Disable command line applications value that the File Server Resource Manager Protocol is configured to use and returns S_OK upon successful completion.

 [propget, id(FSRM_PROPERTY(FSRM_DISPID_SETTING | 0x04))] HRESULT DisableCommandLine(
   [out, retval] VARIANT_BOOL* disableCommandLine
 );

disableCommandLine: Pointer to a variable that upon completion contains the Disable command line applications value that the File Server Resource Manager Protocol is configured to use.

Return Values: The method MUST return zero on success, or a nonzero error code on failure.

Return value/code

Description

0x80070057

E_INVALIDARG

The disableCommandLine parameter is NULL.

Upon receiving this message, the server MUST validate parameters:

  • Verify that disableCommandLine is not NULL.

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

The server MUST set disableCommandLine to the Disable command line applications value that the File Server Resource Manager Protocol is configured to use.