The GetActionCount method retrieves the number of actions in the profile
HRESULT GetActionCount(
[out] LONG* p_pnCount
);
Parameters:
p_pnCount
[out] actions count
Return values:
S_OK
on success or COM error codeNV_NOT_INITIALIZED
- Initialize was not calledNV_UNKNOWN_PROFILE
- no profile loaded