Skip to content

Commit c19cebf

Browse files
committed
Fix MH_ERROR_CALLBACK result argument type
1 parent fba1eeb commit c19cebf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/MinHook.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ typedef enum MH_THREAD_FREEZE_METHOD
9696
MH_FREEZE_METHOD_NONE_UNSAFE
9797
} MH_THREAD_FREEZE_METHOD;
9898

99-
typedef void(WINAPI *MH_ERROR_CALLBACK)(LPVOID pTarget, NTSTATUS detoursStatus);
99+
typedef void(WINAPI *MH_ERROR_CALLBACK)(LPVOID pTarget, HRESULT detoursResult);
100100

101101
// Can be passed as a parameter to MH_EnableHook, MH_DisableHook,
102102
// MH_QueueEnableHook or MH_QueueDisableHook.

0 commit comments

Comments
 (0)