IMsgServiceAdmin::RenameMsgService

The IMsgServiceAdmin::RenameMsgService method assigns a new name to a message service. This method is not currently supported.

Quick Info

See IMsgServiceAdmin : IUnknown.

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

Parameters

lpUID
[in] Pointer to the MAPIUID structure holding the unique identifier for the message service to rename.
ulFlags
Reserved; must be zero.
lpszDisplayName
[in] Pointer to the new name for the message service.

Return Values

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

Remarks

Clients wanting to assign a new name to a message service should assign a new name to its PR_SERVICE_NAME property. The names of service providers in a message service are stored in their PR_DISPLAY_NAME properties.

See Also

MAPIUID