CallbackRegistry

Control registry operations in Windows and .NET applications

CallbackRegistry.AddFilteredProcessById method

Filter:

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

CallbackRegistry     See also    

Overview

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

Declaration

[Pascal]
    procedure AddFilteredProcessById( ProcessId : DWORD; IncludeChildren : boolean );

[C++ (Lib)]
    void AddFilteredProcessById( unsigned long ProcessId, bool IncludeChildren );

[C++ (VCL)]
    void __fastcall AddFilteredProcessById( unsigned long ProcessId, bool IncludeChildren );

[C++ (.NET)]
    void AddFilteredProcessById( UInt32 ProcessId, bool IncludeChildren );

[C#]
    void AddFilteredProcessById( UInt32 ProcessId, bool IncludeChildren );

[VB.NET]
    Sub AddFilteredProcessById( ByVal ProcessId As UInt32, ByVal IncludeChildren As Boolean )

Parameters

  • ProcessId - ID of the process to add
  • IncludeChildren - specifies whether children processes are also filtered

Description

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

Call AddFilteredProcessById(0xFFFFFFFF) to set filtering for all processes. Call AddFilteredProcessById(ID, true) to set filtering on the process and all its children. 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

AddFilteredProcessByName     AddNonFilteredProcessById     RemoveFilteredProcessById     StartFilter     Active     Driver installation    

Back to top