Home COM GDI+ WebBrowser Data Access

IGetDataSource Interface

 

IID_IGetDataSource

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

 

 

This is a mandatory interface on the session for obtaining an interface pointer to the data source object.

 

Documentation: IGetDataSource
 

 

Methods in VTable order

IUnknown Methods

Description

QueryInterface

Returns pointers to supported interfaces.

AddRef

Increments reference count.

Release

Decrements reference count.

IGetDataSource Method

Description

GetDataSource

Returns an interface pointer on the data source object that created this session.

 

QueryInterface

 

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

END FUNCTION

 

 

AddRef

 

FUNCTION IGetDataSource_AddRef ( _

  BYVAL pthis AS DWORD PTR _

  ) AS DWORD
 

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

END FUNCTION

 

 

Release

 

FUNCTION IGetDataSource_Release ( _

  BYVAL pthis AS DWORD PTR _

  ) AS DWORD
 

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

END FUNCTION

 

 

GetDataSource

 

FUNCTION IGetDataSource_GetDataSource ( _
  BYVAL pthis AS DWORD PTR _

, BYREF riid AS GUID _

, BYREF ppDataSource AS DWORD _

  ) AS LONG


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

END FUNCTION

 

 

Page last updated on Tuesday, 12 September 2006 17:01:51 +0200