Custom fcntl call in Win32?

tridge at tridge at
Fri Sep 16 13:59:41 GMT 2005


 > Did Microsoft not implement this? But where are the existing ioctl calls we
 > have to answer coming from then?

You should be able to make a DeviceIoControl() with an arbitrary
dwIoControlCode. In Samba that should turn up as a 'ntioctl' call. See
torture_set_sparse() for an example in our client code.

Alternatively, you could create a pipe for this, either an RPC one, or
just a plain IPC pipe with raw data.

Cheers, Tridge

More information about the samba-technical mailing list