IOCTL using <ddk/ntddser.h>

Bert dsboiz@gmail.com
Fri Mar 13 00:03:00 GMT 2009


Corinna Vinschen <corinna-cygwin <at> cygwin.com> writes:
> open("/dev/com4");		// Btw. "/dev/ttyS3" is preferred
> ioctl(POSIX_IOCTL_CODE);
> close;
 
> CreateFile("COM4:", ...);
> DeviceIoControl(WIN32_IOCTL_CODE);
> CloseHandle;

Corinna - thanks. Your simple examples made it crystal clear.
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/


More information about the Cygwin mailing list

AltStyle によって変換されたページ (->オリジナル) /