IBrowserService::SetHistoryObject method

Deprecated. Sets the browser's history object.

Syntax


HRESULT SetHistoryObject(
  [in] IOleObject *pole,
  [in] BOOL       fIsLocalAnchor
);

Parameters

pole [in]

Type: IOleObject*

A pointer to an IOleObject that represents the history object to set.

fIsLocalAnchor [in]

Type: BOOL

A value that specifies whether the new entry is a local or a remote file. Used in the case of the reuse of an inner object.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

This method will fail if the browser already has a history object.

Requirements

Product

Internet Explorer 4.0

Header

Shdeprecated.h

IDL

Shdeprecated.idl

 

 

Show: