Home COM GDI+ WebBrowser Data Access

IDCInfo Interface

 

IID_IDCInfo

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

 

 

IDCInfo provides methods that can be used to furnish the Data Conversion Library with information, such as provider version, that can affect how conversions are performed. If IDCInfo::SetInfo is not called, the Data Conversion Library assumes the provider is an OLE DB 1.0–compliant provider.

 

IDCInfo can be obtained by calling QueryInterface from IDataConvert using IID_IDCInfo. IDCInfo includes the methods described in the following table.

 

Documentation: IDCInfo

 

 

Methods in VTable order

IUnknown Methods

Description

QueryInterface

Returns pointers to supported interfaces.

AddRef

Increments reference count.

Release

Decrements reference count.

IDCInfo Methods

Description

GetInfo

Gets the Data Conversion Library's current provider information settings.

SetInfo

Sets the Data Conversion Library's provider information settings.

 

QueryInterface

 

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

END FUNCTION

 

 

AddRef

 

FUNCTION IDCInfo_AddRef ( _

  BYVAL pthis AS DWORD PTR _

  ) AS DWORD
 

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

END FUNCTION

 

 

Release

 

FUNCTION IDCinfo_Release ( _

  BYVAL pthis AS DWORD PTR _

  ) AS DWORD
 

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

END FUNCTION

 

 

GetInfo

 

FUNCTION IDCinfo_GetInfo ( _
  BYVAL pthis AS DWORD PTR _

, BYVAL cInfo AS DWORD _

, BYVAL rgeInfoType AS DWORD _

, BYREF prgInfo AS DWORD _

  ) AS LONG


  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[3] USING IDCinfo_GetInfo (pthis, rgeInfoType, prgInfo) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION

 

 

SetInfo

 

FUNCTION IDCinfo_SetInfo ( _
  BYVAL pthis AS DWORD PTR _

, BYVAL cInfo AS DWORD _

, BYVAL rgInfo AS DWORD _

  ) AS LONG


  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[4] USING IDCinfo_SetInfo (pthis, cInfo, rgInfo) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION

 

 

Page last updated on Tuesday, 12 September 2006 23:49:06 +0200