Home COM GDI+ WebBrowser Data Access

ICommandProperties Interface

 

IID_ICommandProperties

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

 

 

ICommandProperties specifies to the command the properties from the Rowset property group that must be supported by the rowsets returned by ICommand::Execute. A special case of these properties, and the ones most commonly requested, are the interfaces the rowset must support. In addition to interfaces, the consumer can request properties that modify the behavior of the rowset or interfaces.

 

Documentation: ICommandProperties

 

 

Methods in VTable order

IUnknown Methods

Description

QueryInterface

Returns pointers to supported interfaces.

AddRef

Increments reference count.

Release

Decrements reference count.

ICommandProperties Method

Description

GetProperties

Returns the list of properties in the Rowset property group that are currently requested for the rowset.

SetProperties

Sets properties in the Rowset property group.

 

GetProperties

 

FUNCTION ICommandProperties_GetProperties ( _
  BYVAL pthis AS DWORD PTR _

, BYVAL cPropertyIDSets AS DWORD _

, BYVAL rgPropertyIDSets AS DBPROPIDSET _

, BYREF pcPropertySets AS DWORD _

, BYREF prgPropertySets AS DBPROPSET _

  ) AS LONG


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

END FUNCTION

 

 

SetProperties

 

FUNCTION ICommandProperties_SetProperties ( _
  BYVAL pthis AS DWORD PTR _

, BYVAL cPropertySets AS DWORD _

, BYREF rgPropertySets AS DBPROPSET _

  ) AS LONG


  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[4] USING ICommandProperties_SetProperties (pthis, cPropertySets, rgPropertySets) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION

 

 

Page last updated on Saturday, 11 November 2006 02:52:15 +0100