The DisableAction2 method disables an existing action
HRESULT DisableAction2(
[in, string] BSTR p_wsActionId
);
Parameters:
p_wsActionId
[in] action id
Return values:
S_OK
on success or COM error codeNV_NOT_INITIALIZED
- Initialize was not calledNV_UNKNOWN_PROFILE
- no profile loadedNV_INVALID_OPTION
- id not a valid guidNV_INVALID_ACTION
- invalid action id