Discuss this help topic in CBFS Forum

CallbackFileSystem.UseFileCreationFlags property

Filter:

Pascal    C++ (Lib)    C++ (VCL)    C++ (.NET)    C#    VB.NET    Java 

CallbackFileSystem     See also    

Overview

Specifies whether flags as FILE_FLAG_RANDOM_ACCESS, FILE_FLAG_SEQUENTIAL_SCAN, etc, specified by the originator of file create/open request, are propagated to OnCreateFile/OnOpenFile callbacks (to their FileAttributes parameter).

Declaration

[Pascal]
    property UseFileCreationFlags : boolean;

[C++ (Lib)]
    BOOL GetUseFileCreationFlags();
    void SetUseFileCreationFlags(BOOL Value);

[C++ (VCL)]
    bool UseFileCreationFlags;

[C++ (.NET)]
    bool UseFileCreationFlags;

[C#]
    bool UseFileCreationFlags;

[VB.NET]
    Public Property UseFileCreationFlags As Boolean

[Java]
    boolean getUseFileCreationFlags();
    void setUseFileCreationFlags(boolean Value);

Description

When this property is set to true, the value of dwFlagsAndAttributes parameter of CreateFile() WinAPI function is propagated to OnCreateFile/OnOpenFile callbacks (to their FileAttributes parameter).

The property doesn't affect Callback File System behaviour in any way and is implemented to ensure that existing code is not broken with propagation.

See also

OnCreateFile     OnOpenFile    

Discuss this help topic in CBFS Forum