This topic has not yet been rated - Rate this topic

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

Build date: 5/7/2013

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.