ITravelLog::GetTravelEntry method (shdeprecated.h)
Deprecated. Gets a travel entry in the travel log relative to the position of the current entry.
Syntax
HRESULT GetTravelEntry(
[in] IUnknown *punk,
[in] int iOffset,
[out, optional] ITravelEntry **ppte
);
Parameters
[in] punk
Type: IUnknown*
A pointer to an IUnknown representing the nearest browser or frame within which the travel generating the log is taking place.
[in] iOffset
Type: int
The number of travel entries forward (a positive value) or backward (a negative value) to move in the travel log.
[out, optional] ppte
Type: ITravelEntry**
The address of a pointer to the ITravelEntry interface representing the travel entry at the offset specified in iOffset. This value is only valid if the method returns successfully.
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Remarks
ITravelLog::GetTravelEntry is often used to discover whether the Back and Forward buttons should be enabled in the browser window.
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | shdeprecated.h |