open-insight/SYSPROG/STPROCINS/MSWIN_LOADIMAGE_EQUATES.txt
2024-03-25 15:17:34 -07:00

57 lines
2.1 KiB
Plaintext

compile insert msWin_LoadImage_Equates
/*
** Copyright (C) 2013 Revelation Software Inc. All Rights Reserved **
Author Mr C
Date Feb 2013
Purpose Equates for use with the WINAPI LoadImage function
Comments
========
Amended Date Reason
======= ==== ======
*/
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
#ifndef _MSWIN_LOADIMAGE_EQUATES_
#define _MSWIN_LOADIMAGE_EQUATES_
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
declare function msWin_LoadImage, msWin_LoadImageByResID
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
equ IMAGE_BITMAP$ to 0
equ IMAGE_ICON$ to 1
equ IMAGE_CURSOR$ to 2
equ IMAGE_ENHMETAFILE$ to 3
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
equ LR_DEFAULTCOLOR$ to 0x0000
equ LR_MONOCHROME$ to 0x0001
equ LR_COLOR$ to 0x0002
equ LR_COPYRETURNORG$ to 0x0004
equ LR_COPYDELETEORG$ to 0x0008
equ LR_LOADFROMFILE$ to 0x0010
equ LR_LOADTRANSPARENT$ to 0x0020
equ LR_DEFAULTSIZE$ to 0x0040
equ LR_VGACOLOR$ to 0x0080
equ LR_LOADMAP3DCOLORS$ to 0x1000
equ LR_CREATEDIBSECTION$ to 0x2000
equ LR_COPYFROMRESOURCE$ to 0x4000
equ LR_SHARED$ to 0x8000
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
#endif
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////