PlatformInvoke-Serial Port Programming

Dec 31 2005 1:13 AM
I am attempting to program a serial port using PlatformInvoke. However, PlatformInvoke data type mapping is rather confusing hence declaring the Win32 functions and structures I need in my code is proving to be a nightmare. I am tryng to set up the port to wait for short, isolated bursts of characters...indefinitely. Would someone kindly help.