TRACE3( exp, param1, param2, param3 )
Parameters
exp
A format string as used in the run-time function printf.
param1
The name of the variable whose value should be dumped.
param2
The name of the variable whose value should be dumped.
param3
The name of the variable whose value should be dumped.
Remarks
See TRACE0 for a description of the TRACE3 macro.
Example
// example for TRACE3
// get the display context
HDC hdc = ::GetDC(NULL);
// get information about the display
int nVertRes = ::GetDeviceCaps(hdc, VERTRES);
int nHorzRes = ::GetDeviceCaps(hdc, HORZRES);
int nDepth = ::GetDeviceCaps(hdc, BITSPIXEL);
// done with the DC, give it back
::ReleaseDC(hdc);
// tell the user
TRACE3("Your screen is at %d by %d resolution, with %d bits per pixel\n",
nHorzRes, nVertRes, nDepth);