Home COM GDI+ WebBrowser Data Access

IViewSort Interface

 

IID_IViewSort

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

 

 

IViewSort enables the consumer to apply a sort order to a view.

 

Documentation: IViewSort

 

 

Methods in VTable order

IUnknown Methods

Description

QueryInterface

Returns pointers to supported interfaces.

AddRef

Increments reference count.

Release

Decrements reference count.

IViewSort Methods

Description

GetSortOrder

Retrieves a sort order from a view.

SetSortOrder

Assigns a sort order to a view.

 

QueryInterface

 

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

END FUNCTION

 

 

AddRef

 

FUNCTION IViewSort_AddRef ( _

  BYVAL pthis AS DWORD PTR _

) AS DWORD
 

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

END FUNCTION

 

 

Release

 

FUNCTION IViewSort_Release ( _

  BYVAL pthis AS DWORD PTR _

) AS DWORD
 

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

END FUNCTION

 

 

GetSortOrder

 

FUNCTION IViewSort_GetSortOrder ( _
  BYVAL pthis AS DWORD PTR _

, BYREF pcValues AS DWORD _

, BYREF prgColumns AS DWORD _

, BYREF prgOrders AS DWORD _

) AS LONG


  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[3] USING IViewSort_GetSortOrder (pthis, pcValues, prgColumns, prgOrders) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION

 

 

SetSortOrder

 

FUNCTION IViewSort_SetSortOrder ( _
  BYVAL pthis AS DWORD PTR _

, BYVAL cValues AS DWORD _

, BYVAL rgColumns AS DWORD _

, BYVAL rgOrders AS DWORD _

) AS LONG


  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[4] USING IViewSort_SetSortOrder (pthis, cValues, rgColumns, rgOrders) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION

 

 

Page last updated on Saturday, 07 January 2006 20:34:50 +0100