PRB: NDIS.H Header Has Incorrect NdisReadMcaPosInformationID: Q122172
|
Attempting to use NdisReadMcaPosInformation() in a Windows NT network driver may cause compiler warnings and/or undefined behavior at run time.
The 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.
Modify 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
);
This behavior is by design.
Additional query words: 3.50 NT DDK KERNEL MODE NDIS MCA
Keywords : kbnetwork
Version : 3.50
Platform : NT WINDOWS
Issue type :
Last Reviewed: March 1, 1999