3.2.4.2.36.1 VerifyNamespaces (Opnum 7)

The VerifyNamespaces method checks that all namespaces passed in exist and are valid paths.

 [id(FSRM_DISPID_REPORT_SCHEDULER | 0x01)] HRESULT VerifyNamespaces(
   [in] VARIANT* namespacesSafeArray
 );

namespacesSafeArray: Pointer to a variable that contains a VARIANT structure, which contains a SAFEARRAY of VARIANT structures. The VARIANT structures contained in the SAFEARRAY MUST be BSTR string values, each representing a local directory path that needs to be verified as supported by the File Server Resource Manager Protocol storage reports.

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

Return value/code

Description

0x80045304

FSRM_E_PATH_NOT_FOUND

The specified path could not be found.

0x80045306

FSRM_E_INVALID_PATH

The supplied path is not valid.

0x80045315

FSRM_E_VOLUME_UNSUPPORTED

The volume is not an NTFS volume.

0x8004531F

FSRM_E_FILE_SYSTEM_CORRUPT

The file system is corrupt.

0x80070057

E_INVALIDARG

This code is returned for the following reasons:

  • The namespacesSafeArray parameter is NULL.

  • The namespacesSafeArray parameter does not contain a variant array of BSTRs.

Upon receiving this message, the server MUST validate parameters:

  • Verify that namespacesSafeArray is not NULL.

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

The server MUST verify that each local directory path contained in namespacesSafeArray is valid and supported for the File Server Resource Manager Protocol storage reports and return zero or return a nonzero error code on failure.