You can use the latest WDK to build straight WDM or WDF drivers. I assume
you want to go the WDM route because you want to know what's going on under
the hood of WDF. I applaud your desire to do your due diligence in
understanding this space.
For a fair example of WDM and a great place to start I would look at the
Toaster sample. The func sample is your typical functional WDM device
driver. That will show you all the PnP and Power code that goes into a WDM
driver plus setting up device interfaces for communication with user-mode
and a lot more. The really nice thing about Toaster is it isn't tied to any
real hardware so you can install it easily and play around with it and
learn.
Good luck. Btw, cross-posting is generally frowned upon around here and
especially in the DTM newsgroup.
Bill M.
"MdmDriver" <(E-Mail Removed)> wrote in message
news:Op87$(E-Mail Removed)...
>
> Thank you Doron Holan,
>
> I have downloaded the cdc spec, started reading that one, i understand
> that kmdf will simply my work and it is a part of WDF the next generation
> ddk, some how i would like to develop WDM driver using Winxp ddk, later i
> would try it using WDF.
>
> please tell me what would be the first coding step i am suppose to do,
> like hello world kind of thing in driver development?
>
> -Bob
>
> "Doron Holan [MSFT]" <(E-Mail Removed)> wrote in message
> news:%(E-Mail Removed)...
>> more then likely the modem implemented the usb CDC (communication device
>> class) specification. download the CDC spec from http://usb.org. i
>> would also suggest you get the KMDF book and learn KMDF, it will
>> drastically shorten your dev time. of course if they driver does nto
>> comply to the cdc spec, you have to ask the vendor for the interface
>> spec.
>>
>> 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.
>>
>>
>> "MdmDriver" <(E-Mail Removed)> wrote in message
>> news:(E-Mail Removed)...
>>> Hi Everyone,
>>>
>>> I have a usb modem and driver provided by the vendor, both are working
>>> fine on WindowsXP.
>>> For learning purpose, i want to develop a driver for this modem on
>>> Windows XP.
>>> Prepartion i have done are as follows
>>>
>>> I am a VC++ programer,
>>> have read Jan Axelson's USB complete
>>> have read few chapters from Windows driver model by Walter Oney
>>> have knowledge about UART, Hayes AT modem commands, little bit about
>>> windows services
>>> have windows xp ddk installed
>>>
>>> now i wonder where to start and what should be the step by step approach
>>> for this ?
>>>
>>> please advise me
>>>
>>>
>>>
>>
>
>