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