Changeset 96572 in vbox for trunk/include/VBox/VBoxNetCfg-win.h
- Timestamp:
- Sep 1, 2022 8:36:22 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/VBoxNetCfg-win.h
r96407 r96572 86 86 IN const GUID * pComponentGuid, OUT INetCfgComponent **ppncc); 87 87 88 VBOXNETCFGWIN_DECL(HRESULT) VBoxNetCfgWinNetFltInstall(IN INetCfg *pNc, IN LPCWSTR const * apInfFullPaths, IN UINT cInfFullPaths);88 VBOXNETCFGWIN_DECL(HRESULT) VBoxNetCfgWinNetFltInstall(IN INetCfg *pNc, IN LPCWSTR const *pwszInfFullPaths, IN UINT cInfFullPaths); 89 89 VBOXNETCFGWIN_DECL(HRESULT) VBoxNetCfgWinNetFltUninstall(IN INetCfg *pNc); 90 VBOXNETCFGWIN_DECL(HRESULT) VBoxNetCfgWinNetLwfInstall(IN INetCfg *pNc, IN LPCWSTR const p InfFullPath);90 VBOXNETCFGWIN_DECL(HRESULT) VBoxNetCfgWinNetLwfInstall(IN INetCfg *pNc, IN LPCWSTR const pwszInfFullPath); 91 91 VBOXNETCFGWIN_DECL(HRESULT) VBoxNetCfgWinNetLwfUninstall(IN INetCfg *pNc); 92 92 93 93 VBOXNETCFGWIN_DECL(HRESULT) VBoxNetCfgWinNetAdpUninstall(IN INetCfg *pNc, IN LPCWSTR pwszId); 94 VBOXNETCFGWIN_DECL(HRESULT) VBoxNetCfgWinNetAdpInstall(IN INetCfg *pNc,IN LPCWSTR const p InfFullPath);94 VBOXNETCFGWIN_DECL(HRESULT) VBoxNetCfgWinNetAdpInstall(IN INetCfg *pNc,IN LPCWSTR const pwszInfFullPath); 95 95 96 96 #ifndef VBOXNETCFG_DELAYEDRENAME 97 VBOXNETCFGWIN_DECL(HRESULT) VBoxNetCfgWinCreateHostOnlyNetworkInterface(IN LPCWSTR p InfPath, IN bool bIsInfPathFile, IN BSTR bstrDesiredName,98 OUT GUID *pGuid, OUT BSTR *lppszName,99 OUT BSTR *pErrMsg);97 VBOXNETCFGWIN_DECL(HRESULT) VBoxNetCfgWinCreateHostOnlyNetworkInterface(IN LPCWSTR pwszInfPath, IN bool fIsInfPathFile, 98 IN BSTR pBstrDesiredName, 99 OUT GUID *pGuid, OUT BSTR *pBstrName, OUT BSTR *pErrMsg); 100 100 #else /* VBOXNETCFG_DELAYEDRENAME */ 101 VBOXNETCFGWIN_DECL(HRESULT) VBoxNetCfgWinCreateHostOnlyNetworkInterface(IN LPCWSTR p InfPath, IN bool bIsInfPathFile, IN BSTR bstrDesiredName,102 OUT GUID *pGuid, OUT BSTR *lppszId,103 OUT BSTR *pErrMsg);101 VBOXNETCFGWIN_DECL(HRESULT) VBoxNetCfgWinCreateHostOnlyNetworkInterface(IN LPCWSTR pwszInfPath, IN bool fIsInfPathFile, 102 IN BSTR pBstrDesiredName, 103 OUT GUID *pGuid, OUT BSTR *pBstrId, OUT BSTR *pErrMsg); 104 104 VBOXNETCFGWIN_DECL(HRESULT) VBoxNetCfgWinRenameHostOnlyConnection(IN const GUID *pGuid, IN LPCWSTR pszId, OUT BSTR *pDevName); 105 105 #endif /* VBOXNETCFG_DELAYEDRENAME */ 106 VBOXNETCFGWIN_DECL(HRESULT) VBoxNetCfgWinUpdateHostOnlyNetworkInterface(LPCWSTR pcsxwInf, BOOL *p bRebootRequired, LPCWSTR pcsxwId);106 VBOXNETCFGWIN_DECL(HRESULT) VBoxNetCfgWinUpdateHostOnlyNetworkInterface(LPCWSTR pcsxwInf, BOOL *pfRebootRequired, LPCWSTR pcsxwId); 107 107 VBOXNETCFGWIN_DECL(HRESULT) VBoxNetCfgWinRemoveHostOnlyNetworkInterface(IN const GUID *pGUID, OUT BSTR *pErrMsg); 108 108 VBOXNETCFGWIN_DECL(HRESULT) VBoxNetCfgWinRemoveAllNetDevicesOfId(IN LPCWSTR lpszPnPId); 109 109 110 typedef enum 110 VBOXNETCFGWIN_DECL(HRESULT) VBoxNetCfgWinGenHostonlyConnectionName(IN PCWSTR pwszDevName, OUT WCHAR *pwszBuf, 111 IN ULONG cwcBuf, OUT PULONG pcwcNeeded); 112 VBOXNETCFGWIN_DECL(HRESULT) VBoxNetCfgWinRenameConnection(IN LPWSTR pwszGuid, IN PCWSTR pwszNewName); 113 114 typedef enum VBOXNECTFGWINPROPCHANGE_TYPE_T 111 115 { 112 116 VBOXNECTFGWINPROPCHANGE_TYPE_UNDEFINED = 0, 113 117 VBOXNECTFGWINPROPCHANGE_TYPE_DISABLE, 114 118 VBOXNECTFGWINPROPCHANGE_TYPE_ENABLE 115 } VBOXNECTFGWINPROPCHANGE_TYPE ;119 } VBOXNECTFGWINPROPCHANGE_TYPE_T; 116 120 117 VBOXNETCFGWIN_DECL(HRESULT) VBoxNetCfgWinPropChangeAllNetDevicesOfId(IN LPCWSTR lpszPnPId, VBOXNECTFGWINPROPCHANGE_TYPE enmPcType);121 VBOXNETCFGWIN_DECL(HRESULT) VBoxNetCfgWinPropChangeAllNetDevicesOfId(IN LPCWSTR lpszPnPId, VBOXNECTFGWINPROPCHANGE_TYPE_T enmPcType); 118 122 119 123 VBOXNETCFGWIN_DECL(HRESULT) VBoxNetCfgWinGenHostOnlyNetworkNetworkIp(OUT PULONG pNetIp, OUT PULONG pNetMask);
Note:
See TracChangeset
for help on using the changeset viewer.