次の方法で共有


DEBUGZONE (Windows Embedded CE 6.0)

1/6/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

See Also

Reference

Debugging Macros
DEBUGMSG