共用方式為


DEBUGZONE

A version of this page is also available for

Windows Embedded CE 6.0 R3

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.

#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.

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