Checks visibility bit of a process.
Visible processes have their visibility bit turned on and are protected by Self Defense, invisible processes are not monitored by Self Defense and are allowed for access from any other process; their visibility bit is set off.
Syntax
HRESULT kaveIsProcessInvisible (
unsigned long PID
BOOL *pbInvisible
);
Parameters
The kaveIsProcessInvisible function has the following parameters.
kaveIsProcessInvisible function parameters
Name |
Type |
Description |
|---|---|---|
|
In |
Process identifier for the process for which you want your want to check visibility bit. |
|
Out |
Visibility bit that defines if the process must be set as visible or invisible. One of the following bits can be returned:
|
Return value
The table below contains possible values that the kaveIsProcessInvisible function can return.
kaveIsProcessInvisible function return codes
Return code |
Description |
|---|---|
|
The function succeeds. |
|
|
|
An attempt has been made to call the |
|
An attempt has been made to call the |
|
An error occurred when setting visibility bit for the specified process. |