VirtualBox

Ignore:
Timestamp:
Sep 1, 2022 8:36:22 PM (3 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
153448
Message:

HostDrives,Installer/win: Reworked the windows installer related code for no-CRT mode, where applicable, and changed the XxxxInstall.exe/XxxxUninstall.exe utilities to link against VBoxRT.dll instead of being statically linked. Lot's of cleanup. The change is uncomfortably large, but difficult to detangle these things. bugref:10261

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/VBoxNetFlt/win/tools/VBoxNetFltUninstall.cpp

    r96407 r96572  
    3535 */
    3636
     37
     38/*********************************************************************************************************************************
     39*   Header Files                                                                                                                 *
     40*********************************************************************************************************************************/
    3741#include <VBox/VBoxNetCfg-win.h>
    3842#include <stdio.h>
    3943
     44#include <iprt/initterm.h>
     45#include <iprt/message.h>
     46
     47
     48/*********************************************************************************************************************************
     49*   Defined Constants And Macros                                                                                                 *
     50*********************************************************************************************************************************/
    4051#define NETFLT_ID L"sun_VBoxNetFlt"
    4152#define VBOX_NETCFG_APP_NAME L"NetFltUninstall"
     
    4354#define VBOX_NETFLT_MP_INF L".\\VBoxNetFltM.inf"
    4455#define VBOX_NETFLT_RETRIES 10
     56
    4557
    4658static DECLCALLBACK(void) winNetCfgLogger(const char *pszString)
     
    112124int __cdecl main(int argc, char **argv)
    113125{
    114     RT_NOREF2(argc, argv);
     126    RTR3InitExeNoArguments(0);
     127    if (argc != 1)
     128        return RTMsgErrorExit(RTEXITCODE_SYNTAX, "This utility takes no arguments\n");
     129    NOREF(argv);
     130
    115131    return VBoxNetFltUninstall();
    116132}
     133
Note: See TracChangeset for help on using the changeset viewer.

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