Reverse P/Invoke in a DLL for global hooks?

  • Thread starter Thread starter yuhongbao_386
  • Start date Start date
Is using Reverse P/Invoke in a .NET DLL for installing global hooks
supported?

eg.
SetWindowsHookEx(WH_WHATEVER, <delegate to hook procedure in .net
dll>, <module handle of .net dll>, 0)

Notice that the .NET DLL's handle is passed to SetWindowsHookEx.
 
Back
Top