CreateCollection method
Prototype
CreateCollection Proto bSorted:BOOL
Syntax
Invoke CreateCollection, bSorted
Function
Creates a collection of strings.
Parameters
bSorted
A BOOL value specifying whether the strings in the collection are going to be sorted (FALSE for no sorting).
Return value
Eax returns the handle to the created collection.
NOTE: Use the DestroyCollection method to destroy a collection created by
CreateCollection.
REMARKS: The CreateCollection
method will create a Unicode collection if the application is running as Unicode, or an ANSI collection if
not (see the IsAppUnicode method). You can call
CreateCollectionA to create ANSI collections, or CreateCollectionW to create Unicode collections.