VirtualBox

Changeset 95887 in vbox for trunk/src/VBox/Runtime/r3


Ignore:
Timestamp:
Jul 28, 2022 1:40:23 AM (2 years ago)
Author:
vboxsync
Message:

IPRT/nocrt: Use r3/stream.cpp instead of the minimalistic one (nocrt-streams-win.cpp). Cred provider needs it. bugref:10261

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  
    5858*   Internal Functions                                                                                                           *
    5959*********************************************************************************************************************************/
    60 extern DECLHIDDEN(void) InitStdHandles(PRTL_USER_PROCESS_PARAMETERS pParams); /* nocrt-streams-win.cpp */ /** @todo put in header */
    61 
    6260extern "C" BOOL WINAPI DllMain(HINSTANCE hInstance, DWORD dwReason, LPVOID pvReserved);
    6361
     
    7775    if (g_cAttached == 0)
    7876    {
    79         PPEB pPeb = RTNtCurrentPeb();
    80         InitStdHandles(pPeb->ProcessParameters);
    8177        rtVccWinInitProcExecPath();
    8278
  • trunk/src/VBox/Runtime/r3/win/nocrt-startup-exe-win.cpp

    r95872 r95887  
    4747*   External Symbols                                                                                                             *
    4848*********************************************************************************************************************************/
     49extern int main(int argc, char **argv, char **envp);    /* in program */
     50#ifdef IPRT_NO_CRT
    4951extern 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
    5253
    5354
     
    8283#ifdef IPRT_NO_CRT
    8384    rtVccInitSecurityCookie();
     85#else
     86    InitStdHandles(pPeb->ProcessParameters);
    8487#endif
    85     InitStdHandles(pPeb->ProcessParameters);
    8688    rtVccWinInitProcExecPath();
    8789
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette