[fpc-pascal] porting fpIoctl() to windows

Marc Santhoff M.Santhoff at t-online.de
Mon May 29 22:47:43 CEST 2006


Hi,

on FreeBSD I use fpOpen, fpIoctl, etc. to drive some generic device. In
my porting efforts to win32 I have found the more generic FileOpen, but
no equivalent of fpIoctl or it's underlying unix system call ioctl().

An old win32.hlp told me Windows has "DeviceIoCtl()", but I'm not really
sure if this is what I need. At least there is ntohing about this
funtion in the RTL sources of fps 2.0.2.

How can I port this calls?

TIA,
Marc





More information about the fpc-pascal mailing list