IMessenger2::ContactsSortOrder property
[ContactsSortOrder is no longer available for use as of Windows Vista. See Windows Messenger for more information.]
Sets or retrieves the current sort order for the local client, which is used to determine if the contacts should be sorted by groups or by their online/offline status.
This property is read/write.
Syntax
HRESULT put_ContactsSortOrder(
[in] MUASORT Sort
);
HRESULT get_ContactsSortOrder(
[out, retval] MUASORT *pSort
);
Property value
Error codes
Returns one of the following values.
Name | Meaning |
---|---|
|
Success. |
|
MUASORT is out of range. |
|
The Messenger application window is closed. |
|
The local client is not logged on. |
|
Groups are not supported. |
|
pSort is a NULL pointer. |
Remarks
Some services, such as Microsoft Exchange Instant Messaging Service (IM), do not support groups. The use of this property on these services will return the error MSGR_E_GROUPS_NOT_ENABLED.
Note
The following remarks apply to scripting languages. The get_ContactsSort property is available for scripting languages; put_ContactsSort is not.
Requirements
End of client support |
Windows XP |
End of server support |
Windows Server 2003 |
Header |
|
IDL |
|
DLL |
|