#include "stdinc.h" #include #include #include "debmacro.h" #include "fusionbuffer.h" #include "util.h" #define PRINTABLE(_ch) (isprint((_ch)) ? (_ch) : '.') #if defined(FUSION_WIN) || defined(FUSION_WIN2000) #define wnsprintfW _snwprintf #define wnsprintfA _snprintf #endif BOOL FusionpFormatFlags( DWORD dwFlagsToFormat, bool fUseLongNames, SIZE_T cMapEntries, PCFUSION_FLAG_FORMAT_MAP_ENTRY prgMapEntries, CBaseStringBuffer &rbuff ) { BOOL fSuccess = FALSE; FN_TRACE_WIN32(fSuccess); CSmallStringBuffer buffTemp; SIZE_T i; for (i=0; i", 6)); IFW32FALSE_EXIT(rbuff.Win32Assign(buffTemp)); fSuccess = TRUE; Exit: return fSuccess; }