Problem with NdisReadPortUchar

Hello Everybody!

I seem to have a problem with the usage of this function:
NdisReadPortUchar.

The code is something like this:

NdisReadPortUchar(MyAdapter->NdisAdapterHandle,
(ULONG)MyAdapter->PortAddress, (PUCHAR)(pData));

The error on compilation is:
left of ‘PortOffset’ specifies
undefined struct
‘READ_PORT_UCHAR’ : too few actual
parameters

Has anybody else faced this problem with this function before?

I have also checked out the functions:
NdisReadPortBufferUchar
NdisReadPortBufferUlong
NdisReadPortBufferUshort
NdisReadPortUlong
NdisReadPortUshort
and am getting the same error message.

Could anybody help me out???

Regards,
Bhargav


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