儲存庫 vbox 的更動 17174
- 時間撮記:
- 2009-2-26 下午04:05:01 (16 年 以前)
- 位置:
- trunk/src/VBox/Main
- 檔案:
-
- 修改 2 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
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)
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器