Porting From WDM to WDF

Hi,

I have a working WDM source code for my USB device. I started converting WDM code to WDF. I am using all the wdf API’s equivalant to the WDM. I am using the WDFrequest for IOcontrolls instead of the IRP’s.
Do i need to convert the WDFREquest to IRP’S?

Tell me whether I am following a currect way or not? Suggest easy tips to convert fastly.

Did you read the porting docs?

http://www.microsoft.com/whdc/driver/wdf/KMDF.mspx
http://www.microsoft.com/whdc/driver/wdf/wdf_port.mspx
http://download.microsoft.com/download/f/0/5/f05a42ce-575b-4c60-82d6-208d3754b2d6/porting-wdm-drvs-to-kmdf.ppt

d
-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of xxxxx@rediff.com
Sent: Thursday, November 25, 2010 11:27 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] Porting From WDM to WDF

Hi,

I have a working WDM source code for my USB device. I started converting WDM code to WDF. I am using all the wdf API’s equivalant to the WDM. I am using the WDFrequest for IOcontrolls instead of the IRP’s.
Do i need to convert the WDFREquest to IRP’S?

Tell me whether I am following a currect way or not? Suggest easy tips to convert fastly.


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

xxxxx@rediff.com wrote:

I have a working WDM source code for my USB device. I started converting WDM code to WDF. I am using all the wdf API’s equivalant to the WDM. I am using the WDFrequest for IOcontrolls instead of the IRP’s.
Do i need to convert the WDFREquest to IRP’S?

No. The WDFREQUEST contains the IRP, and will manage it for you.


Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.