CallbackProcess.AddFilteredProcessByName method


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

CallbackProcess     See also    


Adds the process with the given EXE name to the list of processes being filtered.


    procedure AddFilteredProcessByName( ProcessName : TCBString; IncludeChildren : boolean );
    type TCBString = {$ifdef UNICODE}UnicodeString{$else}WideString{$endif};

[C++ (Lib)]
    void AddFilteredProcessByName( LPCWSTR ProcessName, bool IncludeChildren );

[C++ (VCL)]
    void __fastcall AddFilteredProcessByName( const TCBString ProcessName, bool IncludeChildren );
    #ifdef UNICODE
    typedef UnicodeString TCBString;
    typedef WideString TCBString;

[C++ (.NET)]
    void AddFilteredProcessByName( String^ ProcessName, bool IncludeChildren );

    void AddFilteredProcessByName( string ProcessName, bool IncludeChildren );

    Sub AddFilteredProcessByName( ByVal ProcessName As String, ByVal IncludeChildren As Boolean )


  • ProcessName - The name of the process' executable file to add
  • IncludeChildren - specifies whether children processes are also filtered


Use this method to add the process to the list of processes, whose requests to the system registry are subject to filtering.

Use AddNonFilteredProcessById() or AddNonFilteredProcessByName() method to exclude the process from filtering in situations, when such process is included into filtering with one of the above calls.

Calls to AddFilteredProcessBy* can be made only when the filter is active (filtering has been started).

See also

AddFilteredProcessById     AddNonFilteredProcessByName     RemoveFilteredProcessByName     StartFilter     Active     Driver installation