Microsoft KB Archive/194637

{|
 * width="100%"|

DOC: Error Incorrect NdisMWriteLogData Return Value

 * }

Q194637

-

The information in this article applies to:


 * Microsoft Win32 Device Driver Kit (DDK) for Windows NT, versions 3.51, 4.0

-

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.

Additional query words: NDIS NdisMWriteLogData NdisMCreateLog

Keywords : kbdocerr kbDDK kbNDIS kbOSWinNT400

Issue type :

Technology : kbAudDeveloper kbWinDDKSearch kbWin32sSearch kbWin32DDKSearch kbWin32DDKNT351 kbWin32DDKNT400 kbWin32DDKNTSearch