Changeset 7342 for trunk/src/user32/msgbox.c
- Timestamp:
- Nov 14, 2001, 7:39:52 PM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/msgbox.c
r7337 r7342 1 /* $Id: msgbox.c,v 1. 5 2001-11-14 12:57:28 phallerExp $ */1 /* $Id: msgbox.c,v 1.6 2001-11-14 18:33:03 sandervl Exp $ */ 2 2 /* 3 3 * Message boxes (based on Wine code) … … 298 298 UINT type ) 299 299 { 300 INT ret;301 302 #ifdef __WIN32OS2__303 LPSTR titleA;304 LPSTR textA;305 STACK_strdupWtoA(title, titleA)306 STACK_strdupWtoA(text, textA)307 #else308 300 LPSTR titleA = HEAP_strdupWtoA( GetProcessHeap(), 0, title ); 309 301 LPSTR textA = HEAP_strdupWtoA( GetProcessHeap(), 0, text ); 310 #endif 302 INT ret; 311 303 312 304 ret = MessageBoxA( hwnd, textA, titleA, type ); 313 314 #ifndef __WIN32OS2__315 305 HeapFree( GetProcessHeap(), 0, titleA ); 316 306 HeapFree( GetProcessHeap(), 0, textA ); 317 #endif318 307 return ret; 319 308 }
Note:
See TracChangeset
for help on using the changeset viewer.