Platform SDK: Exchange Server |
The QueryCommandDisplayName method retrieves the display name of a command. The Inbox Assistant calls this method when the user edits an existing rule that specifies a custom action.
HRESULT QueryCommandDisplayName( LPEXCHANGERULEEXTCALLBACK percb, LPCTSTR pszCommand, TCHAR FAR * pszDisplayName, ULONG cchDisplayName );
Return E_FAIL if the user cancels the command; return NOERROR if the command completes successfully.
The display name should be the same as the name originally returned by the GetCommand method. Microsoft Exchange Server does not save that display name when it saves the Inbox Assistant rule.