Changeset 164 for trunk/include
- Timestamp:
- May 13, 2002, 7:49:28 AM (23 years ago)
- Location:
- trunk/include/helpers
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/helpers/except.h
r121 r164 79 79 PFN pfnHandler; // as in EXCEPTIONREGISTRATIONRECORD 80 80 jmp_buf jmpThread; // additional buffer for setjmp 81 // PFNEXCONKILL pfnOnKill; // subroutine to call upon process/thread termination81 EXCEPTIONREPORTRECORD err; // exception handlers copy the report rec here 82 82 PVOID pvUser; // user ptr 83 83 } EXCEPTIONREGISTRATIONRECORD2; -
trunk/include/helpers/gpih.h
r154 r164 175 175 PCH pchString); 176 176 typedef GPIHCHARSTRINGPOSAT *PGPIHCHARSTRINGPOSAT; 177 178 /* 179 *@@ BKGNDINFO: 180 * background information passed into 181 * gpihFillBackground. 182 * 183 * The color flags apply always. The 184 * bitmap flags apply only if hbm is 185 * not NULLHANDLE. 186 * 187 *@@added V0.9.19 (2002-05-07) [umoeller] 188 */ 189 190 typedef struct _BKGNDINFO 191 { 192 ULONG flPaintMode; 193 // a combination of one of the color 194 // flags and one of the bitmap flags: 195 // a) color flags 196 #define PMOD_COLORMASK 0x000F 197 #define PMOD_SOLID 0x0000 // solid color, use lcol1 198 #define PMOD_TOPBOTTOM 0x0001 // spectrum, lcol1 = top, lcol2 = bottom 199 #define PMOD_LEFTRIGHT 0x0002 // spectrum, lcol1 = left, lcol2 = right 200 // b) bitmap flags 201 #define PMOD_BMPMASK 0x00F0 202 #define PMOD_BMP_CENTER 0x0000 // center the bitmap 203 #define PMOD_BMP_SCALE_X 0x0002 // scale the bitmap to size in prcl, 204 // respect lScale 205 #define PMOD_BMP_TILE 0x0004 // tile the bitmap 206 207 LONG lcol1, // color 1 (RGB) 208 lcol2; // color 2 (RGB) 209 210 HBITMAP hbm; // bitmap or NULLHANDLE if none 211 ULONG lScale; // only with PMOD_BMP_SCALE_X: how many times 212 // the bmp should be scaled (as with WPS 213 // folder "Background" page); this cannot 214 // be zero then 215 216 } BKGNDINFO, *PBKGNDINFO; 217 218 VOID gpihFillBackground(HPS hps, 219 PRECTL prcl, 220 PBKGNDINFO pInfo); 177 221 178 222 /* ****************************************************************** -
trunk/include/helpers/memdebug.h
r123 r164 43 43 44 44 #ifndef __stdlib_h // <stdlib.h> 45 #error stdlib.h must be included before memdebug.h. 45 // #error stdlib.h must be included before memdebug.h. 46 typedef unsigned int size_t; 47 #endif 48 49 #ifndef NULL 50 #if (defined(__EXTENDED__) || defined( __cplusplus )) 51 #define NULL 0 52 #else 53 #define NULL ((void *)0) 54 #endif 46 55 #endif 47 56 … … 146 155 147 156 #ifndef DONT_REPLACE_MALLOC 157 158 #ifdef malloc 159 #undef malloc 160 #endif 148 161 #define malloc(ul) memdMalloc(ul, __FILE__, __LINE__, __FUNCTION__) 162 163 #ifdef calloc 164 #undef calloc 165 #endif 149 166 #define calloc(n, size) memdCalloc(n, size, __FILE__, __LINE__, __FUNCTION__) 167 168 #ifdef realloc 169 #undef realloc 170 #endif 150 171 #define realloc(p, ul) memdRealloc(p, ul, __FILE__, __LINE__, __FUNCTION__) 172 173 #ifdef free 174 #undef free 175 #endif 151 176 #define free(p) memdFree(p, __FILE__, __LINE__, __FUNCTION__) 152 177 … … 159 184 #endif 160 185 186 // tell other headers that these have been replaced 161 187 #define __DEBUG_MALLOC_ENABLED__ 162 188
Note:
See TracChangeset
for help on using the changeset viewer.