Does anyone know of a good resource that I can use to map WDM calls to
the new WDF variants. I just spent half-an-hour trying to find the WDF
equivalent of IOCreateDevice (WdfDeviceCreate). I finally found it by
looking through sample code that I thought might use the function. You
would think that searching the WDF docs for IOCreateDevice would lead me
directly to WdfDeviceCreate (like the Win32 and MFC docs), but it doesn’t.
Thanks,
–Jeremy
Jeremy Chaney wrote:
Does anyone know of a good resource that I can use to map WDM calls to
the new WDF variants. I just spent half-an-hour trying to find the WDF
equivalent of IOCreateDevice (WdfDeviceCreate). I finally found it by
looking through sample code that I thought might use the function. You
would think that searching the WDF docs for IOCreateDevice would lead
me directly to WdfDeviceCreate (like the Win32 and MFC docs), but it
doesn’t.
With a very few exceptions, all of the KMDF functions use the naming
scheme Wdf. Once you get the list of acceptable nouns down,
it’s easy to figure out the API. When you want to create a device,
WdfDeviceCreate. When you want to fetch the device from an interrupt
object, WdfInterruptGetDevice.
–
Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.
You can try these:
http://download.microsoft.com/download/f/0/5/f05a42ce-575b-4c60-82d6-208d3754b2d6/Porting-WDM-Drvs-to-KMDF.ppt
And some links at:
http://www.microsoft.com/whdc/driver/wdf/KMDF.mspx
“Jeremy Chaney” wrote in message
news:xxxxx@ntdev…
> Does anyone know of a good resource that I can use to map WDM calls to the
> new WDF variants. I just spent half-an-hour trying to find the WDF
> equivalent of IOCreateDevice (WdfDeviceCreate). I finally found it by
> looking through sample code that I thought might use the function. You
> would think that searching the WDF docs for IOCreateDevice would lead me
> directly to WdfDeviceCreate (like the Win32 and MFC docs), but it doesn’t.
>
> Thanks,
> --Jeremy
>
I already looked at the power point slide- it is mostly just fluf. I’m
guessing that it was recycled from WinHec or something. It gave me nasty
flashbacks from the developer convention last year. Suddenly my eyes
started drooping, my heart rate slowed, and drool began forming at the
corners of my mouth… 
I’ll look through the other link, but I think Praveen’s comments about
the verbs and nouns is my best bet.
Thanks,
–Jeremy
Praveen Kumar Amritaluru wrote:
You can try these:
http://download.microsoft.com/download/f/0/5/f05a42ce-575b-4c60-82d6-208d3754b2d6/Porting-WDM-Drvs-to-KMDF.ppt
And some links at:
http://www.microsoft.com/whdc/driver/wdf/KMDF.mspx
“Jeremy Chaney” wrote in message
> news:xxxxx@ntdev…
>> Does anyone know of a good resource that I can use to map WDM calls to the
>> new WDF variants. I just spent half-an-hour trying to find the WDF
>> equivalent of IOCreateDevice (WdfDeviceCreate). I finally found it by
>> looking through sample code that I thought might use the function. You
>> would think that searching the WDF docs for IOCreateDevice would lead me
>> directly to WdfDeviceCreate (like the Win32 and MFC docs), but it doesn’t.
>>
>> Thanks,
>> --Jeremy
>>
>
>
>
Jeremy Chaney wrote:
I already looked at the power point slide- it is mostly just fluf. I’m
guessing that it was recycled from WinHec or something. It gave me
nasty flashbacks from the developer convention last year. Suddenly my
eyes started drooping, my heart rate slowed, and drool began forming
at the corners of my mouth… 
I’ll look through the other link, but I think Praveen’s comments about
the verbs and nouns is my best bet.
That would be “Tim’s comments about the verbs and nouns”. 
–
Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.
See- the PPT slides put me to sleep. Sorry. 
–Jeremy
Tim Roberts wrote:
Jeremy Chaney wrote:
> I already looked at the power point slide- it is mostly just fluf. I’m
> guessing that it was recycled from WinHec or something. It gave me
> nasty flashbacks from the developer convention last year. Suddenly my
> eyes started drooping, my heart rate slowed, and drool began forming
> at the corners of my mouth… 
>
> I’ll look through the other link, but I think Praveen’s comments about
> the verbs and nouns is my best bet.
That would be “Tim’s comments about the verbs and nouns”. 