Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

This macro associates a mask bit with a zone.

Syntax

DEBUGZONE (
ulZoneMask) 

Parameters

ulZoneMask

The mask bit to be associated with a zone.

Return Value

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

Remarks

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.

Copy Code
#define ZONE_INFO   DEBUGZONE(0)

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

Requirements

Header dbgapi.h
Windows Embedded CE Windows CE 2.10 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

DEBUGMSG