Program Listing for File errors.h¶
↰ Return to documentation for file (blam\res\mc\errors.h
)
// ***** Sample.mc *****
// This is the header section.
// ######################## WARNING ########################
// # If you are viewing errors.h, do NOT edit this file. #
// # Edit errors.mc instead. This file is automatically #
// # generated by MC.EXE and any changes will be reverted #
// # immediately upon build. #
// #########################################################
// The following are message definitions.
//
// Values are 32 bit values laid out as follows:
//
// 3 3 2 2 2 2 2 2 2 2 2 2 1 1 1 1 1 1 1 1 1 1
// 1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0
// +---+-+-+-----------------------+-------------------------------+
// |Sev|C|R| Facility | Code |
// +---+-+-+-----------------------+-------------------------------+
//
// where
//
// Sev - is the severity code
//
// 00 - Success
// 01 - Informational
// 10 - Warning
// 11 - Error
//
// C - is the Customer code flag
//
// R - is a reserved bit
//
// Facility - is the facility code
//
// Code - is the facility's status code
//
//
// Define the facility codes
//
//
// Define the severity codes
//
#define STATUS_SEVERITY_WARNING 0x2
#define STATUS_SEVERITY_SUCCESS 0x0
#define STATUS_SEVERITY_INFORMATIONAL 0x1
#define STATUS_SEVERITY_ERROR 0x3
//
// MessageId: BL_E_FONT_INVALID_DATA
//
// MessageText:
//
// The uncompressed font at the given path contained missing or invalid properties. Check logs for more information.
//
#define BL_E_FONT_INVALID_DATA ((DWORD)0xCFFF0001L)
//
// MessageId: BL_S_FONT_LOADED_OK_BAD_GLYPHS
//
// MessageText:
//
// The uncompressed font at the given path was loaded, but some glyph information was found to be invalid. Check logs for more information.
//
#define BL_S_FONT_LOADED_OK_BAD_GLYPHS ((DWORD)0x4FFF0002L)
//
// MessageId: BL_W_GLYPH_FILE_NOT_FOUND
//
// MessageText:
//
// The glyph image file at the specified path could not be found.
//
#define BL_W_GLYPH_FILE_NOT_FOUND ((DWORD)0x8FFF0003L)
//
// MessageId: BL_E_BITMTEXT_DRAW_FAIL_FONT_NULLPTR
//
// MessageText:
//
// A font with that ID could not be found.
//
#define BL_E_BITMTEXT_DRAW_FAIL_FONT_NULLPTR ((DWORD)0xCFFF0004L)