Home COM GDI+ WebBrowser Data Access

IMultipleResults Interface

 

IID_IMultipleResults

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

 

 

IMultipleResults is used to retrieve multiple results (row counts, rowset objects, or row objects) created by a command. For more information, see "Multiple Results" in Chapter 3: Commands.

 

Documentation: IMultipleResults

 

 

Methods in VTable order

IUnknown Methods

Description

QueryInterface

Returns pointers to supported interfaces.

AddRef

Increments reference count.

Release

Decrements reference count.

IMultipleResults Method

Description

GetResult

Returns the next in a series of multiple results from the provider.

 

QueryInterface

 

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

END FUNCTION

 

 

AddRef

 

FUNCTION IMultipleResults_AddRef ( _

  BYVAL pthis AS DWORD PTR _

  ) AS DWORD
 

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

END FUNCTION

 

 

Release

 

FUNCTION IMultipleResults_Release ( _

  BYVAL pthis AS DWORD PTR _

  ) AS DWORD
 

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

END FUNCTION

 

 

GetResult

 

FUNCTION IMultipleResults_GetResult ( _
  BYVAL pthis AS DWORD PTR _

, BYVAL pUnkOuter AS DWORD _

, BYVAL lResultFlag AS LONG _

, BYREF riid AS GUID _

, BYREF pcRowsAffected AS LONG _

, BYREF ppRowset AS DWORD _

  ) AS LONG


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

END FUNCTION

 

 

Page last updated on Wednesday, 15 February 2006 23:32:51 +0100