CopyItems Function Hook crashes
问题 i am trying to hook CopyItems function ,its working fine but when i am trying to call Real CopyItems Function in the Callback function it is getting crash , my code is as below, please help me. PVOID GetInterfaceMethod(PVOID intf, DWORD methodIndex) { return *(PVOID*)(*(DWORD*)intf + methodIndex * 4); } typedef HRESULT (WINAPI *CopyItemsNext)(IUnknown *punkItems,IShellItem *psiDestinationFolder); CopyItemsNext Real_CopyItems = NULL; CopyItemsNext Actual_CopyItems; HRESULT WINAPI