Changeset 10595 for trunk/src/user32/inituser32.cpp
- Timestamp:
- May 3, 2004, 2:09:01 PM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/inituser32.cpp
r10319 r10595 1 /* $Id: inituser32.cpp,v 1.1 8 2003-11-14 13:44:10sandervl Exp $ */1 /* $Id: inituser32.cpp,v 1.19 2004-05-03 12:09:01 sandervl Exp $ */ 2 2 /* 3 3 * USER32 DLL entry point … … 82 82 char buffer[512]; 83 83 UINT len; 84 84 85 85 if (RegOpenKeyExA(HKEY_LOCAL_MACHINE, REGPATH ,0, KEY_ALL_ACCESS, &hkFonts) == 0) 86 86 { … … 95 95 { 96 96 HDIR hdirFindHandle = HDIR_CREATE; 97 FILEFINDBUF3 FindBuffer = {0}; 97 FILEFINDBUF3 FindBuffer = {0}; 98 98 ULONG ulResultBufLen = sizeof(FILEFINDBUF3); 99 ULONG ulFindCount = 1, ret; 100 APIRET rc = NO_ERROR; 99 ULONG ulFindCount = 1, ret; 100 APIRET rc = NO_ERROR; 101 101 102 102 GetWindowsDirectoryA( buffer, sizeof(buffer) ); … … 104 104 105 105 rc = DosFindFirst( buffer, &hdirFindHandle, FILE_NORMAL,&FindBuffer, ulResultBufLen, &ulFindCount, FIL_STANDARD); 106 //Check that file actaully exist 106 //Check that file actaully exist 107 107 if ( rc == NO_ERROR && !(FindBuffer.attrFile & FILE_DIRECTORY)) 108 108 { … … 121 121 } 122 122 } 123 } 123 } 124 124 DosFindClose(hdirFindHandle); 125 125 } … … 182 182 MigrateWindowsFonts(); 183 183 184 InitClipboardFormats(); 184 185 break; 185 186
Note:
See TracChangeset
for help on using the changeset viewer.