Changeset 360 for trunk/hlpmgr/utility.c
- Timestamp:
- Jun 18, 2009, 8:55:46 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/hlpmgr/utility.c
r26 r360 1 #include <stdlib.h> 1 #include <stdlib.h> 2 2 #include <string.h> 3 3 … … 8 8 { 9 9 ULONG buffer; 10 DosQuerySysInfo( QSV_BOOT_DRIVE, 10 DosQuerySysInfo( QSV_BOOT_DRIVE, 11 11 QSV_BOOT_DRIVE, 12 12 & buffer, … … 40 40 while( TRUE ) 41 41 { 42 parent = WinQueryWindow( hwnd, QW_PARENT ); 42 parent = WinQueryWindow( hwnd, QW_PARENT ); 43 43 if ( parent == hDesktopWindow 44 44 || parent == NULLHANDLE ) 45 45 // this is a frame (top level) window 46 46 break; 47 hwnd = parent; 47 hwnd = parent; 48 48 } 49 49 … … 61 61 LogEvent( "IsStandardWindowClass" ); 62 62 63 if ( WinQueryClassName( hwnd, 63 if ( WinQueryClassName( hwnd, 64 64 sizeof( szClassName ), 65 65 szClassName ) == 0 ) … … 87 87 char* source ) 88 88 { 89 if ( *dest != NULL ) 89 if ( *dest != NULL ) 90 90 { 91 91 free( *dest ); 92 92 *dest = NULL; 93 93 } 94 95 if ( source == NULL ) 94 95 if ( source == NULL ) 96 96 return; 97 97 … … 99 99 strcpy( *dest, source ); 100 100 } 101 101
Note:
See TracChangeset
for help on using the changeset viewer.