RE: unresolved external symbol NDIS_PORT_TO_PORT by Woojung_DOT_Huh_AT_smsc_DOT_com>
Woojung_DOT_Huh_AT_smsc_DOT_com>
Mon Apr 25 20:44:03 CDT 2005
Jeffs,
I missed NDIS_PORT_TO_PORT at the macro of "NdisReadPortUshort()". :-(
As you mentioned, NDIS_PORT_TO_PORT is not defined anyway.
I don't know about Desktop DDK but I read that it was old (Win98?) NDIS API.
I'm not sure but it might be NDIS API for PC.
Woojung
"jeffs" wrote:
> Hi woojung,
>
> Thanks for the response. Not quite sure I understand what
> you are telling me. ndisreadportushort() is defined in
> ndis.h as:
>
> #define NdisReadPortUshort(Handle,Port,Data) \
> NdisRawReadPortUshort(NDIS_PORT_TO_PORT((Handle),(Port)),(Data))
>
> However, I can not find where NDIS_PORT_TO_PORT(,) is
> defined. Let me know if I am misunderstanding something here.
>
> Thanks! -Jeff
>
>
>
> >-----Original Message-----
> >NdisReadPortUshort() is macro of NdisRawReadPortUshort() and
> >NdisRawReadPortUshort() is marco of READ_PORT_USHORT() at
> ndis.h.
> >
> >It seems that you defined (or defined by someone)
> READ_PORT_USHORT() to
> >NDIS_PORT_TO_PORT().
> >
> >Woojung
> >
> >"jeffs" wrote:
> >
> >> Hello,
> >>
> >> I am modifying an NDIS driver and I keep getting the error
> >> message
> >> "unresolved external symbol NDIS_PORT_TO_PORT "
> >>
> >> when calling the function: "NdisReadPortUshort"
> >>
> >> I can not figure out where this macro is defined. A
> >> general text search on the entire OS install does not
> >> reveal it. Can someone tell me where this MACRO is located?
> >>
> >> Platform : PXA255
> >> OS : winCE 4.2
> >>
> >> Thanks in advance -Jeff
> >>
> >>
> >.
> >
>