Hi ppl,
Is there any NdisXXX Call to compare memory ? i want
to compare 2 unsigned long values in my Ndis Driver
(which should be Ndis 4.0 & Ndis 5.0 compatible)
Ndis 5.0 defines NdisEqualMemory, But i don’t find any
such call in Ndis 4.0, i don’t want to use
NdisEqualString as it requires to use UNICODE_STRING.
Any Help ?
Thanx & Regards
Do You Yahoo!?
Send a newsletter, share photos & files, conduct polls, organize chat events. Visit http://in.groups.yahoo.com
You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
“Driver gal” wrote in message news:xxxxx@ntdev…
> i want
> to compare 2 unsigned long values in my Ndis Driver
>…
> Any Help ?
>
I must be missing something…
ULONG fred, bob;
// … stuff here
if (fred < bob) {
//
// do whatever you want
//
}
No special NDIS functionality required.
Peter
OSR
—
You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
> Is there any NdisXXX Call to compare memory ? i want
to compare 2 unsigned long values in my Ndis Driver
Why not compare them by “==”?
Max
You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
Hi,
Thanx Peter & Max for U’r Response.
Sorry for not properly framing my question.
I need to compare IPv4 address which is in network
byte order. I’d like to know how to do this ?
Any suggestios ?
“Driver gal” wrote in message
news:xxxxx@ntdev…
> i want
> to compare 2 unsigned long values in my Ndis Driver
>…
> Any Help ?
>
I must be missing something…
ULONG fred, bob;
// … stuff here
if (fred < bob) {
//
// do whatever you want
//
}
No special NDIS functionality required.
Peter
OSR
____________________________________________________________
Do You Yahoo!?
Send a newsletter, share photos & files, conduct polls, organize chat events. Visit http://in.groups.yahoo.com
—
You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com