# IHlinkBrowseContext::EnumNavigationStack

Retrieves an enumerator which can be used to enumerate the current contents of the navigation stack.

HRESULT EnumNavigationStack(

DWORD dwReserved | // Reserved for future use
DWORD grfHLFNAMEF | // Specifies what kind of friendly names to enumerate for the Hlink objects in the navigation stack.
IEnumHLITEM ** ppienumhlitem | // Location to receive the enumeration interface pointer
); |

Parameters

dwReserved
  [in] Reserved for future use; must be set to zero by the caller. To ensure compatibility with future use, the callee must not check for zero.
grfHLFNAMEF
  [in] Specifies what kind of friendly names to enumerate for the Hlink objects in the navigation stack.
ppienumhlitem
  [out] Location to return the IEnumHLITEM enumeration interface over the set of hyperlinks in this navigation stack.

Return Values

S_OK
  The enumerator has been successfully retrieved.

See Also

HLID, HLITEM, IEnumHLITEM