"globals" data structure and "port" data structure in wdm sample mouclass

hi every1 , there are two data structures globals and port in mouclass.h contained in wdm sample mouclass. can any1 please help me to describe what is their purpose and how does the members it contains for e.g. “ConnectOneClassToOnePort” in global data structure gets intialized i.e how does it gets a value , is it implicit or explicit?. i have read wdm programmign from walter oney and now i am just trying to understand wdm concepts using sample mouclass driver and any help in the context of understanding this mouclass driver will be appreciated as i m feeling saturated while reading the sample.

thank u.

Mouclass is not a great example to start from, but did you do a search in the one and only source file, mouclass.c, for ConnectOneClassToOnePort to see where it is referenced and assigned a value? That will clearly show you what the initial value is, how it changes, and how it gets used.

d

-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of xxxxx@gmail.com
Sent: Saturday, February 19, 2011 10:57 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] “globals” data structure and “port” data structure in wdm sample mouclass

hi every1 , there are two data structures globals and port in mouclass.h contained in wdm sample mouclass. can any1 please help me to describe what is their purpose and how does the members it contains for e.g. “ConnectOneClassToOnePort” in global data structure gets intialized i.e how does it gets a value , is it implicit or explicit?. i have read wdm programmign from walter oney and now i am just trying to understand wdm concepts using sample mouclass driver and any help in the context of understanding this mouclass driver will be appreciated as i m feeling saturated while reading the sample.

thank u.


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

If you’re just starting, you might want to consider using KMDF instead of
WDM. I would imagine that that sounds unappealing, having just read a WDM
book, but you’ll be able to use all that WDM knowledge with KMDF (as it
wraps WDM), and KMDF is definitely friendlier.

Whether you go with KMDF or WDM, you might want to take a look at ‘toaster’
(src/general/toaster/kmdf OR src/general/toaster/wdm). It’s kind of the
‘tutorial’ WDM/KMDF sample.

Good luck,

mm
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Doron Holan
Sent: Sunday, February 20, 2011 2:17 AM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] “globals” data structure and “port” data structure in
wdm sample mouclass

Mouclass is not a great example to start from, but did you do a search in
the one and only source file, mouclass.c, for ConnectOneClassToOnePort to
see where it is referenced and assigned a value? That will clearly show you
what the initial value is, how it changes, and how it gets used.

d

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of xxxxx@gmail.com
Sent: Saturday, February 19, 2011 10:57 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] “globals” data structure and “port” data structure in wdm
sample mouclass

hi every1 , there are two data structures globals and port in mouclass.h
contained in wdm sample mouclass. can any1 please help me to describe what
is their purpose and how does the members it contains for e.g.
“ConnectOneClassToOnePort” in global data structure gets intialized i.e how
does it gets a value , is it implicit or explicit?. i have read wdm
programmign from walter oney and now i am just trying to understand wdm
concepts using sample mouclass driver and any help in the context of
understanding this mouclass driver will be appreciated as i m feeling
saturated while reading the sample.

thank u.


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


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

@Doron Holan :thanks for the reply…ya i searched in mouclass.h too . there these two structures are defined and in mouclass.c the value in them is tested…but i cant find from where it is initialized a value,actually i have just finished reading some basic concepts on wdm and now i am trying to implement or understand them using a sample …and u just pointed out tat its not a gud sample to start with,tats what i m feeling too…can u suggest smthing using which i can practically learn this concepts and that too in freindly way…

@mm: thanks for the reply,actually i have just finished reading wdm concepts and now i want to learn them in implementation part using a wdm sample…u pointed out to use kmdf sample…right …so i just want to know should switching to kmdf toaster or wdm toaster will ease my task ,and also kmdf toaster will really be better then wdm 1 as i only know wdm concepts,and also i m just a beginner or any other valuable suggestions so that i can learn this concepts using a practical sample and that too in friendly way ?

The kmdf toaster sample would be a better place to start. In fact, look at both the wdm and kmdf versions, you will quickly see which is easier to understand.

d

dent from a phine with no keynoard

-----Original Message-----
From: xxxxx@gmail.com
Sent: Monday, February 21, 2011 4:04 AM
To: Windows System Software Devs Interest List
Subject: RE:[ntdev] “globals” data structure and “port” data structure in wdm sample mouclass

