Checks the status of the Self Defense feature.
Syntax
HRESULT kaveIsEnabledSelfDefense (
BOOL *pbEnable
);
Parameters
The kaveIsEnabledSelfDefense function has the following parameters.
kaveIsEnabledSelfDefense function parameters
Name |
Type |
Description |
|---|---|---|
|
Out |
Upon the function returns,
|
Return value
The table below contains possible values that the kaveIsEnabledSelfDefense function can return.
kaveIsEnabledSelfDefense 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 checking the status of Self Defense. |