Thanks.
Page 1 of 1
Detect Directx Hooks
#4
Posted 03 May 2009 - 01:14 PM
This is a really complex one.
You would need to instance pretty all DirectX interfaces, then make a list of every .dll loaded and their's memory address ranges (maybe through WMI), then check every method pointer against these address ranges. You'll also need to disassemble every first 10 bytes (more or less) of code pointed by each method, and resolve any CALL / JMP FAR calls.
I dunno if there is a program to do this already. I know madCodeHook can hook into COM interfaces (such as DirectX) but this is an uncommon practice (AFAIK).
You would need to instance pretty all DirectX interfaces, then make a list of every .dll loaded and their's memory address ranges (maybe through WMI), then check every method pointer against these address ranges. You'll also need to disassemble every first 10 bytes (more or less) of code pointed by each method, and resolve any CALL / JMP FAR calls.
I dunno if there is a program to do this already. I know madCodeHook can hook into COM interfaces (such as DirectX) but this is an uncommon practice (AFAIK).
#6
Posted 06 May 2009 - 11:27 AM
to hook directX : http://www.codeproject.com/KB/system/Hooki...irectX_COM.aspx
but you, you want to know which window use directX !?
but you, you want to know which window use directX !?
#9
Posted 02 June 2009 - 06:51 PM
You would have to inject some code into the target process,
Then use GetModuleHandle to look for these DLLs: http://www.toymaker..../d3dx_dlls.html and some of the default dlls.
Then use GetModuleHandle to look for these DLLs: http://www.toymaker..../d3dx_dlls.html and some of the default dlls.
This post has been edited by keane: 02 June 2009 - 06:52 PM
Page 1 of 1








Sign In »
Register Now!
Help

MultiQuote