friends,
can anbody tell me clearly how we can use ReadFile and DeviceIOControl
appropriately. and what is the brief differnece between them??
thanx,
shiv
You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
The difference depends on particular driver 
ReadFile is generic read semantics - no input data, only output.
IOCTL is able of bi-directional flow - both input and output.
As about the difference between output-only IOCTL and read - it depends mainly on driver developer tastes :-), though there are lots
of IOCTLs which are mandatory to all devices of a given class.
Max
----- Original Message -----
From: “Shiva Prasad. T. S.”
To: “NT Developers Interest List”
Sent: Thursday, December 27, 2001 5:33 AM
Subject: [ntdev] difference between Read/Write Operation and IOCTL operation
> friends,
>
> can anbody tell me clearly how we can use ReadFile and DeviceIOControl
> appropriately. and what is the brief differnece between them??
>
> thanx,
>
> shiv
>
> —
> You are currently subscribed to ntdev as: xxxxx@storagecraft.com
> To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
>
—
You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com