Windows Dev Center

IFsrmFileScreenBase::FileScreenFlags property

Retrieves or sets the file screen flags. The flags determine if FSRM fails any IO operations that violate the file screen.

This property is read/write.

Syntax


HRESULT put_FileScreenFlags(
  [in]  long fileScreenFlags
);

HRESULT get_FileScreenFlags(
  [out] long *fileScreenFlags
);

Property value

The file screen flags. For possible values, see the FsrmFileScreenFlags enumeration. The default is FsrmFileScreenFlags_Enforce.

Error codes

The method returns the following return values.

NameMeaning
S_OK

Success.

E_INVALIDARG

The fileScreenFlags parameter is NULL or contains flags that are not valid.

Examples

For an example, see Using Templates to Define File Screens.

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2008

Header

FsrmScreen.h (include FsrmScreen.h or FsrmTlb.h)

IDL

FsrmScreen.idl

DLL

SrmSvc.dll

IID

IID_IFsrmFileScreenBase is defined as f3637e80-5b22-4a2b-a637-bbb642b41cfc

See also

IFsrmFileScreenBase

 

 

Show:
© 2015 Microsoft