Search found 14 matches

by tallas
Thu May 28, 2015 6:12 pm
Forum: madCodeHook
Topic: hooking clipboard apis
Replies: 19
Views: 16597

Re: hooking clipboard apis

Where do I send that program?
by tallas
Thu May 28, 2015 4:22 pm
Forum: madCodeHook
Topic: ANN: madCodeHook 3.1.7
Replies: 4
Views: 6571

Re: ANN: madCodeHook 3.1.7

What is the 32 injection problem that has been fixed - I want to know if I have that problem?
by tallas
Thu May 28, 2015 4:02 pm
Forum: madCodeHook
Topic: hooking clipboard apis
Replies: 19
Views: 16597

Re: hooking clipboard apis

I did. I will make that change and see how it goes.Please let me know if you think of anything.
by tallas
Thu May 28, 2015 2:59 pm
Forum: madCodeHook
Topic: hooking clipboard apis
Replies: 19
Views: 16597

Re: hooking clipboard apis

Please let me know if you think of anything, I need to get this done ASAP.
by tallas
Thu May 28, 2015 2:58 pm
Forum: madCodeHook
Topic: hooking clipboard apis
Replies: 19
Views: 16597

Re: hooking clipboard apis

I did. I will make that change and see how it goes.
I can write that small demo program as you suggested - hook apis and call them in the same process.
by tallas
Thu May 28, 2015 2:53 pm
Forum: madCodeHook
Topic: hooking clipboard apis
Replies: 19
Views: 16597

Re: hooking clipboard apis

If I hook SetClipboardData, and inject that dll into a process and then in the same process if I call SetClipboradData, Is it reasonable to expect that hook be called as a result?
That was the test I did yesterday and it didn't result in hook being called. My question is, is it a correct test?
by tallas
Thu May 28, 2015 1:57 pm
Forum: madCodeHook
Topic: hooking clipboard apis
Replies: 19
Views: 16597

Re: hooking clipboard apis

It is hard for me to put together a demo. The only thing to look is if I am calling the HookAPI correctly and passing in all the parameters correctly.
And what is the significance of HookAPI returning success?
Do you know of clipboard APIs being hooked successfully before?
by tallas
Thu May 28, 2015 1:39 pm
Forum: madCodeHook
Topic: hooking clipboard apis
Replies: 19
Views: 16597

Re: hooking clipboard apis

c++ and Win32 ofcourse.
by tallas
Thu May 28, 2015 1:33 pm
Forum: madCodeHook
Topic: hooking clipboard apis
Replies: 19
Views: 16597

Re: hooking clipboard apis

This is windows 8.1 and development environment is Visual Studio 2013, SDK etc.
Can you think of any other things I should look into to make it work?
by tallas
Thu May 28, 2015 4:04 am
Forum: madCodeHook
Topic: hooking clipboard apis
Replies: 19
Views: 16597

Re: hooking clipboard apis

I am attempting to hook the following clipboard APIs; HookAPI returns success but none of callbacks get called. As I said, I made all the callbacks to non members of any class. Do you a small program to demonstrate the successful hooking of these? OpenClipboard GetClipboardData SetClipboardData OleS...
by tallas
Thu May 28, 2015 1:58 am
Forum: madCodeHook
Topic: hooking clipboard apis
Replies: 19
Views: 16597

Re: hooking clipboard apis

Do you support/recommend hooking NtUserSetClipboardData and NtUserGetClipboardData calls? If so please provide details.
by tallas
Wed May 27, 2015 10:57 pm
Forum: madCodeHook
Topic: hooking clipboard apis
Replies: 19
Views: 16597

Re: hooking clipboard apis

I tried calling SetClipboardData, immediately after the dll_attach, I can verify that the clipboard contents at that point is what I put in using SetClipboardData call; Even this one doesn't result in SetClipboardDataCallBack( SetClipboardDataHook) being called!!! By the way I also tried making SetC...
by tallas
Wed May 27, 2015 2:09 pm
Forum: madCodeHook
Topic: hooking clipboard apis
Replies: 19
Views: 16597

Re: hooking clipboard apis

HookAPI doesn't return any error; This dll gets injected into selected processes. whenever clipboard copy paste is done by those processes, I am expecting callback function to be called and that is not happening. I am also hooking createprocess and terminate process with callback functions being the...
by tallas
Wed May 27, 2015 6:50 am
Forum: madCodeHook
Topic: hooking clipboard apis
Replies: 19
Views: 16597

hooking clipboard apis

I am trying to hook the clipboard APIs for example SetClipboardData; it is not working!! HANDLE WINAPI MyClass::SetClipboardDataACallback( _In_ UINT uFormat, _In_opt_ HANDLE hMem) { OUTPUTDBGMSGAX("MyClass:SetClipboardDataACallback"); } HANDLE WINAPI MyClass::SetClipboardDataWCallback( _In...