Redirect a Request form one Drive to an other.

hi all,

i have created a Ramdisk of 200MB out size of System space now i want to redirect all requests including Read and Write of Ramdisk to an other partition supose “D:/”
i am trying that but face some problems: when i am redirecting the Write or Read request and Trying to formate the request for WdfRequestsent it gives status : STATUS_REQUEST_NOT_ACCEPTED and Request can not be sent and in the Quicklunch it give that remote computer can not create other conenction…

code is :
status = WdfIoTargetFormatRequestForWrite( devExt->IoTarget,
Request,
hMemory,
NULL, // Buffer offset
NULL); // OutputBufferOffset

Plz some some help about that problem…

Thanking in Advance.
Regards
Asif

What does
!wdflogdump
Say after the failure? Also, how do you create/initialize devExt->IoTarget?

d

-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of xxxxx@yahoo.com
Sent: Monday, March 31, 2008 12:34 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] Redirect a Request form one Drive to an other.

hi all,

i have created a Ramdisk of 200MB out size of System space now i want to redirect all requests including Read and Write of Ramdisk to an other partition supose “D:/”
i am trying that but face some problems: when i am redirecting the Write or Read request and Trying to formate the request for WdfRequestsent it gives status : STATUS_REQUEST_NOT_ACCEPTED and Request can not be sent and in the Quicklunch it give that remote computer can not create other conenction…

code is :
status = WdfIoTargetFormatRequestForWrite( devExt->IoTarget,
Request,
hMemory,
NULL, // Buffer offset
NULL); // OutputBufferOffset

Plz some some help about that problem…

Thanking in Advance.
Regards
Asif


NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer