The DisableAction method disables an existing action
HRESULT DisableAction(
[in, string] LPCWSTR p_wsActionId
);
Parameters:
p_wsActionId
[in] action id
Return values:
S_OK on success or COM error code
NVNOTINITIALIZED - Initialize was not called
NVUNKNOWNPROFILE - no profile loaded
NVINVALIDOPTION - id not a valid guid
NVINVALIDACTION` - invalid action id