次の方法で共有


DEBUGZONE (Compact 2013)

3/28/2014

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 value that may be used to control the output of debug messages for a particular debug zone.

Remarks

This macro may be used to control the output of debugging messages by zone. Debugging zones may be set through the registry on the development computer.

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

See Also

Reference

Debugging Macros
DEBUGMSG