Short Message Service Provider Registration
A Short Message Service (SMS) provider must be registered through a registry key that uses the following format:
[HKEY_LOCAL_MACHINE\Comm\Cellular\SMS\Protocols\<PROVIDER>]
"Name"="Microsoft <PROVIDER> SMS Protocol"
"DLL"= "<EXPORT_DLL_NAME>"
"ExportPrefix"="<PROVIDER>"
"Priority"=dword:<PRIORITY>
"AppName"="<APPLICATION_NAME>"
"Params"="<PARAMETERS>"
The following table shows the placeholders from the previous registry key example.
Placeholder | Description |
---|---|
PROVIDER | SMS provider name. Used in the naming convention for all exported functions. |
EXPORT_DLL_NAME | Name of the DLL that exports the function implementations. |
PRIORITY | Numerical priority of the provider. Providers must be ordered so that providers with more specific <PROVIDER>_RecognizeMessage filters have higher numerical <PRIORITY> values. The priority ensures that if a message matches with multiple providers, it is recognized as associated with the most appropriate provider. The least specific provider is set to zero (0) and should not change. This enables a message to be accepted even if it does not match with any of the other providers. The following list shows the standard providers and their associated priority.
|
APPLICATION_NAME | Optional. Full path to the application associated with a given provider. If no read handles are open for a given message type, then the application specified by this value is launched. |
PARAMETERS | Command-line parameters passed to the application specified by <APPLICATION_NAME>. This value is only used when <APPLICATION_NAME> is specified. |
See Also
Send Feedback on this topic to the authors