Changeset 17174 in vbox for trunk/src/VBox
- Timestamp:
- Feb 26, 2009 4:05:01 PM (16 years ago)
- Location:
- trunk/src/VBox/Main
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/Makefile.kmk
r17172 r17174 332 332 VBoxSVC_INCS.win += $(foreach VARSDK, $(VBoxSVC_SDKS), $(PATH_SDK_$(VARSDK)_INC)/crt) 333 333 #needed to include comsupp.lib 334 VBoxSVC_LIBPATH += $(if $(VBOX_USE_VCC80),$(PATH_TOOL_VCC80_LIB),$(PATH_TOOL_VCC70_LIB)) 335 VBoxSVC_LIBS.win += wbemuuid.lib comsupp.lib 334 VBoxSVC_LIBS.win += $(PATH_TOOL_$(VBOX_VCC_TOOL)_LIB)/comsupp.lib 335 #VBoxSVC_LIBPATH.win += $(if $(VBOX_USE_VCC80),$(PATH_TOOL_VCC80_LIB),$(PATH_TOOL_VCC70_LIB)) 336 VBoxSVC_LIBS.win += wbemuuid.lib 336 337 VBoxSVC_LIBS.win += $(PATH_LIB)/WinNetConfig.lib 337 338 ifdef VBOX_NETFLT_ONDEMAND_BIND -
trunk/src/VBox/Main/win/NetIfList-win.cpp
r17173 r17174 47 47 #include "netif.h" 48 48 49 #ifdef VBOX_WITH_NETFLT 49 50 #include <Wbemidl.h> 50 51 #include <comdef.h> … … 301 302 } 302 303 303 VBOXNETCFGWIN_DECL(HRESULT)VBoxNetCfgWinEnableStatic(IWbemServices * pSvc, IWbemClassObject *pObj, in_addr* aIp, in_addr * aMask, UINT cIp)304 static HRESULT VBoxNetCfgWinEnableStatic(IWbemServices * pSvc, IWbemClassObject *pObj, in_addr* aIp, in_addr * aMask, UINT cIp) 304 305 { 305 306 IWbemClassObject * pClass; … … 461 462 } 462 463 463 #ifdef VBOX_WITH_NETFLT464 464 # define VBOX_APP_NAME L"VirtualBox" 465 465 … … 651 651 } 652 652 653 #if 0 653 654 //TODO: this is sample currently, hardcoded balues should be removed and exposed to the API 654 655 static int enableStatic() … … 659 660 HRESULT hr; 660 661 661 hr = VBoxNetCfgWinQueryINetCfg(FALSE, L"VirtualBox", &pnc, &lpszLockedBy);662 hr = VBoxNetCfgWinQueryINetCfg(FALSE, VBOX_APP_NAME, &pnc, &lpszLockedBy); 662 663 if(hr == S_OK) 663 664 { … … 699 700 return r; 700 701 } 702 #endif 701 703 702 704 int NetIfList(std::list <ComObjPtr <HostNetworkInterface> > &list)
Note:
See TracChangeset
for help on using the changeset viewer.