Export (0) Print
Expand All

Do I need to call WPP_CHECK_FOR_NULL_STRING?

Starting with the Windows 7 version of the Windows Driver Kit (WDK), the tracing components automatically check for NULL strings in the arguments that you pass in to the tracing functions. As a result, you do not have to call WPP_CHECK_FOR_NULL_STRING to verify each argument in order to prevent NULL strings from causing an exception.

If you build your trace provider (such as a driver or application) with the Windows 7 and later versions of the WDK, you can remove the WPP_CHECK_FOR_NULL_STRING macro from your source code.

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft