Home COM GDI+ WebBrowser Data Access

IDBProperties Interface

 

IID_IDBProperties

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

 

 

IDBProperties is used to set and get the values of properties on the data source object or enumerator and to get information about all properties supported by the provider.

 

Documentation: IDBProperties

 

 

Methods in VTable order

IUnknown Methods

Description

QueryInterface

Returns pointers to supported interfaces.

AddRef

Increments reference count.

Release

Decrements reference count.

IDBProperties Methods

Description

GetProperties

Returns the values of properties in the Data Source, Data Source Information, and Initialization property groups that are currently set on the data source object, or the values of properties in the Initialization property group that are currently set on the enumerator.

GetPropertyInfo

Returns information about all properties supported by the provider.

SetProperties

Sets properties in the Data Source and Initialization property groups, for data source objects, or in the Initialization property group, for enumerators.

 

QueryInterface

 

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

END FUNCTION

 

 

AddRef

 

FUNCTION IDBProperties_AddRef ( _

  BYVAL pthis AS DWORD PTR _

  ) AS DWORD
 

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

END FUNCTION

 

 

Release

 

FUNCTION IDBProperties_Release ( _

  BYVAL pthis AS DWORD PTR _

  ) AS DWORD
 

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

END FUNCTION

 

 

GetProperties

 

FUNCTION IDBProperties_GetProperties ( _
  BYVAL pthis AS DWORD PTR _

, BYVAL cPropertyIDSets AS DWORD _

, BYVAL rgPropertyIDSets AS DWORD _

, BYREF pcPropertySets AS DWORD _

, BYREF prgPropertySets AS DWORD _

  ) AS LONG


  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[3] USING IDBProperties_GetProperties (pthis, cPropertyIDSets, rgPropertyIDSets, pcPropertySets, prgPropertySets) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION

 

 

GetPropertyInfo

 

FUNCTION IDBProperties_GetPropertyInfo ( _
  BYVAL pthis AS DWORD PTR _

, BYVAL cPropertyIDSets AS DWORD _

, BYVAL rgPropertyIDSets AS DWORD _

, BYREF pcPropertyInfoSets AS DWORD _

, BYREF prgPropertyInfoSets AS DWORD _

, BYREF ppDescBuffer AS DWORD _

  ) AS LONG


  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[4] USING IDBProperties_GetPropertyInfo (pthis, cPropertyIDSets, rgPropertyIDSets, pcPropertyInfoSets, prgPropertyInfoSets, ppDescBuffer) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION

 

 

SetProperties

 

FUNCTION IDBProperties_SetProperties ( _
  BYVAL pthis AS DWORD PTR _

, BYVAL cPropertyIDSets AS DWORD _

, BYVAL prgPropertySets AS DWORD _

  ) AS LONG


  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[5] USING IDBProperties_SetProperties (pthis, cPropertyIDSets, prgPropertySets) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION

 

 

Page last updated on Wednesday, 15 February 2006 23:28:35 +0100