Click to Rate and Give Feedback
MSDN
MSDN Library
Core OS Services
Core OS Reference
Debugging Reference
Debugging Macros
 DEBUGZONE

  Switch on low bandwidth view
DEBUGZONE
Windows Mobile SupportedWindows Embedded CE Supported
8/28/2008

This macro associates a mask bit with a zone.


DEBUGZONE (ulZoneMask) 
ulZoneMask

The mask bit to be associated with a zone.

A Boolean that you can use to control the output of debug messages for a particular debug zone.

You can set debugging zones in the registry on the development workstation.

The following example shows how to associate bit 0 of a mask bit with an INFO zone.

#define ZONE_INFO   DEBUGZONE(0)

In this example, ZONE_INFO could be used to as an argument to DEBUGMSG to provide a conditional debugging message.

Headerdbgapi.h
Windows Embedded CEWindows CE 2.10 and later
Windows MobileWindows Mobile Version 5.0 and later

Reference

DEBUGMSG

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker