Last modified: July 23, 2011

Applies to: Outlook

Creates a named SSortOrderSet structure that contains a specified number of sort orders.

Header file:


Related structure:


SizedSSortOrderSet (_csort,_name)


Count of sort orders to be included in the new structure.


Name for the new structure.

Use the SizedSSortOrderSet macro to create a sort order set with explicit bounds.

To use the new structure that results from the SizedSSortOrderSet macro as a pointer to an SSortOrderSet structure, perform the following cast:

lpSSortOrderSet = (LPSSortOrderSet) &SizedSSortOrderSet;