DOC: Error Incorrect NdisMWriteLogData Return Value
Article ID: 194637
Article Last Modified on 7/22/2004
APPLIES TO
- Microsoft Win32 Device Driver Kit for Windows NT 4.0
- Microsoft Win32 Device Driver Kit for Windows NT 3.51
This article was previously published under Q194637
SUMMARY
The documentation for NdisMWriteLogData states a possible return value as:
NDIS_STATUS_FAILURE
The given LogBufferSize is too large, that is, larger than the log file
itself.
This is incorrect. The correct return value is:
NDIS_STATUS_BUFFER_OVERFLOW.
MORE INFORMATION
The log is simply a circular buffer, so multiple writes can eventually
overwrite the head.
This documentation error has been corrected in the Windows 2000 DDK's and later.
Additional query words: NDIS NdisMWriteLogData NdisMCreateLog
Keywords: kbndis kbdocerr KB194637