IFsrmFileScreenManager::CreateFileScreenException method (fsrmscreen.h)

Creates a file screen exception object.

Syntax

HRESULT CreateFileScreenException(
  [in]  BSTR                     path,
  [out] IFsrmFileScreenException **fileScreenException
);

Parameters

[in] path

The local directory path to which the file screen exception applies. The path is limited to 260 characters.

[out] fileScreenException

An IFsrmFileScreenException interface of the newly created file screen exception. To add the exception to FSRM, call IFsrmFileScreenException::Commit method.

Return value

The method returns the following return values.

Remarks

You can use the exception to allow files to be saved in a directory when a file screen would otherwise prevent it. For example, if P:\directory contains a file screen that blocks *.mp3, you could create an exception that allows MP3 files on P:\directory\subdirectory.

Examples

For an example, see Defining a File Screen Exception.

Requirements

Requirement Value
Minimum supported client None supported
Minimum supported server Windows Server 2008
Target Platform Windows
Header fsrmscreen.h
DLL SrmSvc.dll

See also

FsrmFileScreenManager

IFsrmFileScreenManager