Home COM GDI+ WebBrowser Data Access

IParentRowset Interface

 

IID_IParentRowset

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

 

 

IParentRowset is used to retrieve child rowsets from a hierarchical rowset. For more information, see "Hierarchical Rowsets" in Chapter 4: Rowsets.

 

Documentation: IParentRowset

 

 

Methods in VTable order

IUnknown Methods

Description

QueryInterface

Returns pointers to supported interfaces.

AddRef

Increments reference count.

Release

Decrements reference count.

IParentRowset Method

Description

GetChildRowset

Returns the child rowset corresponding to a chapter-valued column in the parent rowset.

 

QueryInterface

 

FUNCTION IParentRowset_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 IParentRowset_QueryInterface (pthis, riid, ppvObj) TO HRESULT
  FUNCTION = HRESULT
 

END FUNCTION

 

 

AddRef

 

FUNCTION IParentRowset_AddRef ( _

  BYVAL pthis AS DWORD PTR _

  ) AS DWORD
 

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

END FUNCTION

 

 

Release

 

FUNCTION IParentRowset_Release ( _

  BYVAL pthis AS DWORD PTR _

  ) AS DWORD
 

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

END FUNCTION

 

 

GetChildRowset

 

FUNCTION IParentRowset_GetChildRowset ( _
  BYVAL pthis AS DWORD PTR _

, BYVAL pUnkOuter AS DWORD _

, BYVAL iOrdinal AS DWORD _

, BYREF riid AS GUID _

, BYREF ppRowset AS DWORD _

  ) AS LONG


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

END FUNCTION

 

 

Page last updated on Wednesday, 15 February 2006 23:33:29 +0100