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.
#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);