IBrowserService::GetHistoryObject method

Deprecated. Retrieves an IOleObject that represents the browser's history object.

Syntax


HRESULT GetHistoryObject(
  [out] IOleObject **ppole,
  [out] IStream    **pstm,
  [out] IBindCtx   **ppbc
);

Parameters

ppole [out]

Type: IOleObject**

The address of a pointer to an IOleObject that represents the browser's history object.

pstm [out]

Type: IStream**

The address of a pointer to the history object's IStream. This parameter may be NULL.

ppbc [out]

Type: IBindCtx**

The address of a pointer to the history object stream's IBindCtx. This parameter may be NULL.

Return value

Type: HRESULT

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

Remarks

If pstm is not NULL, you can call QueryInterface on IOleObject to get a pointer to IPersistHistory.

IStream and IBindCtx can be passed to IPersistHistory::LoadHistory.

The calling application must release all three pointers if non-NULL.

Requirements

Product

Internet Explorer 4.0

Header

Shdeprecated.h

IDL

Shdeprecated.idl

 

 

Show: