| ||||
|
Look RS232
Download Order Support Testimonials FAQ Online help Modem Programming Serial port RS232 Hardware
Interface RS232C
ProgrammingHistory RS232C Likely problems Hardware
Hardware Properties
Interfacing devicesBit Rates DTE/DCE Speeds Flow control The UART Types of UARTs Null modems Loop Back Plug Registers |
|
||||||||
The information about the ports is available with the help of PORT_INFO_*structures, where PORT_INFO_1 structure is supported by all Windows versions and PORT_INFO_2 structure is supported starting with Windows NT. Let's consider these structures: PORT_INFO_1structure serves as a descriptor of the ports supported by the system, it contains only the name of the port. PORT_INFO_1 structure contains only one member: LPTSTR pName - pointer to null-terminated string, which identifies the supported port (e.g., "COM1:", "LPT1:", "FILE", "\\server"). PORT_INFO_2 structure is used to identify the ports supported by the system,in comparison with PORT_INFO_1 this structure supports more parameters. Members of PORT_INFO_2 structure: LPSTR pPortName; LPSTR pMonitorName; LPSTR pDescription; DWORD fPortType; DWORD Reserved; We won't consider PORT_INFO_2 structure in detail here, as it is used for the printer port settings detection. | |||||||||
Contact us © fCoder SIA |