@Doron Holan :thanks for the reply…ya i searched in mouclass.h too . there these two structures are defined and in mouclass.c the value in them is tested…but i cant find from where it is initialized a value,actually i have just finished reading some basic concepts on wdm and now i am trying to implement or understand them using a sample …and u just pointed out tat its not a gud sample to start with,tats what i m feeling too…can u suggest smthing using which i can practically learn this concepts and that too in freindly way…

@mm: thanks for the reply,actually i have just finished reading wdm concepts and now i want to learn them in implementation part using a wdm sample…u pointed out to use kmdf sample…right …so i just want to know should switching to kmdf toaster or wdm toaster will ease my task ,and also kmdf toaster will really be better then wdm 1 as i only know wdm concepts,and also i m just a beginner or any other valuable suggestions so that i can learn this concepts using a practical sample and that too in friendly way ?


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

Pretty much, and you’ll find that your wdm will very much help with kmdf
too.

Good luck,

Mm
On Feb 21, 2011 10:42 AM, “Doron Holan” wrote:
> The kmdf toaster sample would be a better place to start. In fact, look at
both the wdm and kmdf versions, you will quickly see which is easier to
understand.
>
> d
>
> dent from a phine with no keynoard
>
> -----Original Message-----
> From: xxxxx@gmail.com
> Sent: Monday, February 21, 2011 4:04 AM
> To: Windows System Software Devs Interest List
> Subject: RE:[ntdev] “globals” data structure and “port” data structure in
wdm sample mouclass
>
>
> @Doron Holan :thanks for the reply…ya i searched in mouclass.h too .
there these two structures are defined and in mouclass.c the value in them
is tested…but i cant find from where it is initialized a value,actually i
have just finished reading some basic concepts on wdm and now i am trying to
implement or understand them using a sample …and u just pointed out tat its
not a gud sample to start with,tats what i m feeling too…can u suggest
smthing using which i can practically learn this concepts and that too in
freindly way…
>
> @mm: thanks for the reply,actually i have just finished reading wdm
concepts and now i want to learn them in implementation part using a wdm
sample…u pointed out to use kmdf sample…right …so i just want to know
should switching to kmdf toaster or wdm toaster will ease my task ,and also
kmdf toaster will really be better then wdm 1 as i only know wdm
concepts,and also i m just a beginner or any other valuable suggestions so
that i can learn this concepts using a practical sample and that too in
friendly way ?
>
> —
> 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
>
>
> —
> 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

That should have read ‘wdm knowledge.’

Mm
On Feb 21, 2011 6:10 PM, “Martin O’Brien” <
xxxxx@gmail.com> wrote:

Pretty much, and you’ll find that your wdm will very much help with kmdf
too.

Good luck,

Mm
On Feb 21, 2011 10:42 AM, “Doron Holan” wrote:
>> The kmdf toaster sample would be a better place to start. In fact, look
at
> both the wdm and kmdf versions, you will quickly see which is easier to
> understand.
>>
>> d
>>
>> dent from a phine with no keynoard
>>
>> -----Original Message-----
>> From: xxxxx@gmail.com
>> Sent: Monday, February 21, 2011 4:04 AM
>> To: Windows System Software Devs Interest List
>> Subject: RE:[ntdev] “globals” data structure and “port” data structure in
> wdm sample mouclass
>>
>>
>> @Doron Holan :thanks for the reply…ya i searched in mouclass.h too .
> there these two structures are defined and in mouclass.c the value in them
> is tested…but i cant find from where it is initialized a value,actually
i
> have just finished reading some basic concepts on wdm and now i am trying
to
> implement or understand them using a sample …and u just pointed out tat
its
> not a gud sample to start with,tats what i m feeling too…can u suggest
> smthing using which i can practically learn this concepts and that too in
> freindly way…
>>
>> @mm: thanks for the reply,actually i have just finished reading wdm
> concepts and now i want to learn them in implementation part using a wdm
> sample…u pointed out to use kmdf sample…right …so i just want to know
> should switching to kmdf toaster or wdm toaster will ease my task ,and
also
> kmdf toaster will really be better then wdm 1 as i only know wdm
> concepts,and also i m just a beginner or any other valuable suggestions
so
> that i can learn this concepts using a practical sample and that too in
> friendly way ?
>>
>> —
>> 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
>>
>>
>> —
>> 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

thanks everybody…