IFileSystemImage::put_StrictFileSystemCompliance method (imapi2fs.h)

Determines the compliance level for creating and developing the file-system image.

Syntax

HRESULT put_StrictFileSystemCompliance(
  [in] VARIANT_BOOL newVal
);

Parameters

[in] newVal

Set to VARIANT_TRUE to create the file system images in strict compliance with applicable standards. You can specify VARIANT_TRUE only when the file system image is empty.

Set to VARIANT_FALSE to relax the compliance standards to be compatible with IMAPI version 1.0.

The default is VARIANT_FALSE.

Return value

S_OK is returned on success, but other success codes may be returned as a result of implementation.

Remarks

If this property is VARIANT_TRUE and a method requests an action that violates one of the file system constraints, an exception is thrown.

Requirements

Requirement Value
Minimum supported client Windows Vista, Windows XP with SP2 [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header imapi2fs.h

See also

IFileSystemImage

IFileSystemImage::get_StrictFileSystemCompliance