The GetBookmarkDefinitionCount method retrieves the number of bookmark definitions in a bookmark heading.
HRESULT GetBookmarkDefinitionCount(
[out] SHORT* p_pnCount
);
Parameters:
p_pnCount
[out] count of bookmark headings
Return values:
S_OK
on success or COM error codeNV_NOT_INITIALIZED
- Initialize was not calledNV_UNKNOWN_PROFILE
- no profile loaded