Changeset 6381 for trunk/include
- Timestamp:
- Jul 21, 2001, 11:10:49 AM (24 years ago)
- Location:
- trunk/include/win
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/win/debugstr.h
r4124 r6381 1 /* $Id: debugstr.h,v 1.3 2000-08-30 13:56:37 sandervl Exp $ */2 1 #ifndef __WINE_DEBUGSTR_H 3 2 #define __WINE_DEBUGSTR_H … … 9 8 as strings are re-used. */ 10 9 11 #define debugstr_a(a) a12 #define debugstr_w(a) a10 #define debugstr_a(a) debugstr_an(a, 80) 11 #define debugstr_w(a) debugstr_wn(a, 80) 13 12 14 13 //extern LPSTR debugstr_a (LPCSTR s); -
trunk/include/win/debugtools.h
r5470 r6381 200 200 static char res[128]; 201 201 202 if (!src) return "(null)"; 202 if (!HIWORD(src)) 203 { 204 if (!src) return "(null)"; 205 sprintf(res, "#%04x", LOWORD(src) ); 206 return res; 207 } 203 208 if (n > sizeof(res)) return "(null)"; 204 209 … … 246 251 static char res[128]; 247 252 248 if (!src) return "(null)"; 253 if (!HIWORD(src)) 254 { 255 if (!src) return "(null)"; 256 sprintf(res, "#%04x", LOWORD(src) ); 257 return res; 258 } 249 259 if (n > sizeof(res)) return "(null)"; 250 260 if (n < 0) n = 0; -
trunk/include/win/winuser.h
r5593 r6381 1290 1290 POINT pt; 1291 1291 } MSG, *PMSG, *NPMSG, *LPMSG; 1292 1293 #define POINTSTOPOINT(pt, pts) \ 1294 { (pt).x = (LONG)(SHORT)LOWORD(*(LONG*)&pts); \ 1295 (pt).y = (LONG)(SHORT)HIWORD(*(LONG*)&pts); } 1296 1297 #define POINTTOPOINTS(pt) (MAKELONG((short)((pt).x), (short)((pt).y))) 1292 1298 1293 1299
Note:
See TracChangeset
for help on using the changeset viewer.