To delete a message service from a profileDeleteMsgService calls the message service's entry point function with the ulContext parameter set to MSG_SERVICE_DELETE. Message services perform any clean up tasks at this time before they are removed from the profile.