Skip to content

Commit

Permalink
fix: fix the GetThreadContext return type
Browse files Browse the repository at this point in the history
  • Loading branch information
aminya committed Jul 10, 2022
1 parent 70496bb commit 663e236
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/windows.rs
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ ffi! {
pub fn GetCurrentProcess() -> HANDLE;
pub fn GetCurrentThread() -> HANDLE;
pub fn RtlCaptureContext(ContextRecord: PCONTEXT) -> ();
pub fn GetThreadContext(ThreadHandle: HANDLE, ContextRecord: PCONTEXT) -> DWORD;
pub fn GetThreadContext(ThreadHandle: HANDLE, ContextRecord: PCONTEXT) -> BOOL;
pub fn SuspendThread(ThreadHandle: HANDLE) -> DWORD;
pub fn ResumeThread(ThreadHandle: HANDLE) -> DWORD;
pub fn LoadLibraryA(a: *const i8) -> HMODULE;
Expand Down

0 comments on commit 663e236

Please sign in to comment.