Marks a process as visible or invisible.
Visible processes are protected by Self Defense, invisible processes are not monitored by Self Defense and are allowed for access from any other process.
Syntax
HRESULT kaveSetProcessInvisible (
unsigned long PID
BOOL bInvisible
);
Parameters
The kaveSetProcessInvisible function has the following parameters.
kaveSetProcessInvisible function parameters
Name |
Type |
Description |
|---|---|---|
|
In |
Process identifier for the process your want to exclude from protection by the Self Defense technology. |
|
In |
Visibility bit that defines if the process must be set as visible or invisible. Depending on the bit in the boolean
|
Return value
The table below contains possible values that the kaveSetProcessInvisible function can return.
kaveSetProcessInvisible function return codes
Return code |
Description |
|---|---|
|
The function succeeds. |
|
The process with the specified PID is already marked as visible ( |
|
An attempt has been made to call the |
|
An attempt has been made to call the |
|
The process with the specified PID is not found. |
|
An error occurred when setting visibility bit for the specified process. |