diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2019-09-03 10:54:05 -0600 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2019-09-03 10:54:05 -0600 |
commit | d7eabfff063e286b5545226668e18857da00442f (patch) | |
tree | 6aba164269a36a6b83e43ba72b56cded79e79515 /tunnel/winipcfg/winipcfg.go | |
parent | build: bump mingw toolchains (diff) | |
download | wireguard-windows-d7eabfff063e286b5545226668e18857da00442f.tar.xz wireguard-windows-d7eabfff063e286b5545226668e18857da00442f.zip |
winipcfg: [BEGINNINGS] import undocumented iphlpapi functionjd/undocumented-dns-setter
Diffstat (limited to 'tunnel/winipcfg/winipcfg.go')
-rw-r--r-- | tunnel/winipcfg/winipcfg.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tunnel/winipcfg/winipcfg.go b/tunnel/winipcfg/winipcfg.go index 2fc0c875..90a96bb5 100644 --- a/tunnel/winipcfg/winipcfg.go +++ b/tunnel/winipcfg/winipcfg.go @@ -166,3 +166,6 @@ func GetIPForwardTable2(family AddressFamily) ([]MibIPforwardRow2, error) { // https://docs.microsoft.com/en-us/windows/desktop/api/netioapi/nf-netioapi-cancelmibchangenotify2 //sys cancelMibChangeNotify2(notificationHandle windows.Handle) (ret error) = iphlpapi.CancelMibChangeNotify2 + +// Undocumented +//sys setInterfaceDnsSettings(guid *windows.GUID, settings *DnsInterfaceSettings) (ret error) = iphlpapi.SetInterfaceDnsSettings
\ No newline at end of file |