Custom fcntl call in Win32?

Volker Lendecke Volker.Lendecke at SerNet.DE
Fri Sep 16 15:08:46 GMT 2005


On Fri, Sep 16, 2005 at 11:59:41PM +1000, tridge at samba.org wrote:
> 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.

Hmmm. Does not work. If you put in arbitrary values for dwIoControlCode they
don't show up in Filemon and not remotely. For example if I issue
FSCTL_GET_COMPRESSION then it shows up, but most other values I tried don't.

Volker
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20050916/16e9977c/attachment.bin


More information about the samba-technical mailing list