Questions tagged [deviare]

A free and also commercial library which supports hooking unmanaged APIs with managed code. This is the alternative to easy-hook in .NET platform.

More Information at: http://www.nektra.com/products/deviare-api-hook-windows/

7 questions
4
votes
1 answer

API Hooking, unexpected handle found on TerminateProcess function

PROBLEM I've hooked the TerminateProcess calls to identify the process which is being terminated, but I'm getting an unexpected handle from TerminateProcess that does not match with the real process handle that I try to intercept. I'm using Deviare…
ElektroStudios
  • 19,105
  • 33
  • 200
  • 417
1
vote
0 answers

How to check if document is open preview pane

I want to check or detect whether document is open in preview pane, so that i could use setwindowdisplayaffinity() with it. Is there any way i could start?
1
vote
1 answer

Deviare v2 C# Hook API Call and read param

I'm trying to figure out how I can read a param. I got the hook working, only thing is that whenever I do this, it crashes: private void onFuncCall(NktHook hook, NktProcess process, NktHookCallInfo hookCallInfo) var paramsEnum =…
Talococh
  • 17
  • 6
1
vote
1 answer

How to make system calls counter using deviare

I would like to hook all the functions calls of all running processes. I can hook certain function("ws2_32.dll!recv") of all processes using deviare by: CreateSpyMgr(out mgr); hook = mgr.CreateHook("ws2_32.dll!recv"); …
0
votes
1 answer

SendMessage click (works only if the mouse is over the button)

I've done this before, but with this specific button, it doesn't work! If I click the button manually it creates a new window (mini-map): Image /////// But Programmatically I can see the animation on the button as if it gets clicked gif, But the…
w4po
  • 41
  • 8
0
votes
1 answer

How to write to out structure's field with Deviare?

I can use Deviare to hook and intercept GetLocalTime function, but how can I change field's value of its out parameter, i.e. edit wYear in SYSTEMTIME? Few snippets I could find use NktHookCallInfo.Result, unfortunately it's a void function and…
Ilya Kozhevnikov
  • 10,242
  • 4
  • 40
  • 70
-1
votes
1 answer

Read the Messages which are posted to other application like spy++ but from the code

We have an application which will get the messages from the device level . Now we want to create a tool which can track the messages which are posted to the original application Is there any way we can develop as similar to spy++ . I have searched…
krish
  • 95
  • 7