mirror of
https://github.com/HIllya51/LunaHook.git
synced 2024-12-24 04:04:14 +08:00
Update V8.cpp
This commit is contained in:
parent
f3727e0ade
commit
fc7ae055ab
@ -137,7 +137,7 @@ namespace{
|
||||
hp.address=(uintptr_t)SetClipboardData;
|
||||
hp.type= USING_STRING|CODEC_UTF16|EMBED_ABLE|EMBED_BEFORE_SIMPLE;
|
||||
hp.text_fun=[](hook_stack* stack, HookParam *hp, uintptr_t* data, uintptr_t* split, size_t* len){
|
||||
HGLOBAL hClipboardData=(HGLOBAL)s->stack[2];
|
||||
HGLOBAL hClipboardData=(HGLOBAL)stack->stack[2];
|
||||
*data=(uintptr_t)GlobalLock(hClipboardData);
|
||||
*len=wcslen((wchar_t*)*data)*2;
|
||||
GlobalUnlock(hClipboardData);
|
||||
|
Loading…
x
Reference in New Issue
Block a user