Question about reading sector on DVD data disc

Hello all,
I am moving on a application to read sector of DVD data disc under VC++ 6.0 base on WINDDK, by using main function “DeviceIoControl()”, but I have tried several IOTCL function to on my test DVD disc, the return windows errorcode 1117 (Its giving an Error Code as 1117 representing), so I call help for this, anyone could share your good solution or sample code , that is my grateful.

Download and look at the CDRider source code:

Gav, thank you very much. I have solve this.