3.2.4.2.26.2 BlockedFileGroups (put) (Opnum 13)

The BlockedFileGroups (put) method sets the file groups that this object blocks.

 [propput, id(FSRM_PROPERTY(FSRM_DISPID_FILESCREEN_BASE | 0x01))] HRESULT BlockedFileGroups(
   [in] IFsrmMutableCollection* blockList
 );

blockList: Contains a collection of file group names for this object to block.

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

Return value/code

Description

0x80070057

E_INVALIDARG

This code is returned for the following reasons:

  • The blockList parameter is NULL.

  • The variants in the array are not a valid variant type. If the variant type is not VT_BSTR, the variant is an invalid type.

Upon receiving this message, the server MUST validate parameters:

  • Verify that blockList contains the names of valid file groups.

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

The server MUST block the file groups in blockList.