Επεξεργασία

Κοινή χρήση μέσω


IBrowserService::SetHistoryObject method (shdeprecated.h)

Deprecated. Sets the browser's history object.

Syntax

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

Parameters

[in] pole

Type: IOleObject*

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

[in] fIsLocalAnchor

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

Requirement Value
Target Platform Windows
Header shdeprecated.h