35 lines
1.5 KiB
Plaintext
35 lines
1.5 KiB
Plaintext
compile insert msWin_FormatMessage_Equates
|
|
/*
|
|
** Copyright (C) 2012 Revelation Software Inc. All Rights Reserved **
|
|
|
|
Author Captain C
|
|
Date Oct 2012
|
|
Purpose Equates for use with the Windows API FormatMessage function
|
|
|
|
Amended Date Reason
|
|
======= ==== ======
|
|
*/
|
|
declare function msWin_FormatMessage, msWin_GetLastError
|
|
|
|
////////////////////////////////////////////////////////////////////////////////
|
|
////////////////////////////////////////////////////////////////////////////////
|
|
#ifndef _MSWIN_FORMATMESSAGE_EQUATES_
|
|
#define _MSWIN_FORMATMESSAGE_EQUATES_
|
|
////////////////////////////////////////////////////////////////////////////////
|
|
////////////////////////////////////////////////////////////////////////////////
|
|
|
|
equ FORMAT_MESSAGE_ALLOCATE_BUFFER$ to 0x100
|
|
equ FORMAT_MESSAGE_IGNORE_INSERTS$ to 0x200
|
|
equ FORMAT_MESSAGE_FROM_STRING$ to 0x400
|
|
equ FORMAT_MESSAGE_FROM_HMODULE$ to 0x800
|
|
equ FORMAT_MESSAGE_FROM_SYSTEM$ to 0x1000
|
|
equ FORMAT_MESSAGE_ARGUMENT_ARRAY$ to 0x2000
|
|
equ FORMAT_MESSAGE_MAX_WIDTH_MASK$ to 255
|
|
|
|
////////////////////////////////////////////////////////////////////////////////
|
|
////////////////////////////////////////////////////////////////////////////////
|
|
#endif
|
|
////////////////////////////////////////////////////////////////////////////////
|
|
////////////////////////////////////////////////////////////////////////////////
|
|
|