Programming interface
4.1 Functions of the serial interface
SIMATIC 3964R protocol for Windows 9x/XP/7
Installation Manual, 01/2013, J31069-D0131-U001-A2-7218
21
Return value
X 0
Notes
The transferred buffer should have a minimum size of 500 characters.
ComReadConfig
comInt
ComReadConfig
(LPCSTR devName,
devConfig_p conf)
This function reads the configuration data for a specified port from the registry and returns it
in an edited form. The port does not need to be opened.
Parameter
devName Interface name as string
possible values: "COM1 ... COM255"
conf Pointer to configuration variable
Return value
0 Function successfully completed
< 0 possible error message:
• COM_REGISTRY
• COM_NO_CONFIG