3.2.4.2.43.13 NeedsFileContent (put) (Opnum 24)
The NeedsFileContent (put) method sets the Needs file content property of the pipeline module definition and returns S_OK upon successful completion. The Needs file content property determines whether the module needs to read the contents of the files it performs classification on.
-
[propput, id(FSRM_PROPERTY(FSRM_DISPID_PIPELINE_MODULE_DEFINITION | 0x07))] HRESULT NeedsFileContent( [in] VARIANT_BOOL needsFileContent );
needsFileContent: Contains a Boolean value for the Needs file content property of the pipeline module definition.
Return Values: The method MUST return zero on success, or a nonzero error code on failure.
The server MUST use needsFileContent to determine whether the module will need to read the contents of the files it performs classification on or return a nonzero error code.
If needsFileContent equals VARIANT_TRUE, the server MUST provide access to the content of the file.
If needsFileContent equals VARIANT_FALSE, the server MUST NOT provide access to the content of the file.