Home COM GDI+ WebBrowser Data Access

ITransactionObject Interface

 

IID_ITransactionObject

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

 

 

ITransactionObject enables consumers to obtain the transaction object associated with a particular transaction level. For more information, see "ITransaction Object" in Chapter 15: Transactions.

 

Documentation: ITransactionObject

 

 

Methods in VTable order

IUnknown Methods

Description

QueryInterface

Returns pointers to supported interfaces.

AddRef

Increments reference count.

Release

Decrements reference count.

ITransactionObject Methods

Description

GetTransactionObject

Returns an object that can be used to specify configuration options for a subsequent call to StartTransaction.

 

QueryInterface

 

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

END FUNCTION

 

 

AddRef

 

FUNCTION ITransactionObject_AddRef ( _

  BYVAL pthis AS DWORD PTR _

) AS DWORD
 

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

END FUNCTION

 

 

Release

 

FUNCTION ITransactionObject_Release ( _

  BYVAL pthis AS DWORD PTR _

) AS DWORD
 

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

END FUNCTION

 

 

GetTransactionObject

 

FUNCTION ITransactionObject_GetTransactionObject ( _
  BYVAL pthis AS DWORD PTR _

, BYVAL ulTransactionLevel AS DWORD _

, BYREF ppTransactionObject AS DWORD _

) AS LONG


  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[3] USING ITransactionObject_GetTransactionObject (pthis, ulTransactionLevel, ppTransactionObject) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION

 

 

Page last updated on Saturday, 07 January 2006 20:33:55 +0100