Changeset 95887 in vbox for trunk/src/VBox/Runtime/r3
- Timestamp:
- Jul 28, 2022 1:40:23 AM (2 years ago)
- Location:
- trunk/src/VBox/Runtime/r3/win
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r3/win/nocrt-startup-dll-win.cpp
r95870 r95887 58 58 * Internal Functions * 59 59 *********************************************************************************************************************************/ 60 extern DECLHIDDEN(void) InitStdHandles(PRTL_USER_PROCESS_PARAMETERS pParams); /* nocrt-streams-win.cpp */ /** @todo put in header */61 62 60 extern "C" BOOL WINAPI DllMain(HINSTANCE hInstance, DWORD dwReason, LPVOID pvReserved); 63 61 … … 77 75 if (g_cAttached == 0) 78 76 { 79 PPEB pPeb = RTNtCurrentPeb();80 InitStdHandles(pPeb->ProcessParameters);81 77 rtVccWinInitProcExecPath(); 82 78 -
trunk/src/VBox/Runtime/r3/win/nocrt-startup-exe-win.cpp
r95872 r95887 47 47 * External Symbols * 48 48 *********************************************************************************************************************************/ 49 extern int main(int argc, char **argv, char **envp); /* in program */ 50 #ifdef IPRT_NO_CRT 49 51 extern DECLHIDDEN(void) InitStdHandles(PRTL_USER_PROCESS_PARAMETERS pParams); /* nocrt-streams-win.cpp */ /** @todo put in header */ 50 51 extern int main(int argc, char **argv, char **envp); /* in program */ 52 #endif 52 53 53 54 … … 82 83 #ifdef IPRT_NO_CRT 83 84 rtVccInitSecurityCookie(); 85 #else 86 InitStdHandles(pPeb->ProcessParameters); 84 87 #endif 85 InitStdHandles(pPeb->ProcessParameters);86 88 rtVccWinInitProcExecPath(); 87 89
Note:
See TracChangeset
for help on using the changeset viewer.