From: kota on
Hi,

Is there is any document/link/list available of WDF API's and also is there
any info available WDF API vs WDM API, I guess, this would be very much
useful, while porting the driver from WDM/NT model to WDF driver.

I am looking some alternative WDF API's for below WDM Api's:
KeWaitForSingleObject
IoSetCancelRoutine

Is WdfWaitlockCreate can be used instead of KeInitializeMutex?
Is WdfSpinlockCreate can be used instead of WdfSpinlockCreate?

Thanks,
Prafulla


From: Don Burn on
See the Porting WDM to WDF links at
http://www.microsoft.com/whdc/driver/wdf/KMDF.mspx



--
Don Burn (MVP, Windows DDK)
Windows 2k/XP/2k3 Filesystem and Driver Consulting
Website: http://www.windrvr.com
Blog: http://msmvps.com/blogs/WinDrvr
Remove StopSpam to reply

"kota" <kota(a)discussions.microsoft.com> wrote in message
news:339BB72B-6735-4EB2-944D-C517039FF208(a)microsoft.com...
> Hi,
>
> Is there is any document/link/list available of WDF API's and also is
> there
> any info available WDF API vs WDM API, I guess, this would be very much
> useful, while porting the driver from WDM/NT model to WDF driver.
>
> I am looking some alternative WDF API's for below WDM Api's:
> KeWaitForSingleObject
> IoSetCancelRoutine
>
> Is WdfWaitlockCreate can be used instead of KeInitializeMutex?
> Is WdfSpinlockCreate can be used instead of WdfSpinlockCreate?
>
> Thanks,
> Prafulla
>
>


From: Doron Holan [MSFT] on
a WDFWAITLOCK uses a KEVENT, not a mutex (which is recursively acquirable)
a WDFSPINLOCK uses a KSPIN_LOCK.

you should read the link that don sent

d

--
Please do not send e-mail directly to this alias. this alias is for
newsgroup purposes only.
This posting is provided "AS IS" with no warranties, and confers no rights.


"kota" <kota(a)discussions.microsoft.com> wrote in message
news:339BB72B-6735-4EB2-944D-C517039FF208(a)microsoft.com...
> Hi,
>
> Is there is any document/link/list available of WDF API's and also is
> there
> any info available WDF API vs WDM API, I guess, this would be very much
> useful, while porting the driver from WDM/NT model to WDF driver.
>
> I am looking some alternative WDF API's for below WDM Api's:
> KeWaitForSingleObject
> IoSetCancelRoutine
>
> Is WdfWaitlockCreate can be used instead of KeInitializeMutex?
> Is WdfSpinlockCreate can be used instead of WdfSpinlockCreate?
>
> Thanks,
> Prafulla
>
>

From: kota on
Hi Don,

I had gone through that link earlier, it was a good one to start, but what i
observed what, it was not covering all of the API's, if you have any other
source, which lists all of the WDF Api's or portable API's from WdM to WDF,
could you send me please?

Thanks,
Prafulla

"Don Burn" wrote:

> See the Porting WDM to WDF links at
> http://www.microsoft.com/whdc/driver/wdf/KMDF.mspx
>
>
>
> --
> Don Burn (MVP, Windows DDK)
> Windows 2k/XP/2k3 Filesystem and Driver Consulting
> Website: http://www.windrvr.com
> Blog: http://msmvps.com/blogs/WinDrvr
> Remove StopSpam to reply
>
> "kota" <kota(a)discussions.microsoft.com> wrote in message
> news:339BB72B-6735-4EB2-944D-C517039FF208(a)microsoft.com...
> > Hi,
> >
> > Is there is any document/link/list available of WDF API's and also is
> > there
> > any info available WDF API vs WDM API, I guess, this would be very much
> > useful, while porting the driver from WDM/NT model to WDF driver.
> >
> > I am looking some alternative WDF API's for below WDM Api's:
> > KeWaitForSingleObject
> > IoSetCancelRoutine
> >
> > Is WdfWaitlockCreate can be used instead of KeInitializeMutex?
> > Is WdfSpinlockCreate can be used instead of WdfSpinlockCreate?
> >
> > Thanks,
> > Prafulla
> >
> >
>
>
>
From: Don Burn on
As far as I know there is no more information. Consider that even though
KMDF runs on top of the WDM envronment, the models have significant
differences. This was done, for the simple reason that as WDM grew its
complexity grew even faster.


--
Don Burn (MVP, Windows DDK)
Windows 2k/XP/2k3 Filesystem and Driver Consulting
Website: http://www.windrvr.com
Blog: http://msmvps.com/blogs/WinDrvr
Remove StopSpam to reply



"kota" <kota(a)discussions.microsoft.com> wrote in message
news:A16253D6-A740-45EA-9849-6D9AB1C1AEE7(a)microsoft.com...
> Hi Don,
>
> I had gone through that link earlier, it was a good one to start, but what
> i
> observed what, it was not covering all of the API's, if you have any other
> source, which lists all of the WDF Api's or portable API's from WdM to
> WDF,
> could you send me please?
>
> Thanks,
> Prafulla
>
> "Don Burn" wrote:
>
>> See the Porting WDM to WDF links at
>> http://www.microsoft.com/whdc/driver/wdf/KMDF.mspx
>>
>>
>>
>> --
>> Don Burn (MVP, Windows DDK)
>> Windows 2k/XP/2k3 Filesystem and Driver Consulting
>> Website: http://www.windrvr.com
>> Blog: http://msmvps.com/blogs/WinDrvr
>> Remove StopSpam to reply
>>
>> "kota" <kota(a)discussions.microsoft.com> wrote in message
>> news:339BB72B-6735-4EB2-944D-C517039FF208(a)microsoft.com...
>> > Hi,
>> >
>> > Is there is any document/link/list available of WDF API's and also is
>> > there
>> > any info available WDF API vs WDM API, I guess, this would be very
>> > much
>> > useful, while porting the driver from WDM/NT model to WDF driver.
>> >
>> > I am looking some alternative WDF API's for below WDM Api's:
>> > KeWaitForSingleObject
>> > IoSetCancelRoutine
>> >
>> > Is WdfWaitlockCreate can be used instead of KeInitializeMutex?
>> > Is WdfSpinlockCreate can be used instead of WdfSpinlockCreate?
>> >
>> > Thanks,
>> > Prafulla
>> >
>> >
>>
>>
>>