PRB: NDIS.H Header Has Incorrect NdisReadMcaPosInformationLast reviewed: January 8, 1997Article ID: Q122172 |
The information in this article applies to:
SYMPTOMSAttempting to use NdisReadMcaPosInformation() in a Windows NT network driver may cause compiler warnings and/or undefined behavior at run time.
CAUSEThe function prototype for NdisReadMcaPosInformation is incorrect as listed in the header file NDIS.H. The third parameter is listed as an IN UINT; it should be an OUT PUINT.
RESOLUTIONModify NDIS.H so that the function prototype for NdisReadMcaPosInformation is as follows: VOID NdisReadMcaPosInformation( OUT PNDIS_STATUS Status, IN NDIS_HANDLE WrapperConfigurationContext, OUT PUINT ChannelNumber, OUT PNDIS_MCA_POS_DATA McaData );STATUS This behavior is by design.
|
KBCategory: kbnetwork kbtool kbprb
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |