CallbackFilter.OwnProcessFiltered property


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



Specifies whether file system requests coming from the "master" application itself are filtered.


    property OwnProcessFiltered : boolean;

[C++ (Lib)]
    void SetOwnProcessFiltered(BOOL Value);
    bool GetOwnProcessFiltered(void);

[C++ (VCL)]
    __property bool OwnProcessFiltered;

[C++ (.NET)]
    property bool OwnProcessFiltered

    bool OwnProcessFiltered;

    Public Property OwnProcessFiltered As Boolean


Use this property to tell the driver to apply or not apply filters to request that are coming from the application, which has set the filter.

Default value is false.

When OwnProcessFiltered is False and your application accesses some files, the driver passes those requests to the filesystem without checking any filters. When OwnProcessFiltered is True, requests from your application are filtered as well as any other requests, subject to filtering.

In production applications you should set this property to false, because otherwise system deadlocks are possible. However for testing your callbacks during development you might need to set the property to true in order to create single-process automated or manual tests.

Property value can be changed only when when the filter is active, i.e. Active is true.