MLIB
Loading...
Searching...
No Matches
dprintf.h File Reference

Definition of dprintf() function. More...

Go to the source code of this file.

Macros

#define MAX_DPRINTF_CHARS   1024
 maximum message size
 

Functions

bool dprintf (const char *fmt,...)
 printf style function writes messages using OutputDebugString.
 

Detailed Description

Definition of dprintf() function.

(c) Mircea Neacsu 1999-2000. All rights reserved.

Function Documentation

◆ dprintf()

bool dprintf ( const char *  fmt,
  ... 
)

printf style function writes messages using OutputDebugString.

Message length is limited to MAX_DPRINTF_CHARS characters.

Parameters
fmtprint format
Returns
true if successful, false otherwise
Note
Function is thread-safe. Calls from different threads are serialized by a critical section object.