Jump to content

WpQueryFldrSort: Difference between revisions

From EDM2
Created page with "{{DISPLAYTITLE:wpQueryFldrSort}} This method is specific to version 3, or higher, of the OS/2 operating system. This instance method returns a pointer to the sort record for the specified open view and type. ==Syntax== _wpQueryFldrSort(somSelf, ulView, ulType) ==Parameters== ;''somSelf'' (WPFolder *) - input :Pointer to the object on which the method is being invoked. :Points to an object of class WPFolder. ;''ulView'' (ULONG) - input :Flag indicating th..."
 
(No difference)

Latest revision as of 02:19, 25 November 2025

This method is specific to version 3, or higher, of the OS/2 operating system.

This instance method returns a pointer to the sort record for the specified open view and type.

Syntax

_wpQueryFldrSort(somSelf, ulView, ulType)

Parameters

somSelf (WPFolder *) - input
Pointer to the object on which the method is being invoked.
Points to an object of class WPFolder.
ulView (ULONG) - input
Flag indicating the folder view.
Possible values are described in the following list:
  • OPEN_CONTENTS Open content view.
  • OPEN_DETAILS Open details view.
ulType (ULONG) - input
Reserved - set to 0.

Returns

pSortRecord (PVOID) - returns
Pointer to the SORTFASTINFO structure containing sort record information for the specified view.

How to Override

This method should not be overridden.

Example Code

#define INCL_WINWORKPLACE
#include <os2.h>

WPFolder *somSelf; /* Pointer to the object on which the method is being invoked. */
ULONG ulView; /* Flag indicating the folder view. */
ULONG ulType; /* Reserved - set to 0. */
PVOID pSortRecord; /* Pointer to the SORTFASTINFO structure containing sort record information for the specified view. */

pSortRecord = _wpQueryFldrSort(somSelf, ulView,
                 ulType);

Related Methods