The DeleteAction method deletes an existing action
HRESULT DeleteAction(
[in, string] LPCWSTR 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