Skip to content

Commit

Permalink
Use a proper type here
Browse files Browse the repository at this point in the history
  • Loading branch information
MSxDOS committed Jul 16, 2019
1 parent 8a916ea commit c384a16
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ntexapi.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ use core::mem::uninitialized;
use core::sync::atomic::spin_loop_hint;
use crate::ntapi_base::{CLIENT_ID, KPRIORITY, KSYSTEM_TIME, PRTL_ATOM, RTL_ATOM};
use crate::ntioapi::{BUS_DATA_TYPE, FILE_IO_COMPLETION_INFORMATION, INTERFACE_TYPE};
use crate::ntkeapi::{KPROFILE_SOURCE, KWAIT_REASON};
use crate::ntkeapi::{KPROFILE_SOURCE, KTHREAD_STATE, KWAIT_REASON};
use crate::ntldr::RTL_PROCESS_MODULE_INFORMATION_EX;
use crate::ntpebteb::PTEB;
use crate::ntpoapi::COUNTED_REASON_CONTEXT;
Expand Down Expand Up @@ -1062,7 +1062,7 @@ STRUCT!{struct SYSTEM_THREAD_INFORMATION {
Priority: KPRIORITY,
BasePriority: LONG,
ContextSwitches: ULONG,
ThreadState: ULONG,
ThreadState: KTHREAD_STATE,
WaitReason: KWAIT_REASON,
}}
pub type PSYSTEM_THREAD_INFORMATION = *mut SYSTEM_THREAD_INFORMATION;
Expand Down

0 comments on commit c384a16

Please sign in to comment.