This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
what is equivalent to CreateFile, DeviceIoControl, CloseHandle???
- To: "'gnu-win32 at cygnus dot com'" <gnu-win32 at cygnus dot com>
- Subject: what is equivalent to CreateFile, DeviceIoControl, CloseHandle???
- From: Marc Fiuczynski <mef at cs dot washington dot edu>
- Date: Fri, 23 Jan 1998 14:34:42 -0800
Hi,
I need to do the equivalent of the CreateFile, DeviceIoControl, and
CloseHandle calls that are defined in MSVC kernel32.lib. What I am
trying to do is open up a device, do an ioctl operation to it, and then
later close that device again. So I suppose there are two questions:
* does the cygwin dll have similar operations that I can use to do
the CreateFile, DeviceIoControl, and CloseHandle?
* how can one link with MSVC's kernel32.lib so I can just call
these routines directly?
Thanks,
Marc
mef@cs.washington.edu
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".