IFsrmClassificationManager2::ClassifyFiles method (fsrmpipeline.h)

This method is used to perform bulk enumeration, setting, and clearing of file properties.

Syntax

HRESULT ClassifyFiles(
  [in] SAFEARRAY                  *filePaths,
  [in] SAFEARRAY                  *propertyNames,
  [in] SAFEARRAY                  *propertyValues,
  [in] FsrmGetFilePropertyOptions options
);

Parameters

[in] filePaths

A list of the file paths. The SAFEARRAY contains variants of type VT_BSTR. For each item in the array, use the bstrVal member to access the property name.

[in] propertyNames

A list of the property names. The SAFEARRAY contains variants of type VT_BSTR. For each item in the array, use the bstrVal member to access the property name.

[in] propertyValues

A list of the property values.

[in] options

Options for the operation as enumerated by the FsrmGetFilePropertyOptions enumeration. The default value is FsrmGetFilePropertyOptions_None.

Return value

The method returns the following return values.

Requirements

Requirement Value
Minimum supported client Windows 8
Minimum supported server Windows Server 2012
Target Platform Windows
Header fsrmpipeline.h (include FsrmPipeline.h, FsrmTlb.h)
DLL SrmSvc.dll

See also

FsrmClassificationManager

FsrmGetFilePropertyOptions

IFsrmClassificationManager2

MSFT_FSRMClassification