added sysprog entities
This commit is contained in:
34
SYSPROG/STPROCINS/MSWIN_FORMATMESSAGE_EQUATES.txt
Normal file
34
SYSPROG/STPROCINS/MSWIN_FORMATMESSAGE_EQUATES.txt
Normal file
@ -0,0 +1,34 @@
|
||||
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
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
Reference in New Issue
Block a user