IOCtl Problem.

Posted: 08-31-2003, 10:16 PM
Hello,
I am writing a driver to create a virtual disk partition using some RAM.
Driver is installed properly and a symblic link at \DosDevice\F: is created.
But when I start using this partition I get an error message,
"F:\ is not accessible
Incorrect function."

After debugging through the code I found that my DispatchIOCtl() is getting
following IOCtl's calls repetedly,
IOCtl command = 0x00074804 IOCTL_STORAGE_MEDIA_REMOVAL
IOCtl command = 0x00070024 IOCTL_DISK_IS_WRITABLE
IOCtl command = 0x00070000 IOCTL_DISK_GET_DRIVE_GEOMETRY
IOCtl command = 0x0007405C Unknown IOCTL
IOCtl command = 0x00074804 IOCTL_STORAGE_MEDIA_REMOVAL

I tried to find out the command using CTL_CODE of ntdddisk.h, but getting
Function value 0x0017 which does not exist.
I am not able to figure out what's the flaw here?
Could you please let me know what is going wrong here.

Thanks in Advance,
~rushikesh.
--
----------------------------------------
Rushikesh Patil.
Persistent Systems Pvt. Ltd.
cell: +(91)98226-39056
http://www.rushikeshpatil.8m.com
----------------------------------------


Reply With Quote

Responses to "IOCtl Problem."

 
LinkBack Thread Tools Display Modes
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Vista Sleep Problem / Network Problem WWJD Windows Vista Networking & Sharing 0 10-11-2006 09:17 AM
Problem with creating rules and problem with contacts LevaniJanashia Windows Vista Mail 1 06-07-2006 09:17 PM
time problem || software or hardware problem? michael Windows XP Help & Support 1 09-19-2003 04:30 AM


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90