microsoft / Detours

Detours is a software package for monitoring and instrumenting API calls on Windows. It is distributed in source code form.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

does Detours provides golang api ?

heimao63531 opened this issue · comments

Hi Detours team,
i 'd love to use the Detours to hook winapi in goland. Does Detours support golang ?
for example , i want to add hook to the enable network adapter api, how can i make it ?
v, err := wmi.CallMethod(nil, "Win32_NetworkAdapter.DeviceID="+fmt.Sprint(adapter.Index), "Enable", nil)