CreateMsgService(serviceName, displayName, uiParam, flags)
Creates a message service.
Parameters
serviceName : string
The name of the service.displayName : string
Display name of the service, or NoneuiParam=0 : int
A handle of the parent window for any dialog boxes or windows that this method displays.
flags : int
A bitmask of flags that controls how the message service is installed.