DOC: Error Incorrect NdisMWriteLogData Return Value (194637)



The information in this article applies to:

  • Microsoft Win32 Device Driver Kit (DDK) for Windows NT 4.0
  • Microsoft Win32 Device Driver Kit (DDK) 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.

Modification Type:MinorLast Reviewed:7/22/2004
Keywords:kbdocerr kbNDIS KB194637