Home COM GDI+ WebBrowser Data Access

IDBCreateSession Interface

 

IID_IDBCreateSession

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

 

 

Consumers call IDBCreateSession::CreateSession on a data source object to obtain a new session.

 

Documentation: IDBCreateSession

 

 

Methods in VTable order

IUnknown Methods

Description

QueryInterface

Returns pointers to supported interfaces.

AddRef

Increments reference count.

Release

Decrements reference count.

IDBCreateSession Methods

Description

CreateSession

Creates a new session from the data source object and returns the requested interface on the newly created session.

 

QueryInterface

 

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

END FUNCTION

 

 

AddRef

 

FUNCTION IDBCreateSession_AddRef ( _

  BYVAL pthis AS DWORD PTR _

  ) AS DWORD
 

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

END FUNCTION

 

 

Release

 

FUNCTION IDBCreateSession_Release ( _

  BYVAL pthis AS DWORD PTR _

  ) AS DWORD
 

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

END FUNCTION

 

 

CreateSession

 

FUNCTION IDBCreateSession_CreateSession (_
  BYVAL pthis AS DWORD PTR _

, BYVAL pUnkOuter AS DWORD _

, BYREF riid AS GUID _

, BYREF ppDBSession AS DWORD _

  ) AS LONG


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

END FUNCTION

 

 

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