Export (0) Print
Expand All

IMsgServiceAdmin::RenameMsgService

Last modified: July 23, 2011

Applies to: Outlook

Deprecated. Assigns a new name to a message service.

HRESULT RenameMsgService(
  LPMAPIUID lpUID,
  ULONG ulFlags,
  LPSTR lpszDisplayName
);

lpUID

[in] A pointer to the MAPIUID structure that contains the unique identifier for the message service to rename.

ulFlags

[in] Reserved; must be zero.

lpszDisplayName

[in] A pointer to the new name for the message service.

MAPI_E_NO_SUPPORT

MAPI does not support renaming this message service. RenameMsgService always returns this value.

To assign a new name to a message service, clients should use the PR_SERVICE_NAME (PidTagServiceName) property of the message service. The names of service providers in a message service are stored in their PR_DISPLAY_NAME (PidTagDisplayName) properties.

Show:
© 2014 Microsoft