The EnableAction2 method enables an existing action
HRESULT EnableAction2(
[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