From: Dave on 9 May 2008 09:44 Hi, This is a file virtual disk driver. I am not implementing PNP so I cannot use IORegisterDeviceInterface. To create my volume mount point I first call the mount manager with the volume arrival notification ioctl. The mount manager does call my IOCTL_MOUNTDEV_QUERY_DEVICE_NAME with a buffer size of 4. I return 46 as the size required in the outputbuffer->NameLength and status buffer overflow. The mount manager does not call back again with the required buffer size, as it should. My call to arrival notification fails. My implementation of IOCTL_MOUNTDEV_QUERY_UNIQUE_ID never gets called even if I do not implement QUERY_DEVICE_NAME. Subsequent call to the mount manager IOCTL_MOUNTMGR_CREATE_POINT also result in a similar situation. What am I doing wrong ? Any help would be appreciated. Thanks.
|
Pages: 1 Prev: about function COM_IOControl in Virtual COM driver Next: DDK Integration with VS |