ISpObjectTokenEnumBuilder::Sort (Windows Embedded CE 6.0)
1/6/2010
This method sorts the list of enumerated object tokens. If the optional attributes of the object token enumerator have been set, the first token in the list after a call to Sort will be the token that best matches the optional attributes, instead of the token referenced in the call to Sort.
Syntax
HRESULT Sort(
const WCHAR* pszTokenIdToListFirst
);
Parameters
- pszTokenIdToListFirst
[in] Pointer to a null-terminated string specifying the identifier of the first object token in the sorted list.
Return Value
The following table shows the possible return values.
Value | Description |
---|---|
S_OK |
Function completed successfully. |
E_POINTER |
Invalid pointer. |
SPERR_ALREADY_INITIALIZED |
The object has already been initialized. |
FAILED(hr) |
Appropriate error message. |
Requirements
Header | sapiddk.h, sapiddk.idl |
Library | sapilib.lib |
Windows Embedded CE | Windows CE .NET 4.1 and later |