diff options
| author | pravic <[email protected]> | 2016-04-28 23:29:31 +0300 |
|---|---|---|
| committer | pravic <[email protected]> | 2016-04-28 23:29:31 +0300 |
| commit | 60f48d27f3d0a87020e6b196d7d4a99f1eebd6ed (patch) | |
| tree | c321204059c13b68ba76dd444afd15a439ea3add /src/object.rs | |
| parent | small updates for samples (diff) | |
| download | winapi-kmd-rs-60f48d27f3d0a87020e6b196d7d4a99f1eebd6ed.tar.xz winapi-kmd-rs-60f48d27f3d0a87020e6b196d7d4a99f1eebd6ed.zip | |
km updates for Winsock network drivers WIP
Diffstat (limited to 'src/object.rs')
| -rw-r--r-- | src/object.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/object.rs b/src/object.rs index ab34aeb..b57b8d4 100644 --- a/src/object.rs +++ b/src/object.rs @@ -3,7 +3,12 @@ use ::basedef::*; use ::device_object::PDEVICE_OBJECT; use ::irp::IRP; +use ::status::NTSTATUS; +extern "system" +{ + pub fn KeWaitForSingleObject(Object: PVOID, WaitReason: u32, WaitMode: KPROCESSOR_MODE, Alertable: bool, Timeout: Option<&i64>) -> NTSTATUS; +} #[repr(C)] pub struct WAIT_CONTEXT_BLOCK |