Changeset 1063 for trunk/dll/newview.c
- Timestamp:
- Jul 11, 2008, 5:33:36 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/newview.c
r1039 r1063 934 934 935 935 priority_normal(); 936 # ifdef FORTIFY 937 Fortify_EnterScope(); 938 # endif 936 939 hab2 = WinInitialize(0); 937 940 if (hab2) { 938 941 hmq2 = WinCreateMsgQueue(hab2, 0); 939 942 if (hmq2) { 940 # ifdef FORTIFY941 Fortify_EnterScope();942 # endif943 943 WinCancelShutdown(hmq2, TRUE); 944 944 IncrThreadUsage(); … … 1068 1068 } 1069 1069 WinDestroyMsgQueue(hmq2); 1070 # ifdef FORTIFY1071 Fortify_LeaveScope();1072 # endif1073 1070 } 1074 1071 DecrThreadUsage(); 1075 1072 WinTerminate(hab2); 1076 1073 } 1074 1075 # ifdef FORTIFY 1076 Fortify_LeaveScope(); 1077 # endif 1077 1078 DosPostEventSem(CompactSem); 1078 1079 } … … 1090 1091 1091 1092 priority_normal(); 1093 # ifdef FORTIFY 1094 Fortify_EnterScope(); 1095 # endif 1092 1096 hab2 = WinInitialize(0); 1093 1097 if (hab2) { … … 1096 1100 WinCancelShutdown(hmq2, TRUE); 1097 1101 IncrThreadUsage(); 1098 # ifdef FORTIFY1099 Fortify_EnterScope();1100 # endif1101 1102 ad = WinQueryWindowPtr(hwnd, QWL_USER); 1102 1103 if (ad) { … … 1172 1173 WinDestroyMsgQueue(hmq2); 1173 1174 } 1174 # ifdef FORTIFY1175 Fortify_LeaveScope();1176 # endif1177 1175 DecrThreadUsage(); 1178 1176 WinTerminate(hab2); 1179 1177 } 1178 # ifdef FORTIFY 1179 Fortify_LeaveScope(); 1180 # endif 1180 1181 DosPostEventSem(CompactSem); 1181 1182 } … … 1192 1193 1193 1194 priority_normal(); 1195 # ifdef FORTIFY 1196 Fortify_EnterScope(); 1197 # endif 1194 1198 hab2 = WinInitialize(0); 1195 1199 if (hab2) { … … 1198 1202 WinCancelShutdown(hmq2, TRUE); 1199 1203 IncrThreadUsage(); 1200 # ifdef FORTIFY1201 Fortify_EnterScope();1202 # endif1203 1204 ad = WinQueryWindowPtr(hwnd, QWL_USER); 1204 1205 if (!ad) … … 1352 1353 DecrThreadUsage(); 1353 1354 WinTerminate(hab2); 1355 } 1354 1356 # ifdef FORTIFY 1355 Fortify_LeaveScope(); 1356 # endif 1357 } 1357 Fortify_LeaveScope(); 1358 # endif 1358 1359 DosPostEventSem(CompactSem); 1359 if (ad && !ad->stopflag) { 1360 if (ad && !ad->stopflag) { //Fixme can't post message withou HAB GKY 7-10-08 1360 1361 PostMsg(hwnd, UM_CONTAINER_FILLED, MPFROMLONG(firstline), 1361 1362 MPFROMLONG(cursored)); … … 1376 1377 BOOL error = TRUE; 1377 1378 1379 # ifdef FORTIFY 1380 Fortify_EnterScope(); 1381 # endif 1378 1382 hab2 = WinInitialize(0); 1379 1383 if (hab2) { … … 1382 1386 WinCancelShutdown(hmq2, TRUE); 1383 1387 IncrThreadUsage(); 1384 # ifdef FORTIFY1385 Fortify_EnterScope();1386 # endif1387 1388 ad = WinQueryWindowPtr(hwnd, QWL_USER); 1388 1389 if (ad) { … … 1477 1478 DecrThreadUsage(); 1478 1479 WinTerminate(hab2); 1480 } 1479 1481 # ifdef FORTIFY 1480 Fortify_LeaveScope(); 1481 # endif 1482 } 1483 if (error) 1482 Fortify_LeaveScope(); 1483 # endif 1484 if (error) //fixme 1484 1485 PostMsg(hwnd, UM_CONTAINER_FILLED, MPVOID, MPVOID); 1485 1486 DosPostEventSem(CompactSem);
Note:
See TracChangeset
for help on using the changeset viewer.