Home COM GDI+ WebBrowser Data Access

ISupportErrorInfo Interface

 

IID

{DF0B3D60-548F-101B-8E65-08002B2BD119}

 

 

ISupportErrorInfo is defined by Automation; the following describes how the interface is used in OLE DB. ISupportErrorInfo indicates whether a specific interface can return Automation error objects. Because OLE DB error objects are returned through the same mechanism as Automation error objects, support for them is also indicated through this interface.

 

Documentation: ISupportErrorInfo

 

 

Methods in VTable order

IUnknown Methods

Description

QueryInterface

Returns pointers to supported interfaces.

AddRef

Increments reference count.

Release

Decrements reference count.

ISupportErrorInfo Methods

Description

InterfaceSupportsErrorInfo

Indicates whether a specific OLE DB interface can return OLE DB error objects.

 

QueryInterface

 

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

END FUNCTION

 

 

AddRef

 

FUNCTION ISupportErrorInfo_AddRef ( _

  BYVAL pthis AS DWORD PTR _

  ) AS DWORD
 

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

END FUNCTION

 

 

Release

 

FUNCTION ISupportErrorInfo_Release ( _

  BYVAL pthis AS DWORD PTR _

  ) AS DWORD
 

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

END FUNCTION

 

 

InterfaceSupportsErrorInfo

 

FUNCTION ISupportErrorInfo_InterfaceSupportsErrorInfo ( _

  BYVAL pthis AS DWORD PTR _

, BYREF riid AS GUID _

  ) AS LONG

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

END FUNCTION

 

 

Page last updated on Wednesday, 15 February 2006 23:50:59 +0100