Search found 8 matches

by DohyunShin
Thu Nov 03, 2016 4:30 am
Forum: madCodeHook
Topic: UWP DoDragDrop
Replies: 4
Views: 7021

Re: UWP DoDragDrop

When I dropped a file on the Edge, HRESULT(DoDragDrop's return value) is DRAGDROP_S_DROP and dwEffect's value is zero.

I used a spy++ program in order to look the WM(WM_DROPFILE, COPY .. )at the Edge.
But There was no any WM.
by DohyunShin
Wed Nov 02, 2016 8:36 am
Forum: madCodeHook
Topic: UWP DoDragDrop
Replies: 4
Views: 7021

UWP DoDragDrop

Sorry ,,it's not about MadHook question. There is no one that i can ask. help me.. :sorry: I did hooking DoDragDrop API at the desktop(explorer.exe) and then dropped a text file on some UWP applications from desktop. The UWP applications are 'Edge', 'Line'(messenger) and 'Mail'. The file i dropped w...
by DohyunShin
Mon Oct 31, 2016 4:25 am
Forum: madCodeHook
Topic: HookCode IFileDialog::GetResult problem HELP ME !!
Replies: 12
Views: 11658

Re: HookCode IFileDialog::GetResult problem HELP ME !!

I tried as mentioned. This is modified codes. This code is successful in the notepad. Thank u ! :D //Next Methods HRESULT(WINAPI *GetResultNext)(PVOID This, PVOID ppsi); HRESULT(WINAPI *GetResultsNext)(PVOID This, PVOID ppsi); HRESULT(WINAPI *CoCreateInstanceNext)(REFCLSID rclsid, LPUNKNOWN pUnkOute...
by DohyunShin
Fri Oct 28, 2016 2:05 am
Forum: madCodeHook
Topic: HookCode IFileDialog::GetResult problem HELP ME !!
Replies: 12
Views: 11658

Re: HookCode IFileDialog::GetResult problem HELP ME !!

This Code is fine HRESULT(WINAPI *GetResultNext)(PVOID This, PVOID ppsi); HRESULT(WINAPI *GetResultsNext)(PVOID This, PVOID ppenum); HRESULT WINAPI GetResultCallback(PVOID This, PVOID ppsi) { HRESULT hrResult = GetResultNext(This, ppsi); if (!SUCCEEDED(hrResult)) return hrResult; return hrResult; } ...
by DohyunShin
Thu Oct 27, 2016 9:24 am
Forum: madCodeHook
Topic: HookCode IFileDialog::GetResult problem HELP ME !!
Replies: 12
Views: 11658

Re: HookCode IFileDialog::GetResult problem HELP ME !!

PVOID? Like this? HRESULT WINAPI GetResultCallback(PVOID This, IShellItem **ppsi) { HRESULT hrResult = GetResultNext(This, ppsi); if (!SUCCEEDED(hrResult)) return hrResult; DWORD dwPid = GetCurrentProcessId(); GetResultDataHandle(ppsi, dwPid); OutputDebugString(_T("IFileDialog::GetResult End&qu...
by DohyunShin
Thu Oct 27, 2016 9:18 am
Forum: madCodeHook
Topic: HookCode IFileDialog::GetResult problem HELP ME !!
Replies: 12
Views: 11658

Re: HookCode IFileDialog::GetResult problem HELP ME !!

I tested the empty Callback. But It got a same problem. ...
I don't know.. :cry:
and this issue makes me crazy

did i right? am i wrong? :sorry:
by DohyunShin
Thu Oct 27, 2016 7:51 am
Forum: madCodeHook
Topic: HookCode IFileDialog::GetResult problem HELP ME !!
Replies: 12
Views: 11658

Re: HookCode IFileDialog::GetResult problem HELP ME !!

I solved that. I hooked the Release method and used UnHookCode about the GetResult, GetResults method in the ReleaseCallback. Release method's index was 2.. ...right ? :o I refer this This is defined in the ShObjldl.h typedef struct IFileOpenDialogVtbl { BEGIN_INTERFACE HRESULT ( STDMETHODCALLTYPE *...
by DohyunShin
Thu Oct 27, 2016 1:13 am
Forum: madCodeHook
Topic: HookCode IFileDialog::GetResult problem HELP ME !!
Replies: 12
Views: 11658

HookCode IFileDialog::GetResult problem HELP ME !!

I hooked GetResult method to get the dialog's result. (The dialog is created by IFileOpenDialog.- COM Object) First, I hooked CoCreateInstance using HookAPI and got the address of IFileOpenDialog. Then, I hooked GetResult method using HookCode. My source code is shown below. PVOID GetInterfaceMethod...