Changeset 93 for trunk/include/helpers
- Timestamp:
- Aug 3, 2001, 8:52:44 PM (24 years ago)
- Location:
- trunk/include/helpers
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/helpers/dosh.h
r91 r93 725 725 726 726 // New Executable (NE) header, if ulExeFormat == EXEFORMAT_NE 727 #ifndef __STRIP_DOWN_EXECUTABLE__ // for mini stubs in warpin, to reduce code size 727 728 PNEHEADER pNEHeader; 728 729 ULONG cbNEHeader; 730 #endif 729 731 730 732 // Linear Executable (LX) header, if ulExeFormat == EXEFORMAT_LX … … 733 735 734 736 // Portable Executable (PE) header, if ulExeFormat == EXEFORMAT_PE 737 #ifndef __STRIP_DOWN_EXECUTABLE__ // for mini stubs in warpin, to reduce code size 735 738 PPEHEADER pPEHeader; 736 739 ULONG cbPEHeader; 737 740 #endif 738 741 // module analysis (always set): 739 742 ULONG ulExeFormat; -
trunk/include/helpers/gpih.h
r91 r93 78 78 #define RGBCOL_DARKYELLOW 0x00808000 79 79 #define RGBCOL_DARKGRAY 0x00808080 80 81 /* 82 *@@ GET_BLUE: 83 * gets the BLUE (first) byte from a 84 * LONG RGB value. 85 * 86 *@@added V0.9.14 (2001-08-03) [umoeller] 87 */ 88 89 #define GET_BLUE(lcol) *( ((PBYTE)(&(lcol))) ) 90 91 /* 92 *@@ GET_GREEN: 93 * gets the GREEN (second) byte from a 94 * LONG RGB value. 95 * 96 *@@added V0.9.14 (2001-08-03) [umoeller] 97 */ 98 99 #define GET_GREEN(lcol) *( ((PBYTE)(&(lcol))) + 1 ) 100 101 /* 102 *@@ GET_RED: 103 * gets the RED (third) byte from a 104 * LONG RGB value. 105 * 106 *@@added V0.9.14 (2001-08-03) [umoeller] 107 */ 108 109 #define GET_RED(lcol) *( ((PBYTE)(&(lcol))) + 2 ) 110 111 /* 112 *@@ MAKE_RGB: 113 * composes a LONG color value from 114 * three BYTE values for red, green, 115 * and blue. 116 * 117 *@@added V0.9.14 (2001-08-03) [umoeller] 118 */ 119 120 #define MAKE_RGB(r, g, b) (LONG)((BYTE)(b)) + (((LONG)((BYTE)(g))) << 8) + (((LONG)((BYTE)(r))) << 16) 80 121 81 122 VOID XWPENTRY gpihManipulateRGB(PLONG plColor, double dFactor);
Note:
See TracChangeset
for help on using the changeset viewer.