Changeset 7334 for trunk/src/kernel32/module.cpp
- Timestamp:
- Nov 14, 2001, 1:30:46 PM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kernel32/module.cpp
r6646 r7334 1 /* $Id: module.cpp,v 1. 3 2001-09-05 12:57:59 birdExp $1 /* $Id: module.cpp,v 1.4 2001-11-14 12:30:38 phaller Exp $ 2 2 * 3 3 * GetBinaryTypeA/W (Wine Port) … … 262 262 { 263 263 BOOL ret = FALSE; 264 LPSTR strNew = NULL;265 264 266 265 dprintf(("KERNEL32: GetBinaryTypeW %x %x", lpApplicationName, lpBinaryType)); … … 276 275 /* Convert the wide string to a ascii string. 277 276 */ 278 strNew = HEAP_strdupWtoA( GetProcessHeap(), 0, lpApplicationName ); 277 #ifdef __WIN32OS2__ 278 LPSTR strNew; 279 STACK_strdupWtoA(lpApplicationName, strNew) 280 #else 281 LPSTR strNew = HEAP_strdupWtoA( GetProcessHeap(), 0, lpApplicationName ); 282 #endif 279 283 280 284 if ( strNew != NULL ) … … 284 288 /* Free the allocated string. 285 289 */ 286 HeapFree( GetProcessHeap(), 0, strNew ); 290 #ifndef __WIN32OS2__ 291 HeapFree( GetProcessHeap(), 0, strNew ); 292 #endif 287 293 } 288 294
Note:
See TracChangeset
for help on using the changeset viewer.