DOC: Error Incorrect NdisMWriteLogData Return Value

ID: 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 kbNTOS400
Version :
Platform :
Issue type :


Last Reviewed: March 6, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.