Re: Custom IOCTLs



Use DeviceIoControl()
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/devio/base/deviceiocontrol.asp

-PaulH

JR Lyon wrote:
I was wondering how to call custom IOCTLs, or if you even could call custom
IOCTLs. I have set up an IOCTL in my device driver but I don't know which
commands to call in eVC. Has anybody done this?

.



Relevant Pages

  • Re: The guts of /dev/* ?
    ... Read the source code. ... Exactly what is read depends on how the device driver happens to have been ... set by the ioctls for that device. ... ]table is refereed to and the kernel creates a data structure ...
    (comp.os.linux.misc)
  • Re: CE6.0 Exposing Driver Interfaces to an Application
    ... complicated mechanism is to create a simple stream driver and expose your ... for *kernel* ioctls, not device driver ioctls. ... components can call device driver ioctls though. ...
    (microsoft.public.windowsce.platbuilder)
  • Re: how to use the function copyout()
    ... > I can't understand how to use the function copyout(). ... > It is necessary to write the data from a device driver to the ... > array defined in user program. ... For example, to add ioctls to network devices, I first added ...
    (freebsd-hackers)
  • Re: ide-cd problems
    ... >> currently possible with the IDE interface, ... > in the kernel knowing what commands are out there (including vendor ... ide-cd ioctls are still there ... send the line "unsubscribe linux-kernel" in ...
    (Linux-Kernel)
  • Problems with connecting redhat 3 ES server to eva
    ... I'm having some problems with connecting redhat 3 ES server to eva; ... The following shows up after unloading and re-loading the device driver: ... Request Queue count= 512, Response Queue count= 512 ... Total number of active commands = 0 ...
    (RedHat)