Home COM GDI+ WebBrowser Data Access

IViewChapter Interface

 

IID_IViewChapter

{0C733A98-2A1C-11CE-ADE5-00AA0044773D}

 

 

IViewChapter enables the consumer to create or apply a view to an existing rowset.

 

Documentation: IViewChapter

 

 

Methods in VTable order

IUnknown Methods

Description

QueryInterface

Returns pointers to supported interfaces.

AddRef

Increments reference count.

Release

Decrements reference count.

IViewChapter Methods

Description

GetSpecification

Returns the rowset from which the view was created.

OpenViewChapter

Returns a chapter reflecting the specified view.

 

QueryInterface

 

FUNCTION IViewChapter_QueryInterface ( _

  BYVAL pthis AS DWORD PTR _

, BYREF riid AS GUID _

, BYREF ppvObj AS DWORD _

) AS LONG


  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[0] USING IViewChapter_QueryInterface (pthis, riid, ppvObj) TO HRESULT
  FUNCTION = HRESULT
 

END FUNCTION

 

 

AddRef

 

FUNCTION IViewChapter_AddRef ( _

  BYVAL pthis AS DWORD PTR _

) AS DWORD
 

  LOCAL DWRESULT AS LONG
  CALL DWORD @@pthis[1] USING IViewChapter_AddRef (pthis) TO DWRESULT
  FUNCTION = DWRESULT
 

END FUNCTION

 

 

Release

 

FUNCTION IViewChapter_Release ( _

  BYVAL pthis AS DWORD PTR _

) AS DWORD
 

  LOCAL DWRESULT AS DWORD
  CALL DWORD @@pthis[2] USING IViewChapter_Release (pthis) TO DWRESULT
  FUNCTION = DWRESULT
 

END FUNCTION

 

 

GetSpecification

 

FUNCTION IViewChapter_GetSpecification ( _
  BYVAL pthis AS DWORD PTR _

, BYREF riid AS GUID _

, BYREF ppRowset AS DWORD _

) AS LONG


  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[3] USING IViewChapter_GetSpecification (pthis, riid, ppRowset) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION

 

 

OpenViewChapter

 

FUNCTION IViewChapter_OpenViewChapter ( _
  BYVAL pthis AS DWORD PTR _

, BYVAL hSource AS DWORD _

, BYREF phViewChapter AS DWORD _

) AS LONG


  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[4] USING IViewChapter_OpenViewChapter (pthis, hSource, phViewChapter) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION

 

 

Page last updated on Saturday, 07 January 2006 20:34:16 +0100