aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorpravic <[email protected]>2016-04-14 00:37:38 +0300
committerpravic <[email protected]>2016-04-14 00:37:38 +0300
commit68a4e446d3a571d7e516ab4d457fb27220936b69 (patch)
tree290aa97990b3f60cd99106340fb85281155283ad /doc
parentadd winapi-km-rs docs (diff)
downloadwinapi-kmd-rs-68a4e446d3a571d7e516ab4d457fb27220936b69.tar.xz
winapi-kmd-rs-68a4e446d3a571d7e516ab4d457fb27220936b69.zip
update docs
Diffstat (limited to 'doc')
-rw-r--r--doc/implementors/core/clone/trait.Clone.js2
-rw-r--r--doc/implementors/core/convert/trait.From.js2
-rw-r--r--doc/implementors/core/default/trait.Default.js2
-rw-r--r--doc/implementors/core/marker/trait.Copy.js2
-rw-r--r--doc/implementors/km/string/trait.NativeString.js2
-rw-r--r--doc/km/index.html9
-rw-r--r--doc/km/macro.KdPrint!.html2
-rw-r--r--doc/km/macro.KdPrint_u!.html2
-rw-r--r--doc/km/macro.check_unsafe!.html2
-rw-r--r--doc/km/shared/enum.ALTERNATIVE_ARCHITECTURE_TYPE.html117
-rw-r--r--doc/km/shared/enum.NT_PRODUCT_TYPE.html117
-rw-r--r--doc/km/shared/index.html151
-rw-r--r--doc/km/shared/sidebar-items.js1
-rw-r--r--doc/km/shared/struct.KSYSTEM_TIME.html117
-rw-r--r--doc/km/shared/struct.KUSER_SHARED_DATA.html202
-rw-r--r--doc/km/shared/type.SYSTEMTIME.html113
-rw-r--r--doc/km/sidebar-items.js2
-rw-r--r--doc/km/string/fn.RtlAnsiStringToUnicodeSize.html2
-rw-r--r--doc/km/string/fn.RtlAnsiStringToUnicodeString.html2
-rw-r--r--doc/km/string/fn.RtlCompareString.html2
-rw-r--r--doc/km/string/fn.RtlCompareUnicodeString.html2
-rw-r--r--doc/km/string/fn.RtlEqualString.html2
-rw-r--r--doc/km/string/fn.RtlEqualUnicodeString.html2
-rw-r--r--doc/km/string/fn.RtlFreeAnsiString.html2
-rw-r--r--doc/km/string/fn.RtlFreeUnicodeString.html2
-rw-r--r--doc/km/string/fn.RtlInt64ToUnicodeString.html2
-rw-r--r--doc/km/string/fn.RtlIntegerToUnicodeString.html2
-rw-r--r--doc/km/string/fn.RtlUnicodeStringToAnsiSize.html2
-rw-r--r--doc/km/string/fn.RtlUnicodeStringToAnsiString.html2
-rw-r--r--doc/km/string/fn.RtlUnicodeStringToInteger.html2
-rw-r--r--doc/km/string/index.html2
-rw-r--r--doc/km/string/struct.ANSI_STRING.html2
-rw-r--r--doc/km/string/struct.UNICODE_STRING.html2
-rw-r--r--doc/km/string/trait.NativeString.html2
-rw-r--r--doc/km/string/type.AnsiString.html2
-rw-r--r--doc/km/string/type.CONST_ANSI_STRING.html2
-rw-r--r--doc/km/string/type.CONST_UNICODE_STRING.html2
-rw-r--r--doc/km/string/type.UnicodeString.html2
-rw-r--r--doc/km/time/fn.ExSystemTimeToLocalTime.html4
-rw-r--r--doc/km/time/fn.QuerySystemTime.html4
-rw-r--r--doc/km/time/fn.QueryTickCount.html2
-rw-r--r--doc/km/time/index.html10
-rw-r--r--doc/km/time/sidebar-items.js2
-rw-r--r--doc/search-index.js2
-rw-r--r--doc/src/km/lib.rs.html2
-rw-r--r--doc/src/km/shared.rs.html414
-rw-r--r--doc/src/km/time.rs.html60
47 files changed, 1338 insertions, 49 deletions
diff --git a/doc/implementors/core/clone/trait.Clone.js b/doc/implementors/core/clone/trait.Clone.js
index 54ffe60..5eaeb9f 100644
--- a/doc/implementors/core/clone/trait.Clone.js
+++ b/doc/implementors/core/clone/trait.Clone.js
@@ -1,5 +1,5 @@
(function() {var implementors = {};
-implementors['km'] = ["impl <a class='trait' href='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html' title='core::clone::Clone'>Clone</a> for <a class='enum' href='km/status/enum.Status.html' title='km::status::Status'>Status</a>",];
+implementors['km'] = ["impl <a class='trait' href='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html' title='core::clone::Clone'>Clone</a> for <a class='enum' href='km/status/enum.Status.html' title='km::status::Status'>Status</a>",];implementors['km'] = ["impl <a class='trait' href='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html' title='core::clone::Clone'>Clone</a> for <a class='enum' href='km/status/enum.Status.html' title='km::status::Status'>Status</a>","impl <a class='trait' href='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html' title='core::clone::Clone'>Clone</a> for <a class='struct' href='km/shared/struct.KSYSTEM_TIME.html' title='km::shared::KSYSTEM_TIME'>KSYSTEM_TIME</a>",];
if (window.register_implementors) {
window.register_implementors(implementors);
diff --git a/doc/implementors/core/convert/trait.From.js b/doc/implementors/core/convert/trait.From.js
index be57da6..d6f4916 100644
--- a/doc/implementors/core/convert/trait.From.js
+++ b/doc/implementors/core/convert/trait.From.js
@@ -1,5 +1,5 @@
(function() {var implementors = {};
-implementors['km'] = ["impl&lt;'a&gt; <a class='trait' href='https://doc.rust-lang.org/nightly/core/convert/trait.From.html' title='core::convert::From'>From</a>&lt;&amp;'a [u8]&gt; for <a class='struct' href='km/string/struct.ANSI_STRING.html' title='km::string::ANSI_STRING'>ANSI_STRING</a>",];
+implementors['km'] = ["impl&lt;'a&gt; <a class='trait' href='https://doc.rust-lang.org/nightly/core/convert/trait.From.html' title='core::convert::From'>From</a>&lt;&amp;'a [u8]&gt; for <a class='struct' href='km/string/struct.ANSI_STRING.html' title='km::string::ANSI_STRING'>ANSI_STRING</a>",];implementors['km'] = ["impl <a class='trait' href='https://doc.rust-lang.org/nightly/core/convert/trait.From.html' title='core::convert::From'>From</a>&lt;<a class='struct' href='km/shared/struct.KSYSTEM_TIME.html' title='km::shared::KSYSTEM_TIME'>KSYSTEM_TIME</a>&gt; for <a class='type' href='km/shared/type.SYSTEMTIME.html' title='km::shared::SYSTEMTIME'>SYSTEMTIME</a>","impl&lt;'a&gt; <a class='trait' href='https://doc.rust-lang.org/nightly/core/convert/trait.From.html' title='core::convert::From'>From</a>&lt;&amp;'a [u8]&gt; for <a class='struct' href='km/string/struct.ANSI_STRING.html' title='km::string::ANSI_STRING'>ANSI_STRING</a>",];
if (window.register_implementors) {
window.register_implementors(implementors);
diff --git a/doc/implementors/core/default/trait.Default.js b/doc/implementors/core/default/trait.Default.js
index c3e6591..e8a05f2 100644
--- a/doc/implementors/core/default/trait.Default.js
+++ b/doc/implementors/core/default/trait.Default.js
@@ -1,5 +1,5 @@
(function() {var implementors = {};
-implementors['km'] = ["impl <a class='trait' href='https://doc.rust-lang.org/nightly/core/default/trait.Default.html' title='core::default::Default'>Default</a> for <a class='struct' href='km/string/struct.UNICODE_STRING.html' title='km::string::UNICODE_STRING'>UNICODE_STRING</a>",];
+implementors['km'] = ["impl <a class='trait' href='https://doc.rust-lang.org/nightly/core/default/trait.Default.html' title='core::default::Default'>Default</a> for <a class='struct' href='km/string/struct.UNICODE_STRING.html' title='km::string::UNICODE_STRING'>UNICODE_STRING</a>",];implementors['km'] = ["impl <a class='trait' href='https://doc.rust-lang.org/nightly/core/default/trait.Default.html' title='core::default::Default'>Default</a> for <a class='struct' href='km/string/struct.UNICODE_STRING.html' title='km::string::UNICODE_STRING'>UNICODE_STRING</a>",];
if (window.register_implementors) {
window.register_implementors(implementors);
diff --git a/doc/implementors/core/marker/trait.Copy.js b/doc/implementors/core/marker/trait.Copy.js
index 8dba300..1e99006 100644
--- a/doc/implementors/core/marker/trait.Copy.js
+++ b/doc/implementors/core/marker/trait.Copy.js
@@ -1,5 +1,5 @@
(function() {var implementors = {};
-implementors['km'] = ["impl <a class='trait' href='https://doc.rust-lang.org/nightly/core/marker/trait.Copy.html' title='core::marker::Copy'>Copy</a> for <a class='enum' href='km/status/enum.Status.html' title='km::status::Status'>Status</a>",];
+implementors['km'] = ["impl <a class='trait' href='https://doc.rust-lang.org/nightly/core/marker/trait.Copy.html' title='core::marker::Copy'>Copy</a> for <a class='enum' href='km/status/enum.Status.html' title='km::status::Status'>Status</a>",];implementors['km'] = ["impl <a class='trait' href='https://doc.rust-lang.org/nightly/core/marker/trait.Copy.html' title='core::marker::Copy'>Copy</a> for <a class='enum' href='km/status/enum.Status.html' title='km::status::Status'>Status</a>","impl <a class='trait' href='https://doc.rust-lang.org/nightly/core/marker/trait.Copy.html' title='core::marker::Copy'>Copy</a> for <a class='struct' href='km/shared/struct.KSYSTEM_TIME.html' title='km::shared::KSYSTEM_TIME'>KSYSTEM_TIME</a>",];
if (window.register_implementors) {
window.register_implementors(implementors);
diff --git a/doc/implementors/km/string/trait.NativeString.js b/doc/implementors/km/string/trait.NativeString.js
index 741d128..8199f6a 100644
--- a/doc/implementors/km/string/trait.NativeString.js
+++ b/doc/implementors/km/string/trait.NativeString.js
@@ -1,5 +1,5 @@
(function() {var implementors = {};
-implementors['km'] = [];
+implementors['km'] = [];implementors['km'] = [];
if (window.register_implementors) {
window.register_implementors(implementors);
diff --git a/doc/km/index.html b/doc/km/index.html
index dc3aa20..e0635e8 100644
--- a/doc/km/index.html
+++ b/doc/km/index.html
@@ -47,7 +47,7 @@
<a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">
[<span class='inner'>&#x2212;</span>]
</a>
- </span><a id='src-0' class='srclink' href='../src/km/lib.rs.html#1-55' title='goto source code'>[src]</a></span></h1>
+ </span><a id='src-0' class='srclink' href='../src/km/lib.rs.html#1-56' title='goto source code'>[src]</a></span></h1>
<div class='docblock'><p>Windows Kernel Mode library.</p>
</div><h2 id='modules' class='section-header'><a href="#modules">Modules</a></h2>
<table>
@@ -150,6 +150,13 @@
</td>
</tr>
<tr class=' module-item'>
+ <td><a class='mod' href='shared/index.html'
+ title='km::shared'>shared</a></td>
+ <td class='docblock short'>
+ <p>Data shared between kernel and user mode.</p>
+ </td>
+ </tr>
+ <tr class=' module-item'>
<td><a class='mod' href='status/index.html'
title='km::status'>status</a></td>
<td class='docblock short'>
diff --git a/doc/km/macro.KdPrint!.html b/doc/km/macro.KdPrint!.html
index 2650982..7fc1f24 100644
--- a/doc/km/macro.KdPrint!.html
+++ b/doc/km/macro.KdPrint!.html
@@ -47,7 +47,7 @@
<a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">
[<span class='inner'>&#x2212;</span>]
</a>
- </span><a id='src-651' class='srclink' href='../src/km/macros.rs.html#11-13' title='goto source code'>[src]</a></span></h1>
+ </span><a id='src-721' class='srclink' href='../src/km/macros.rs.html#11-13' title='goto source code'>[src]</a></span></h1>
<pre class='rust macro'>
<span class='macro'>macro_rules</span><span class='macro'>!</span> <span class='ident'>KdPrint</span> {
(<span class='macro-nonterminal'>$</span><span class='macro-nonterminal'>msg</span>:<span class='ident'>expr</span> $(, <span class='macro-nonterminal'>$</span><span class='macro-nonterminal'>arg</span>:<span class='ident'>expr</span>)<span class='op'>*</span>) <span class='op'>=&gt;</span> { ... };
diff --git a/doc/km/macro.KdPrint_u!.html b/doc/km/macro.KdPrint_u!.html
index cae1931..b846f1a 100644
--- a/doc/km/macro.KdPrint_u!.html
+++ b/doc/km/macro.KdPrint_u!.html
@@ -47,7 +47,7 @@
<a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">
[<span class='inner'>&#x2212;</span>]
</a>
- </span><a id='src-652' class='srclink' href='../src/km/macros.rs.html#19-21' title='goto source code'>[src]</a></span></h1>
+ </span><a id='src-722' class='srclink' href='../src/km/macros.rs.html#19-21' title='goto source code'>[src]</a></span></h1>
<pre class='rust macro'>
<span class='macro'>macro_rules</span><span class='macro'>!</span> <span class='ident'>KdPrint_u</span> {
(<span class='macro-nonterminal'>$</span><span class='macro-nonterminal'>msg</span>:<span class='ident'>expr</span> $(, <span class='macro-nonterminal'>$</span><span class='macro-nonterminal'>arg</span>:<span class='ident'>expr</span>)<span class='op'>*</span>) <span class='op'>=&gt;</span> { ... };
diff --git a/doc/km/macro.check_unsafe!.html b/doc/km/macro.check_unsafe!.html
index 0fd3a76..b429f29 100644
--- a/doc/km/macro.check_unsafe!.html
+++ b/doc/km/macro.check_unsafe!.html
@@ -47,7 +47,7 @@
<a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">
[<span class='inner'>&#x2212;</span>]
</a>
- </span><a id='src-653' class='srclink' href='../src/km/macros.rs.html#24-34' title='goto source code'>[src]</a></span></h1>
+ </span><a id='src-723' class='srclink' href='../src/km/macros.rs.html#24-34' title='goto source code'>[src]</a></span></h1>
<pre class='rust macro'>
<span class='macro'>macro_rules</span><span class='macro'>!</span> <span class='ident'>check_unsafe</span> {
(<span class='macro-nonterminal'>$</span><span class='macro-nonterminal'>expr</span>:<span class='ident'>expr</span>) <span class='op'>=&gt;</span> { ... };
diff --git a/doc/km/shared/enum.ALTERNATIVE_ARCHITECTURE_TYPE.html b/doc/km/shared/enum.ALTERNATIVE_ARCHITECTURE_TYPE.html
new file mode 100644
index 0000000..4d34cde
--- /dev/null
+++ b/doc/km/shared/enum.ALTERNATIVE_ARCHITECTURE_TYPE.html
@@ -0,0 +1,117 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+ <meta name="generator" content="rustdoc">
+ <meta name="description" content="API documentation for the Rust `ALTERNATIVE_ARCHITECTURE_TYPE` enum in crate `km`.">
+ <meta name="keywords" content="rust, rustlang, rust-lang, ALTERNATIVE_ARCHITECTURE_TYPE">
+
+ <title>km::shared::ALTERNATIVE_ARCHITECTURE_TYPE - Rust</title>
+
+ <link rel="stylesheet" type="text/css" href="../../rustdoc.css">
+ <link rel="stylesheet" type="text/css" href="../../main.css">
+
+
+
+
+</head>
+<body class="rustdoc">
+ <!--[if lte IE 8]>
+ <div class="warning">
+ This old browser is unsupported and will most likely display funky
+ things.
+ </div>
+ <![endif]-->
+
+
+
+ <nav class="sidebar">
+
+ <p class='location'><a href='../index.html'>km</a>::<wbr><a href='index.html'>shared</a></p><script>window.sidebarCurrent = {name: 'ALTERNATIVE_ARCHITECTURE_TYPE', ty: 'enum', relpath: ''};</script><script defer src="sidebar-items.js"></script>
+ </nav>
+
+ <nav class="sub">
+ <form class="search-form js-only">
+ <div class="search-container">
+ <input class="search-input" name="search"
+ autocomplete="off"
+ placeholder="Click or press ‘S’ to search, ‘?’ for more options…"
+ type="search">
+ </div>
+ </form>
+ </nav>
+
+ <section id='main' class="content enum">
+<h1 class='fqn'><span class='in-band'>Enum <a href='../index.html'>km</a>::<wbr><a href='index.html'>shared</a>::<wbr><a class='enum' href=''>ALTERNATIVE_ARCHITECTURE_TYPE</a></span><span class='out-of-band'><span id='render-detail'>
+ <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">
+ [<span class='inner'>&#x2212;</span>]
+ </a>
+ </span><a id='src-567' class='srclink' href='../../src/km/shared.rs.html#27-32' title='goto source code'>[src]</a></span></h1>
+<pre class='rust enum'>pub enum ALTERNATIVE_ARCHITECTURE_TYPE {
+ StandardDesign,
+ NEC98x86,
+ EndAlternatives,
+}</pre><h2 class='variants'>Variants</h2>
+<table class='variants_table'><tr><td id='variant.StandardDesign'><code>StandardDesign</code></td><td></td><td></td></tr><tr><td id='variant.NEC98x86'><code>NEC98x86</code></td><td></td><td></td></tr><tr><td id='variant.EndAlternatives'><code>EndAlternatives</code></td><td></td><td></td></tr></table></section>
+ <section id='search' class="content hidden"></section>
+
+ <section class="footer"></section>
+
+ <aside id="help" class="hidden">
+ <div>
+ <h1 class="hidden">Help</h1>
+
+ <div class="shortcuts">
+ <h2>Keyboard Shortcuts</h2>
+
+ <dl>
+ <dt>?</dt>
+ <dd>Show this help dialog</dd>
+ <dt>S</dt>
+ <dd>Focus the search field</dd>
+ <dt>&larrb;</dt>
+ <dd>Move up in search results</dd>
+ <dt>&rarrb;</dt>
+ <dd>Move down in search results</dd>
+ <dt>&#9166;</dt>
+ <dd>Go to active search result</dd>
+ </dl>
+ </div>
+
+ <div class="infos">
+ <h2>Search Tricks</h2>
+
+ <p>
+ Prefix searches with a type followed by a colon (e.g.
+ <code>fn:</code>) to restrict the search to a given type.
+ </p>
+
+ <p>
+ Accepted types are: <code>fn</code>, <code>mod</code>,
+ <code>struct</code>, <code>enum</code>,
+ <code>trait</code>, <code>type</code>, <code>macro</code>,
+ and <code>const</code>.
+ </p>
+
+ <p>
+ Search functions by type signature (e.g.
+ <code>vec -> usize</code> or <code>* -> vec</code>)
+ </p>
+ </div>
+ </div>
+ </aside>
+
+
+
+ <script>
+ window.rootPath = "../../";
+ window.currentCrate = "km";
+ window.playgroundUrl = "";
+ </script>
+ <script src="../../jquery.js"></script>
+ <script src="../../main.js"></script>
+
+ <script defer src="../../search-index.js"></script>
+</body>
+</html> \ No newline at end of file
diff --git a/doc/km/shared/enum.NT_PRODUCT_TYPE.html b/doc/km/shared/enum.NT_PRODUCT_TYPE.html
new file mode 100644
index 0000000..fcc50c6
--- /dev/null
+++ b/doc/km/shared/enum.NT_PRODUCT_TYPE.html
@@ -0,0 +1,117 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+ <meta name="generator" content="rustdoc">
+ <meta name="description" content="API documentation for the Rust `NT_PRODUCT_TYPE` enum in crate `km`.">
+ <meta name="keywords" content="rust, rustlang, rust-lang, NT_PRODUCT_TYPE">
+
+ <title>km::shared::NT_PRODUCT_TYPE - Rust</title>
+
+ <link rel="stylesheet" type="text/css" href="../../rustdoc.css">
+ <link rel="stylesheet" type="text/css" href="../../main.css">
+
+
+
+
+</head>
+<body class="rustdoc">
+ <!--[if lte IE 8]>
+ <div class="warning">
+ This old browser is unsupported and will most likely display funky
+ things.
+ </div>
+ <![endif]-->
+
+
+
+ <nav class="sidebar">
+
+ <p class='location'><a href='../index.html'>km</a>::<wbr><a href='index.html'>shared</a></p><script>window.sidebarCurrent = {name: 'NT_PRODUCT_TYPE', ty: 'enum', relpath: ''};</script><script defer src="sidebar-items.js"></script>
+ </nav>
+
+ <nav class="sub">
+ <form class="search-form js-only">
+ <div class="search-container">
+ <input class="search-input" name="search"
+ autocomplete="off"
+ placeholder="Click or press ‘S’ to search, ‘?’ for more options…"
+ type="search">
+ </div>
+ </form>
+ </nav>
+
+ <section id='main' class="content enum">
+<h1 class='fqn'><span class='in-band'>Enum <a href='../index.html'>km</a>::<wbr><a href='index.html'>shared</a>::<wbr><a class='enum' href=''>NT_PRODUCT_TYPE</a></span><span class='out-of-band'><span id='render-detail'>
+ <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">
+ [<span class='inner'>&#x2212;</span>]
+ </a>
+ </span><a id='src-563' class='srclink' href='../../src/km/shared.rs.html#19-24' title='goto source code'>[src]</a></span></h1>
+<pre class='rust enum'>pub enum NT_PRODUCT_TYPE {
+ NtProductWinNt,
+ NtProductLanManNt,
+ NtProductServer,
+}</pre><h2 class='variants'>Variants</h2>
+<table class='variants_table'><tr><td id='variant.NtProductWinNt'><code>NtProductWinNt</code></td><td></td><td></td></tr><tr><td id='variant.NtProductLanManNt'><code>NtProductLanManNt</code></td><td></td><td></td></tr><tr><td id='variant.NtProductServer'><code>NtProductServer</code></td><td></td><td></td></tr></table></section>
+ <section id='search' class="content hidden"></section>
+
+ <section class="footer"></section>
+
+ <aside id="help" class="hidden">
+ <div>
+ <h1 class="hidden">Help</h1>
+
+ <div class="shortcuts">
+ <h2>Keyboard Shortcuts</h2>
+
+ <dl>
+ <dt>?</dt>
+ <dd>Show this help dialog</dd>
+ <dt>S</dt>
+ <dd>Focus the search field</dd>
+ <dt>&larrb;</dt>
+ <dd>Move up in search results</dd>
+ <dt>&rarrb;</dt>
+ <dd>Move down in search results</dd>
+ <dt>&#9166;</dt>
+ <dd>Go to active search result</dd>
+ </dl>
+ </div>
+
+ <div class="infos">
+ <h2>Search Tricks</h2>
+
+ <p>
+ Prefix searches with a type followed by a colon (e.g.
+ <code>fn:</code>) to restrict the search to a given type.
+ </p>
+
+ <p>
+ Accepted types are: <code>fn</code>, <code>mod</code>,
+ <code>struct</code>, <code>enum</code>,
+ <code>trait</code>, <code>type</code>, <code>macro</code>,
+ and <code>const</code>.
+ </p>
+
+ <p>
+ Search functions by type signature (e.g.
+ <code>vec -> usize</code> or <code>* -> vec</code>)
+ </p>
+ </div>
+ </div>
+ </aside>
+
+
+
+ <script>
+ window.rootPath = "../../";
+ window.currentCrate = "km";
+ window.playgroundUrl = "";
+ </script>
+ <script src="../../jquery.js"></script>
+ <script src="../../main.js"></script>
+
+ <script defer src="../../search-index.js"></script>
+</body>
+</html> \ No newline at end of file
diff --git a/doc/km/shared/index.html b/doc/km/shared/index.html
new file mode 100644
index 0000000..cf95bf4
--- /dev/null
+++ b/doc/km/shared/index.html
@@ -0,0 +1,151 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+ <meta name="generator" content="rustdoc">
+ <meta name="description" content="API documentation for the Rust `shared` mod in crate `km`.">
+ <meta name="keywords" content="rust, rustlang, rust-lang, shared">
+
+ <title>km::shared - Rust</title>
+
+ <link rel="stylesheet" type="text/css" href="../../rustdoc.css">
+ <link rel="stylesheet" type="text/css" href="../../main.css">
+
+
+
+
+</head>
+<body class="rustdoc">
+ <!--[if lte IE 8]>
+ <div class="warning">
+ This old browser is unsupported and will most likely display funky
+ things.
+ </div>
+ <![endif]-->
+
+
+
+ <nav class="sidebar">
+
+ <p class='location'><a href='../index.html'>km</a></p><script>window.sidebarCurrent = {name: 'shared', ty: 'mod', relpath: '../'};</script><script defer src="../sidebar-items.js"></script>
+ </nav>
+
+ <nav class="sub">
+ <form class="search-form js-only">
+ <div class="search-container">
+ <input class="search-input" name="search"
+ autocomplete="off"
+ placeholder="Click or press ‘S’ to search, ‘?’ for more options…"
+ type="search">
+ </div>
+ </form>
+ </nav>
+
+ <section id='main' class="content mod">
+<h1 class='fqn'><span class='in-band'>Module <a href='../index.html'>km</a>::<wbr><a class='mod' href=''>shared</a></span><span class='out-of-band'><span id='render-detail'>
+ <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">
+ [<span class='inner'>&#x2212;</span>]
+ </a>
+ </span><a id='src-549' class='srclink' href='../../src/km/shared.rs.html#1-153' title='goto source code'>[src]</a></span></h1>
+<div class='docblock'><p>Data shared between kernel and user mode.</p>
+</div><h2 id='structs' class='section-header'><a href="#structs">Structs</a></h2>
+<table>
+ <tr class=' module-item'>
+ <td><a class='struct' href='struct.KSYSTEM_TIME.html'
+ title='km::shared::KSYSTEM_TIME'>KSYSTEM_TIME</a></td>
+ <td class='docblock short'>
+ <p>Dystem time structure</p>
+ </td>
+ </tr>
+ <tr class=' module-item'>
+ <td><a class='struct' href='struct.KUSER_SHARED_DATA.html'
+ title='km::shared::KUSER_SHARED_DATA'>KUSER_SHARED_DATA</a></td>
+ <td class='docblock short'>
+ <p>The data shared between kernel and user mode.</p>
+ </td>
+ </tr></table><h2 id='enums' class='section-header'><a href="#enums">Enums</a></h2>
+<table>
+ <tr class=' module-item'>
+ <td><a class='enum' href='enum.ALTERNATIVE_ARCHITECTURE_TYPE.html'
+ title='km::shared::ALTERNATIVE_ARCHITECTURE_TYPE'>ALTERNATIVE_ARCHITECTURE_TYPE</a></td>
+ <td class='docblock short'>
+
+ </td>
+ </tr>
+ <tr class=' module-item'>
+ <td><a class='enum' href='enum.NT_PRODUCT_TYPE.html'
+ title='km::shared::NT_PRODUCT_TYPE'>NT_PRODUCT_TYPE</a></td>
+ <td class='docblock short'>
+
+ </td>
+ </tr></table><h2 id='types' class='section-header'><a href="#types">Type Definitions</a></h2>
+<table>
+ <tr class=' module-item'>
+ <td><a class='type' href='type.SYSTEMTIME.html'
+ title='km::shared::SYSTEMTIME'>SYSTEMTIME</a></td>
+ <td class='docblock short'>
+ <p>System time is a count of 100-nanosecond intervals since January 1, 1601.</p>
+ </td>
+ </tr></table></section>
+ <section id='search' class="content hidden"></section>
+
+ <section class="footer"></section>
+
+ <aside id="help" class="hidden">
+ <div>
+ <h1 class="hidden">Help</h1>
+
+ <div class="shortcuts">
+ <h2>Keyboard Shortcuts</h2>
+
+ <dl>
+ <dt>?</dt>
+ <dd>Show this help dialog</dd>
+ <dt>S</dt>
+ <dd>Focus the search field</dd>
+ <dt>&larrb;</dt>
+ <dd>Move up in search results</dd>
+ <dt>&rarrb;</dt>
+ <dd>Move down in search results</dd>
+ <dt>&#9166;</dt>
+ <dd>Go to active search result</dd>
+ </dl>
+ </div>
+
+ <div class="infos">
+ <h2>Search Tricks</h2>
+
+ <p>
+ Prefix searches with a type followed by a colon (e.g.
+ <code>fn:</code>) to restrict the search to a given type.
+ </p>
+
+ <p>
+ Accepted types are: <code>fn</code>, <code>mod</code>,
+ <code>struct</code>, <code>enum</code>,
+ <code>trait</code>, <code>type</code>, <code>macro</code>,
+ and <code>const</code>.
+ </p>
+
+ <p>
+ Search functions by type signature (e.g.
+ <code>vec -> usize</code> or <code>* -> vec</code>)
+ </p>
+ </div>
+ </div>
+ </aside>
+
+
+
+ <script>
+ window.rootPath = "../../";
+ window.currentCrate = "km";
+ window.playgroundUrl = "";
+ </script>
+ <script src="../../jquery.js"></script>
+ <script src="../../main.js"></script>
+
+ <script defer src="../../search-index.js"></script>
+</body>
+</html> \ No newline at end of file
diff --git a/doc/km/shared/sidebar-items.js b/doc/km/shared/sidebar-items.js
new file mode 100644
index 0000000..74e4b50
--- /dev/null
+++ b/doc/km/shared/sidebar-items.js
@@ -0,0 +1 @@
+initSidebarItems({"enum":[["ALTERNATIVE_ARCHITECTURE_TYPE",""],["NT_PRODUCT_TYPE",""]],"struct":[["KSYSTEM_TIME","Dystem time structure"],["KUSER_SHARED_DATA","The data shared between kernel and user mode."]],"type":[["SYSTEMTIME","System time is a count of 100-nanosecond intervals since January 1, 1601."]]}); \ No newline at end of file
diff --git a/doc/km/shared/struct.KSYSTEM_TIME.html b/doc/km/shared/struct.KSYSTEM_TIME.html
new file mode 100644
index 0000000..206c335
--- /dev/null
+++ b/doc/km/shared/struct.KSYSTEM_TIME.html
@@ -0,0 +1,117 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+ <meta name="generator" content="rustdoc">
+ <meta name="description" content="API documentation for the Rust `KSYSTEM_TIME` struct in crate `km`.">
+ <meta name="keywords" content="rust, rustlang, rust-lang, KSYSTEM_TIME">
+
+ <title>km::shared::KSYSTEM_TIME - Rust</title>
+
+ <link rel="stylesheet" type="text/css" href="../../rustdoc.css">
+ <link rel="stylesheet" type="text/css" href="../../main.css">
+
+
+
+
+</head>
+<body class="rustdoc">
+ <!--[if lte IE 8]>
+ <div class="warning">
+ This old browser is unsupported and will most likely display funky
+ things.
+ </div>
+ <![endif]-->
+
+
+
+ <nav class="sidebar">
+
+ <p class='location'><a href='../index.html'>km</a>::<wbr><a href='index.html'>shared</a></p><script>window.sidebarCurrent = {name: 'KSYSTEM_TIME', ty: 'struct', relpath: ''};</script><script defer src="sidebar-items.js"></script>
+ </nav>
+
+ <nav class="sub">
+ <form class="search-form js-only">
+ <div class="search-container">
+ <input class="search-input" name="search"
+ autocomplete="off"
+ placeholder="Click or press ‘S’ to search, ‘?’ for more options…"
+ type="search">
+ </div>
+ </form>
+ </nav>
+
+ <section id='main' class="content struct">
+<h1 class='fqn'><span class='in-band'>Struct <a href='../index.html'>km</a>::<wbr><a href='index.html'>shared</a>::<wbr><a class='struct' href=''>KSYSTEM_TIME</a></span><span class='out-of-band'><span id='render-detail'>
+ <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">
+ [<span class='inner'>&#x2212;</span>]
+ </a>
+ </span><a id='src-552' class='srclink' href='../../src/km/shared.rs.html#11-16' title='goto source code'>[src]</a></span></h1>
+<pre class='rust struct'>pub struct KSYSTEM_TIME {
+ // some fields omitted
+}</pre><div class='docblock'><p>Dystem time structure</p>
+</div><h2 id='implementations'>Trait Implementations</h2><h3 id='derived_implementations'>Derived Implementations </h3><h3 class='impl'><code>impl <a class='trait' href='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html' title='core::clone::Clone'>Clone</a> for <a class='struct' href='../../km/shared/struct.KSYSTEM_TIME.html' title='km::shared::KSYSTEM_TIME'>KSYSTEM_TIME</a></code></h3><div class='impl-items'><h4 id='method.clone' class='method'><code>fn <a href='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone' class='fnname'>clone</a>(&amp;self) -&gt; <a class='struct' href='../../km/shared/struct.KSYSTEM_TIME.html' title='km::shared::KSYSTEM_TIME'>KSYSTEM_TIME</a></code></h4>
+<h4 id='method.clone_from' class='method'><span class="since">1.0.0</span><code>fn <a href='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from' class='fnname'>clone_from</a>(&amp;mut self, source: &amp;Self)</code></h4>
+</div><h3 class='impl'><code>impl <a class='trait' href='https://doc.rust-lang.org/nightly/core/marker/trait.Copy.html' title='core::marker::Copy'>Copy</a> for <a class='struct' href='../../km/shared/struct.KSYSTEM_TIME.html' title='km::shared::KSYSTEM_TIME'>KSYSTEM_TIME</a></code></h3><div class='impl-items'></div></section>
+ <section id='search' class="content hidden"></section>
+
+ <section class="footer"></section>
+
+ <aside id="help" class="hidden">
+ <div>
+ <h1 class="hidden">Help</h1>
+
+ <div class="shortcuts">
+ <h2>Keyboard Shortcuts</h2>
+
+ <dl>
+ <dt>?</dt>
+ <dd>Show this help dialog</dd>
+ <dt>S</dt>
+ <dd>Focus the search field</dd>
+ <dt>&larrb;</dt>
+ <dd>Move up in search results</dd>
+ <dt>&rarrb;</dt>
+ <dd>Move down in search results</dd>
+ <dt>&#9166;</dt>
+ <dd>Go to active search result</dd>
+ </dl>
+ </div>
+
+ <div class="infos">
+ <h2>Search Tricks</h2>
+
+ <p>
+ Prefix searches with a type followed by a colon (e.g.
+ <code>fn:</code>) to restrict the search to a given type.
+ </p>
+
+ <p>
+ Accepted types are: <code>fn</code>, <code>mod</code>,
+ <code>struct</code>, <code>enum</code>,
+ <code>trait</code>, <code>type</code>, <code>macro</code>,
+ and <code>const</code>.
+ </p>
+
+ <p>
+ Search functions by type signature (e.g.
+ <code>vec -> usize</code> or <code>* -> vec</code>)
+ </p>
+ </div>
+ </div>
+ </aside>
+
+
+
+ <script>
+ window.rootPath = "../../";
+ window.currentCrate = "km";
+ window.playgroundUrl = "";
+ </script>
+ <script src="../../jquery.js"></script>
+ <script src="../../main.js"></script>
+
+ <script defer src="../../search-index.js"></script>
+</body>
+</html> \ No newline at end of file
diff --git a/doc/km/shared/struct.KUSER_SHARED_DATA.html b/doc/km/shared/struct.KUSER_SHARED_DATA.html
new file mode 100644
index 0000000..cde4d54
--- /dev/null
+++ b/doc/km/shared/struct.KUSER_SHARED_DATA.html
@@ -0,0 +1,202 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+ <meta name="generator" content="rustdoc">
+ <meta name="description" content="API documentation for the Rust `KUSER_SHARED_DATA` struct in crate `km`.">
+ <meta name="keywords" content="rust, rustlang, rust-lang, KUSER_SHARED_DATA">
+
+ <title>km::shared::KUSER_SHARED_DATA - Rust</title>
+
+ <link rel="stylesheet" type="text/css" href="../../rustdoc.css">
+ <link rel="stylesheet" type="text/css" href="../../main.css">
+
+
+
+
+</head>
+<body class="rustdoc">
+ <!--[if lte IE 8]>
+ <div class="warning">
+ This old browser is unsupported and will most likely display funky
+ things.
+ </div>
+ <![endif]-->
+
+
+
+ <nav class="sidebar">
+
+ <p class='location'><a href='../index.html'>km</a>::<wbr><a href='index.html'>shared</a></p><script>window.sidebarCurrent = {name: 'KUSER_SHARED_DATA', ty: 'struct', relpath: ''};</script><script defer src="sidebar-items.js"></script>
+ </nav>
+
+ <nav class="sub">
+ <form class="search-form js-only">
+ <div class="search-container">
+ <input class="search-input" name="search"
+ autocomplete="off"
+ placeholder="Click or press ‘S’ to search, ‘?’ for more options…"
+ type="search">
+ </div>
+ </form>
+ </nav>
+
+ <section id='main' class="content struct">
+<h1 class='fqn'><span class='in-band'>Struct <a href='../index.html'>km</a>::<wbr><a href='index.html'>shared</a>::<wbr><a class='struct' href=''>KUSER_SHARED_DATA</a></span><span class='out-of-band'><span id='render-detail'>
+ <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">
+ [<span class='inner'>&#x2212;</span>]
+ </a>
+ </span><a id='src-571' class='srclink' href='../../src/km/shared.rs.html#36-113' title='goto source code'>[src]</a></span></h1>
+<pre class='rust struct'>pub struct KUSER_SHARED_DATA {
+ pub TickCountLowDeprecated: u32,
+ pub TickCountMultiplier: u32,
+ pub InterruptTime: <a class='struct' href='../../km/shared/struct.KSYSTEM_TIME.html' title='km::shared::KSYSTEM_TIME'>KSYSTEM_TIME</a>,
+ pub SystemTime: <a class='struct' href='../../km/shared/struct.KSYSTEM_TIME.html' title='km::shared::KSYSTEM_TIME'>KSYSTEM_TIME</a>,
+ pub TimeZoneBias: <a class='struct' href='../../km/shared/struct.KSYSTEM_TIME.html' title='km::shared::KSYSTEM_TIME'>KSYSTEM_TIME</a>,
+ pub ImageNumberLow: u16,
+ pub ImageNumberHigh: u16,
+ pub NtSystemRoot: [u16; 260],
+ pub MaxStackTraceDepth: u32,
+ pub CryptoExponent: u32,
+ pub TimeZoneId: u32,
+ pub LargePageMinimum: u32,
+ pub Reserved2: [u32; 7],
+ pub NtProductType: <a class='enum' href='../../km/shared/enum.NT_PRODUCT_TYPE.html' title='km::shared::NT_PRODUCT_TYPE'>NT_PRODUCT_TYPE</a>,
+ pub ProductTypeIsValid: bool,
+ pub NtMajorVersion: u32,
+ pub NtMinorVersion: u32,
+ pub ProcessorFeatures: [bool; 64],
+ pub Reserved1: u32,
+ pub Reserved3: u32,
+ pub TimeSlip: u32,
+ pub AlternativeArchitecture: <a class='enum' href='../../km/shared/enum.ALTERNATIVE_ARCHITECTURE_TYPE.html' title='km::shared::ALTERNATIVE_ARCHITECTURE_TYPE'>ALTERNATIVE_ARCHITECTURE_TYPE</a>,
+ pub SystemExpirationDate: u64,
+ pub SuiteMask: u32,
+ pub KdDebuggerEnabled: bool,
+ pub NXSupportPolicy: u8,
+ pub ActiveConsoleId: u32,
+ pub DismountCount: u32,
+ pub ComPlusPackage: u32,
+ pub LastSystemRITEventTickCount: u32,
+ pub NumberOfPhysicalPages: u32,
+ pub SafeBootMode: bool,
+ pub TraceLogging: u32,
+ pub TestRetInstruction: u64,
+ pub SystemCall: u32,
+ pub SystemCallReturn: u32,
+ pub SystemCallPad: [u64; 3],
+ pub TickCount: <a class='struct' href='../../km/shared/struct.KSYSTEM_TIME.html' title='km::shared::KSYSTEM_TIME'>KSYSTEM_TIME</a>,
+ pub Cookie: u32,
+}</pre><div class='docblock'><p>The data shared between kernel and user mode.</p>
+</div><h2 class='fields'>Fields</h2>
+<table><tr class='stab '>
+ <td id='structfield.TickCountLowDeprecated'><code>TickCountLowDeprecated</code></td><td></td></tr><tr class='stab '>
+ <td id='structfield.TickCountMultiplier'><code>TickCountMultiplier</code></td><td></td></tr><tr class='stab '>
+ <td id='structfield.InterruptTime'><code>InterruptTime</code></td><td><div class='docblock'><p>Current 64-bit interrupt time in 100ns units.</p>
+</div></td></tr><tr class='stab '>
+ <td id='structfield.SystemTime'><code>SystemTime</code></td><td><div class='docblock'><p>Current 64-bit system time in 100ns units.</p>
+</div></td></tr><tr class='stab '>
+ <td id='structfield.TimeZoneBias'><code>TimeZoneBias</code></td><td><div class='docblock'><p>Current 64-bit time zone bias.</p>
+</div></td></tr><tr class='stab '>
+ <td id='structfield.ImageNumberLow'><code>ImageNumberLow</code></td><td></td></tr><tr class='stab '>
+ <td id='structfield.ImageNumberHigh'><code>ImageNumberHigh</code></td><td></td></tr><tr class='stab '>
+ <td id='structfield.NtSystemRoot'><code>NtSystemRoot</code></td><td></td></tr><tr class='stab '>
+ <td id='structfield.MaxStackTraceDepth'><code>MaxStackTraceDepth</code></td><td></td></tr><tr class='stab '>
+ <td id='structfield.CryptoExponent'><code>CryptoExponent</code></td><td></td></tr><tr class='stab '>
+ <td id='structfield.TimeZoneId'><code>TimeZoneId</code></td><td></td></tr><tr class='stab '>
+ <td id='structfield.LargePageMinimum'><code>LargePageMinimum</code></td><td></td></tr><tr class='stab '>
+ <td id='structfield.Reserved2'><code>Reserved2</code></td><td></td></tr><tr class='stab '>
+ <td id='structfield.NtProductType'><code>NtProductType</code></td><td></td></tr><tr class='stab '>
+ <td id='structfield.ProductTypeIsValid'><code>ProductTypeIsValid</code></td><td></td></tr><tr class='stab '>
+ <td id='structfield.NtMajorVersion'><code>NtMajorVersion</code></td><td></td></tr><tr class='stab '>
+ <td id='structfield.NtMinorVersion'><code>NtMinorVersion</code></td><td></td></tr><tr class='stab '>
+ <td id='structfield.ProcessorFeatures'><code>ProcessorFeatures</code></td><td></td></tr><tr class='stab '>
+ <td id='structfield.Reserved1'><code>Reserved1</code></td><td></td></tr><tr class='stab '>
+ <td id='structfield.Reserved3'><code>Reserved3</code></td><td></td></tr><tr class='stab '>
+ <td id='structfield.TimeSlip'><code>TimeSlip</code></td><td></td></tr><tr class='stab '>
+ <td id='structfield.AlternativeArchitecture'><code>AlternativeArchitecture</code></td><td></td></tr><tr class='stab '>
+ <td id='structfield.SystemExpirationDate'><code>SystemExpirationDate</code></td><td></td></tr><tr class='stab '>
+ <td id='structfield.SuiteMask'><code>SuiteMask</code></td><td></td></tr><tr class='stab '>
+ <td id='structfield.KdDebuggerEnabled'><code>KdDebuggerEnabled</code></td><td><div class='docblock'><p>True if a kernel debugger is connected/enabled.</p>
+</div></td></tr><tr class='stab '>
+ <td id='structfield.NXSupportPolicy'><code>NXSupportPolicy</code></td><td></td></tr><tr class='stab '>
+ <td id='structfield.ActiveConsoleId'><code>ActiveConsoleId</code></td><td></td></tr><tr class='stab '>
+ <td id='structfield.DismountCount'><code>DismountCount</code></td><td></td></tr><tr class='stab '>
+ <td id='structfield.ComPlusPackage'><code>ComPlusPackage</code></td><td></td></tr><tr class='stab '>
+ <td id='structfield.LastSystemRITEventTickCount'><code>LastSystemRITEventTickCount</code></td><td></td></tr><tr class='stab '>
+ <td id='structfield.NumberOfPhysicalPages'><code>NumberOfPhysicalPages</code></td><td></td></tr><tr class='stab '>
+ <td id='structfield.SafeBootMode'><code>SafeBootMode</code></td><td><div class='docblock'><p>True if the system was booted in safe boot mode.</p>
+</div></td></tr><tr class='stab '>
+ <td id='structfield.TraceLogging'><code>TraceLogging</code></td><td></td></tr><tr class='stab '>
+ <td id='structfield.TestRetInstruction'><code>TestRetInstruction</code></td><td></td></tr><tr class='stab '>
+ <td id='structfield.SystemCall'><code>SystemCall</code></td><td></td></tr><tr class='stab '>
+ <td id='structfield.SystemCallReturn'><code>SystemCallReturn</code></td><td></td></tr><tr class='stab '>
+ <td id='structfield.SystemCallPad'><code>SystemCallPad</code></td><td></td></tr><tr class='stab '>
+ <td id='structfield.TickCount'><code>TickCount</code></td><td><div class='docblock'><p>The 64-bit tick count.</p>
+</div></td></tr><tr class='stab '>
+ <td id='structfield.Cookie'><code>Cookie</code></td><td><div class='docblock'><p>Cookie for encoding pointers system wide.</p>
+</div></td></tr></table><h2 id='methods'>Methods</h2><h3 class='impl'><code>impl <a class='struct' href='../../km/shared/struct.KUSER_SHARED_DATA.html' title='km::shared::KUSER_SHARED_DATA'>KUSER_SHARED_DATA</a></code></h3><div class='impl-items'><h4 id='method.get' class='method'><code>fn <a href='#method.get' class='fnname'>get</a>() -&gt; &amp;'static <a class='struct' href='../../km/shared/struct.KUSER_SHARED_DATA.html' title='km::shared::KUSER_SHARED_DATA'>KUSER_SHARED_DATA</a></code></h4>
+<div class='docblock'><p>Get reference to the mapped shared data.</p>
+</div></div></section>
+ <section id='search' class="content hidden"></section>
+
+ <section class="footer"></section>
+
+ <aside id="help" class="hidden">
+ <div>
+ <h1 class="hidden">Help</h1>
+
+ <div class="shortcuts">
+ <h2>Keyboard Shortcuts</h2>
+
+ <dl>
+ <dt>?</dt>
+ <dd>Show this help dialog</dd>
+ <dt>S</dt>
+ <dd>Focus the search field</dd>
+ <dt>&larrb;</dt>
+ <dd>Move up in search results</dd>
+ <dt>&rarrb;</dt>
+ <dd>Move down in search results</dd>
+ <dt>&#9166;</dt>
+ <dd>Go to active search result</dd>
+ </dl>
+ </div>
+
+ <div class="infos">
+ <h2>Search Tricks</h2>
+
+ <p>
+ Prefix searches with a type followed by a colon (e.g.
+ <code>fn:</code>) to restrict the search to a given type.
+ </p>
+
+ <p>
+ Accepted types are: <code>fn</code>, <code>mod</code>,
+ <code>struct</code>, <code>enum</code>,
+ <code>trait</code>, <code>type</code>, <code>macro</code>,
+ and <code>const</code>.
+ </p>
+
+ <p>
+ Search functions by type signature (e.g.
+ <code>vec -> usize</code> or <code>* -> vec</code>)
+ </p>
+ </div>
+ </div>
+ </aside>
+
+
+
+ <script>
+ window.rootPath = "../../";
+ window.currentCrate = "km";
+ window.playgroundUrl = "";
+ </script>
+ <script src="../../jquery.js"></script>
+ <script src="../../main.js"></script>
+
+ <script defer src="../../search-index.js"></script>
+</body>
+</html> \ No newline at end of file
diff --git a/doc/km/shared/type.SYSTEMTIME.html b/doc/km/shared/type.SYSTEMTIME.html
new file mode 100644
index 0000000..b3a724d
--- /dev/null
+++ b/doc/km/shared/type.SYSTEMTIME.html
@@ -0,0 +1,113 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+ <meta name="generator" content="rustdoc">
+ <meta name="description" content="API documentation for the Rust `SYSTEMTIME` type in crate `km`.">
+ <meta name="keywords" content="rust, rustlang, rust-lang, SYSTEMTIME">
+
+ <title>km::shared::SYSTEMTIME - Rust</title>
+
+ <link rel="stylesheet" type="text/css" href="../../rustdoc.css">
+ <link rel="stylesheet" type="text/css" href="../../main.css">
+
+
+
+
+</head>
+<body class="rustdoc">
+ <!--[if lte IE 8]>
+ <div class="warning">
+ This old browser is unsupported and will most likely display funky
+ things.
+ </div>
+ <![endif]-->
+
+
+
+ <nav class="sidebar">
+
+ <p class='location'><a href='../index.html'>km</a>::<wbr><a href='index.html'>shared</a></p><script>window.sidebarCurrent = {name: 'SYSTEMTIME', ty: 'type', relpath: ''};</script><script defer src="sidebar-items.js"></script>
+ </nav>
+
+ <nav class="sub">
+ <form class="search-form js-only">
+ <div class="search-container">
+ <input class="search-input" name="search"
+ autocomplete="off"
+ placeholder="Click or press ‘S’ to search, ‘?’ for more options…"
+ type="search">
+ </div>
+ </form>
+ </nav>
+
+ <section id='main' class="content type">
+<h1 class='fqn'><span class='in-band'><a href='../index.html'>km</a>::<wbr><a href='index.html'>shared</a>::<wbr><a class='type' href=''>SYSTEMTIME</a></span><span class='out-of-band'><span id='render-detail'>
+ <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">
+ [<span class='inner'>&#x2212;</span>]
+ </a>
+ </span><a id='src-551' class='srclink' href='../../src/km/shared.rs.html#5' title='goto source code'>[src]</a></span></h1>
+<pre class='rust typedef'>type SYSTEMTIME = i64;</pre><div class='docblock'><p>System time is a count of 100-nanosecond intervals since January 1, 1601.</p>
+</div></section>
+ <section id='search' class="content hidden"></section>
+
+ <section class="footer"></section>
+
+ <aside id="help" class="hidden">
+ <div>
+ <h1 class="hidden">Help</h1>
+
+ <div class="shortcuts">
+ <h2>Keyboard Shortcuts</h2>
+
+ <dl>
+ <dt>?</dt>
+ <dd>Show this help dialog</dd>
+ <dt>S</dt>
+ <dd>Focus the search field</dd>
+ <dt>&larrb;</dt>
+ <dd>Move up in search results</dd>
+ <dt>&rarrb;</dt>
+ <dd>Move down in search results</dd>
+ <dt>&#9166;</dt>
+ <dd>Go to active search result</dd>
+ </dl>
+ </div>
+
+ <div class="infos">
+ <h2>Search Tricks</h2>
+
+ <p>
+ Prefix searches with a type followed by a colon (e.g.
+ <code>fn:</code>) to restrict the search to a given type.
+ </p>
+
+ <p>
+ Accepted types are: <code>fn</code>, <code>mod</code>,
+ <code>struct</code>, <code>enum</code>,
+ <code>trait</code>, <code>type</code>, <code>macro</code>,
+ and <code>const</code>.
+ </p>
+
+ <p>
+ Search functions by type signature (e.g.
+ <code>vec -> usize</code> or <code>* -> vec</code>)
+ </p>
+ </div>
+ </div>
+ </aside>
+
+
+
+ <script>
+ window.rootPath = "../../";
+ window.currentCrate = "km";
+ window.playgroundUrl = "";
+ </script>
+ <script src="../../jquery.js"></script>
+ <script src="../../main.js"></script>
+
+ <script defer src="../../search-index.js"></script>
+</body>
+</html> \ No newline at end of file
diff --git a/doc/km/sidebar-items.js b/doc/km/sidebar-items.js
index 1200af8..5e7a5fd 100644
--- a/doc/km/sidebar-items.js
+++ b/doc/km/sidebar-items.js
@@ -1 +1 @@
-initSidebarItems({"macro":[["KdPrint!","Macro to send a message to the kernel debugger."],["KdPrint_u!","Macro to send a message to the kernel debugger for unsafe blocks."],["check_unsafe!",""]],"mod":[["basedef","Kernel-Mode Types."],["crt","C runtime library."],["debug","Debugger support."],["device_object","Device Object."],["dpc","Deferred Procedure Calls (DPC)."],["driver_object","Driver Object."],["event","Event Objects."],["file_object","File Object."],["irp","I/O request packets (IRP)."],["irql","Interrupt Request Level (IRQL)."],["macros","Macros for Kernel-Mode drivers."],["object","Kernel Objects."],["pool","Kernel Mode pools."],["rtl","NT runtime routines."],["status","NT Status codes."],["string","Kernel mode string types."],["time","NT Time routines."]]}); \ No newline at end of file
+initSidebarItems({"macro":[["KdPrint!","Macro to send a message to the kernel debugger."],["KdPrint_u!","Macro to send a message to the kernel debugger for unsafe blocks."],["check_unsafe!",""]],"mod":[["basedef","Kernel-Mode Types."],["crt","C runtime library."],["debug","Debugger support."],["device_object","Device Object."],["dpc","Deferred Procedure Calls (DPC)."],["driver_object","Driver Object."],["event","Event Objects."],["file_object","File Object."],["irp","I/O request packets (IRP)."],["irql","Interrupt Request Level (IRQL)."],["macros","Macros for Kernel-Mode drivers."],["object","Kernel Objects."],["pool","Kernel Mode pools."],["rtl","NT runtime routines."],["shared","Data shared between kernel and user mode."],["status","NT Status codes."],["string","Kernel mode string types."],["time","NT Time routines."]]}); \ No newline at end of file
diff --git a/doc/km/string/fn.RtlAnsiStringToUnicodeSize.html b/doc/km/string/fn.RtlAnsiStringToUnicodeSize.html
index 80ca00a..f3ba276 100644
--- a/doc/km/string/fn.RtlAnsiStringToUnicodeSize.html
+++ b/doc/km/string/fn.RtlAnsiStringToUnicodeSize.html
@@ -47,7 +47,7 @@
<a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">
[<span class='inner'>&#x2212;</span>]
</a>
- </span><a id='src-608' class='srclink' href='../../src/km/string.rs.html#85' title='goto source code'>[src]</a></span></h1>
+ </span><a id='src-678' class='srclink' href='../../src/km/string.rs.html#85' title='goto source code'>[src]</a></span></h1>
<pre class='rust fn'>pub unsafe extern "system" fn RtlAnsiStringToUnicodeSize(SourceString: &amp;<a class='type' href='../../km/string/type.CONST_ANSI_STRING.html' title='km::string::CONST_ANSI_STRING'>CONST_ANSI_STRING</a>) -&gt; u32</pre></section>
<section id='search' class="content hidden"></section>
diff --git a/doc/km/string/fn.RtlAnsiStringToUnicodeString.html b/doc/km/string/fn.RtlAnsiStringToUnicodeString.html
index ff96a78..ea911db 100644
--- a/doc/km/string/fn.RtlAnsiStringToUnicodeString.html
+++ b/doc/km/string/fn.RtlAnsiStringToUnicodeString.html
@@ -47,7 +47,7 @@
<a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">
[<span class='inner'>&#x2212;</span>]
</a>
- </span><a id='src-604' class='srclink' href='../../src/km/string.rs.html#84' title='goto source code'>[src]</a></span></h1>
+ </span><a id='src-674' class='srclink' href='../../src/km/string.rs.html#84' title='goto source code'>[src]</a></span></h1>
<pre class='rust fn'>pub unsafe extern "system" fn RtlAnsiStringToUnicodeString(DestinationString: &amp;mut <a class='struct' href='../../km/string/struct.UNICODE_STRING.html' title='km::string::UNICODE_STRING'>UNICODE_STRING</a>, SourceString: &amp;<a class='type' href='../../km/string/type.CONST_ANSI_STRING.html' title='km::string::CONST_ANSI_STRING'>CONST_ANSI_STRING</a>, AllocateDestination: bool) -&gt; <a class='type' href='../../km/status/type.NTSTATUS.html' title='km::status::NTSTATUS'>NTSTATUS</a></pre></section>
<section id='search' class="content hidden"></section>
diff --git a/doc/km/string/fn.RtlCompareString.html b/doc/km/string/fn.RtlCompareString.html
index 1668198..46c9b7b 100644
--- a/doc/km/string/fn.RtlCompareString.html
+++ b/doc/km/string/fn.RtlCompareString.html
@@ -47,7 +47,7 @@
<a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">
[<span class='inner'>&#x2212;</span>]
</a>
- </span><a id='src-614' class='srclink' href='../../src/km/string.rs.html#88' title='goto source code'>[src]</a></span></h1>
+ </span><a id='src-684' class='srclink' href='../../src/km/string.rs.html#88' title='goto source code'>[src]</a></span></h1>
<pre class='rust fn'>pub unsafe extern "system" fn RtlCompareString(String1: &amp;<a class='type' href='../../km/string/type.CONST_ANSI_STRING.html' title='km::string::CONST_ANSI_STRING'>CONST_ANSI_STRING</a>, String2: &amp;<a class='type' href='../../km/string/type.CONST_ANSI_STRING.html' title='km::string::CONST_ANSI_STRING'>CONST_ANSI_STRING</a>, CaseInSensitive: bool) -&gt; i32</pre></section>
<section id='search' class="content hidden"></section>
diff --git a/doc/km/string/fn.RtlCompareUnicodeString.html b/doc/km/string/fn.RtlCompareUnicodeString.html
index f802f64..8bd1ce3 100644
--- a/doc/km/string/fn.RtlCompareUnicodeString.html
+++ b/doc/km/string/fn.RtlCompareUnicodeString.html
@@ -47,7 +47,7 @@
<a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">
[<span class='inner'>&#x2212;</span>]
</a>
- </span><a id='src-610' class='srclink' href='../../src/km/string.rs.html#87' title='goto source code'>[src]</a></span></h1>
+ </span><a id='src-680' class='srclink' href='../../src/km/string.rs.html#87' title='goto source code'>[src]</a></span></h1>
<pre class='rust fn'>pub unsafe extern "system" fn RtlCompareUnicodeString(String1: &amp;<a class='type' href='../../km/string/type.CONST_UNICODE_STRING.html' title='km::string::CONST_UNICODE_STRING'>CONST_UNICODE_STRING</a>, String2: &amp;<a class='type' href='../../km/string/type.CONST_UNICODE_STRING.html' title='km::string::CONST_UNICODE_STRING'>CONST_UNICODE_STRING</a>, CaseInSensitive: bool) -&gt; i32</pre></section>
<section id='search' class="content hidden"></section>
diff --git a/doc/km/string/fn.RtlEqualString.html b/doc/km/string/fn.RtlEqualString.html
index 802c692..5fba996 100644
--- a/doc/km/string/fn.RtlEqualString.html
+++ b/doc/km/string/fn.RtlEqualString.html
@@ -47,7 +47,7 @@
<a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">
[<span class='inner'>&#x2212;</span>]
</a>
- </span><a id='src-621' class='srclink' href='../../src/km/string.rs.html#91' title='goto source code'>[src]</a></span></h1>
+ </span><a id='src-691' class='srclink' href='../../src/km/string.rs.html#91' title='goto source code'>[src]</a></span></h1>
<pre class='rust fn'>pub unsafe extern "system" fn RtlEqualString(String1: &amp;<a class='type' href='../../km/string/type.CONST_ANSI_STRING.html' title='km::string::CONST_ANSI_STRING'>CONST_ANSI_STRING</a>, String2: &amp;<a class='type' href='../../km/string/type.CONST_ANSI_STRING.html' title='km::string::CONST_ANSI_STRING'>CONST_ANSI_STRING</a>) -&gt; bool</pre></section>
<section id='search' class="content hidden"></section>
diff --git a/doc/km/string/fn.RtlEqualUnicodeString.html b/doc/km/string/fn.RtlEqualUnicodeString.html
index 3862d90..dacd8e3 100644
--- a/doc/km/string/fn.RtlEqualUnicodeString.html
+++ b/doc/km/string/fn.RtlEqualUnicodeString.html
@@ -47,7 +47,7 @@
<a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">
[<span class='inner'>&#x2212;</span>]
</a>
- </span><a id='src-618' class='srclink' href='../../src/km/string.rs.html#90' title='goto source code'>[src]</a></span></h1>
+ </span><a id='src-688' class='srclink' href='../../src/km/string.rs.html#90' title='goto source code'>[src]</a></span></h1>
<pre class='rust fn'>pub unsafe extern "system" fn RtlEqualUnicodeString(String1: &amp;<a class='type' href='../../km/string/type.CONST_UNICODE_STRING.html' title='km::string::CONST_UNICODE_STRING'>CONST_UNICODE_STRING</a>, String2: &amp;<a class='type' href='../../km/string/type.CONST_UNICODE_STRING.html' title='km::string::CONST_UNICODE_STRING'>CONST_UNICODE_STRING</a>) -&gt; bool</pre></section>
<section id='search' class="content hidden"></section>
diff --git a/doc/km/string/fn.RtlFreeAnsiString.html b/doc/km/string/fn.RtlFreeAnsiString.html
index 30d54e2..7cc6081 100644
--- a/doc/km/string/fn.RtlFreeAnsiString.html
+++ b/doc/km/string/fn.RtlFreeAnsiString.html
@@ -47,7 +47,7 @@
<a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">
[<span class='inner'>&#x2212;</span>]
</a>
- </span><a id='src-624' class='srclink' href='../../src/km/string.rs.html#93' title='goto source code'>[src]</a></span></h1>
+ </span><a id='src-694' class='srclink' href='../../src/km/string.rs.html#93' title='goto source code'>[src]</a></span></h1>
<pre class='rust fn'>pub unsafe extern "system" fn RtlFreeAnsiString(UnicodeString: &amp;mut <a class='struct' href='../../km/string/struct.ANSI_STRING.html' title='km::string::ANSI_STRING'>ANSI_STRING</a>)</pre></section>
<section id='search' class="content hidden"></section>
diff --git a/doc/km/string/fn.RtlFreeUnicodeString.html b/doc/km/string/fn.RtlFreeUnicodeString.html
index 9f8ebc6..138635d 100644
--- a/doc/km/string/fn.RtlFreeUnicodeString.html
+++ b/doc/km/string/fn.RtlFreeUnicodeString.html
@@ -47,7 +47,7 @@
<a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">
[<span class='inner'>&#x2212;</span>]
</a>
- </span><a id='src-626' class='srclink' href='../../src/km/string.rs.html#94' title='goto source code'>[src]</a></span></h1>
+ </span><a id='src-696' class='srclink' href='../../src/km/string.rs.html#94' title='goto source code'>[src]</a></span></h1>
<pre class='rust fn'>pub unsafe extern "system" fn RtlFreeUnicodeString(UnicodeString: &amp;mut <a class='struct' href='../../km/string/struct.UNICODE_STRING.html' title='km::string::UNICODE_STRING'>UNICODE_STRING</a>)</pre></section>
<section id='search' class="content hidden"></section>
diff --git a/doc/km/string/fn.RtlInt64ToUnicodeString.html b/doc/km/string/fn.RtlInt64ToUnicodeString.html
index 5b1f954..9758db8 100644
--- a/doc/km/string/fn.RtlInt64ToUnicodeString.html
+++ b/doc/km/string/fn.RtlInt64ToUnicodeString.html
@@ -47,7 +47,7 @@
<a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">
[<span class='inner'>&#x2212;</span>]
</a>
- </span><a id='src-590' class='srclink' href='../../src/km/string.rs.html#78' title='goto source code'>[src]</a></span></h1>
+ </span><a id='src-660' class='srclink' href='../../src/km/string.rs.html#78' title='goto source code'>[src]</a></span></h1>
<pre class='rust fn'>pub unsafe extern "system" fn RtlInt64ToUnicodeString(Value: u64, Base: u32, String: &amp;mut <a class='struct' href='../../km/string/struct.UNICODE_STRING.html' title='km::string::UNICODE_STRING'>UNICODE_STRING</a>) -&gt; <a class='type' href='../../km/status/type.NTSTATUS.html' title='km::status::NTSTATUS'>NTSTATUS</a></pre></section>
<section id='search' class="content hidden"></section>
diff --git a/doc/km/string/fn.RtlIntegerToUnicodeString.html b/doc/km/string/fn.RtlIntegerToUnicodeString.html
index 0f5b96e..f9f67b0 100644
--- a/doc/km/string/fn.RtlIntegerToUnicodeString.html
+++ b/doc/km/string/fn.RtlIntegerToUnicodeString.html
@@ -47,7 +47,7 @@
<a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">
[<span class='inner'>&#x2212;</span>]
</a>
- </span><a id='src-586' class='srclink' href='../../src/km/string.rs.html#77' title='goto source code'>[src]</a></span></h1>
+ </span><a id='src-656' class='srclink' href='../../src/km/string.rs.html#77' title='goto source code'>[src]</a></span></h1>
<pre class='rust fn'>pub unsafe extern "system" fn RtlIntegerToUnicodeString(Value: u32, Base: u32, String: &amp;mut <a class='struct' href='../../km/string/struct.UNICODE_STRING.html' title='km::string::UNICODE_STRING'>UNICODE_STRING</a>) -&gt; <a class='type' href='../../km/status/type.NTSTATUS.html' title='km::status::NTSTATUS'>NTSTATUS</a></pre></section>
<section id='search' class="content hidden"></section>
diff --git a/doc/km/string/fn.RtlUnicodeStringToAnsiSize.html b/doc/km/string/fn.RtlUnicodeStringToAnsiSize.html
index 89cb195..0b54734 100644
--- a/doc/km/string/fn.RtlUnicodeStringToAnsiSize.html
+++ b/doc/km/string/fn.RtlUnicodeStringToAnsiSize.html
@@ -47,7 +47,7 @@
<a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">
[<span class='inner'>&#x2212;</span>]
</a>
- </span><a id='src-602' class='srclink' href='../../src/km/string.rs.html#82' title='goto source code'>[src]</a></span></h1>
+ </span><a id='src-672' class='srclink' href='../../src/km/string.rs.html#82' title='goto source code'>[src]</a></span></h1>
<pre class='rust fn'>pub unsafe extern "system" fn RtlUnicodeStringToAnsiSize(SourceString: &amp;<a class='type' href='../../km/string/type.CONST_UNICODE_STRING.html' title='km::string::CONST_UNICODE_STRING'>CONST_UNICODE_STRING</a>) -&gt; u32</pre></section>
<section id='search' class="content hidden"></section>
diff --git a/doc/km/string/fn.RtlUnicodeStringToAnsiString.html b/doc/km/string/fn.RtlUnicodeStringToAnsiString.html
index f0a4a5b..6893192 100644
--- a/doc/km/string/fn.RtlUnicodeStringToAnsiString.html
+++ b/doc/km/string/fn.RtlUnicodeStringToAnsiString.html
@@ -47,7 +47,7 @@
<a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">
[<span class='inner'>&#x2212;</span>]
</a>
- </span><a id='src-598' class='srclink' href='../../src/km/string.rs.html#81' title='goto source code'>[src]</a></span></h1>
+ </span><a id='src-668' class='srclink' href='../../src/km/string.rs.html#81' title='goto source code'>[src]</a></span></h1>
<pre class='rust fn'>pub unsafe extern "system" fn RtlUnicodeStringToAnsiString(DestinationString: &amp;mut <a class='struct' href='../../km/string/struct.ANSI_STRING.html' title='km::string::ANSI_STRING'>ANSI_STRING</a>, SourceString: &amp;<a class='type' href='../../km/string/type.CONST_UNICODE_STRING.html' title='km::string::CONST_UNICODE_STRING'>CONST_UNICODE_STRING</a>, AllocateDestination: bool) -&gt; <a class='type' href='../../km/status/type.NTSTATUS.html' title='km::status::NTSTATUS'>NTSTATUS</a></pre></section>
<section id='search' class="content hidden"></section>
diff --git a/doc/km/string/fn.RtlUnicodeStringToInteger.html b/doc/km/string/fn.RtlUnicodeStringToInteger.html
index 387b96e..50c4550 100644
--- a/doc/km/string/fn.RtlUnicodeStringToInteger.html
+++ b/doc/km/string/fn.RtlUnicodeStringToInteger.html
@@ -47,7 +47,7 @@
<a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">
[<span class='inner'>&#x2212;</span>]
</a>
- </span><a id='src-594' class='srclink' href='../../src/km/string.rs.html#79' title='goto source code'>[src]</a></span></h1>
+ </span><a id='src-664' class='srclink' href='../../src/km/string.rs.html#79' title='goto source code'>[src]</a></span></h1>
<pre class='rust fn'>pub unsafe extern "system" fn RtlUnicodeStringToInteger(String: &amp;<a class='type' href='../../km/string/type.CONST_UNICODE_STRING.html' title='km::string::CONST_UNICODE_STRING'>CONST_UNICODE_STRING</a>, Base: u32, Value: &amp;mut u32) -&gt; <a class='type' href='../../km/status/type.NTSTATUS.html' title='km::status::NTSTATUS'>NTSTATUS</a></pre></section>
<section id='search' class="content hidden"></section>
diff --git a/doc/km/string/index.html b/doc/km/string/index.html
index f11b932..3e4ca31 100644
--- a/doc/km/string/index.html
+++ b/doc/km/string/index.html
@@ -47,7 +47,7 @@
<a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">
[<span class='inner'>&#x2212;</span>]
</a>
- </span><a id='src-549' class='srclink' href='../../src/km/string.rs.html#1-95' title='goto source code'>[src]</a></span></h1>
+ </span><a id='src-619' class='srclink' href='../../src/km/string.rs.html#1-95' title='goto source code'>[src]</a></span></h1>
<div class='docblock'><p>Kernel mode string types.</p>
</div><h2 id='structs' class='section-header'><a href="#structs">Structs</a></h2>
<table>
diff --git a/doc/km/string/struct.ANSI_STRING.html b/doc/km/string/struct.ANSI_STRING.html
index 8468c08..192ba78 100644
--- a/doc/km/string/struct.ANSI_STRING.html
+++ b/doc/km/string/struct.ANSI_STRING.html
@@ -47,7 +47,7 @@
<a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">
[<span class='inner'>&#x2212;</span>]
</a>
- </span><a id='src-563' class='srclink' href='../../src/km/string.rs.html#32-40' title='goto source code'>[src]</a></span></h1>
+ </span><a id='src-633' class='srclink' href='../../src/km/string.rs.html#32-40' title='goto source code'>[src]</a></span></h1>
<pre class='rust struct'>pub struct ANSI_STRING {
pub Length: u16,
pub MaximumLength: u16,
diff --git a/doc/km/string/struct.UNICODE_STRING.html b/doc/km/string/struct.UNICODE_STRING.html
index 0bb1613..ecbddc3 100644
--- a/doc/km/string/struct.UNICODE_STRING.html
+++ b/doc/km/string/struct.UNICODE_STRING.html
@@ -47,7 +47,7 @@
<a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">
[<span class='inner'>&#x2212;</span>]
</a>
- </span><a id='src-559' class='srclink' href='../../src/km/string.rs.html#20-28' title='goto source code'>[src]</a></span></h1>
+ </span><a id='src-629' class='srclink' href='../../src/km/string.rs.html#20-28' title='goto source code'>[src]</a></span></h1>
<pre class='rust struct'>pub struct UNICODE_STRING {
pub Length: u16,
pub MaximumLength: u16,
diff --git a/doc/km/string/trait.NativeString.html b/doc/km/string/trait.NativeString.html
index 2938e3b..9a9d87c 100644
--- a/doc/km/string/trait.NativeString.html
+++ b/doc/km/string/trait.NativeString.html
@@ -47,7 +47,7 @@
<a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">
[<span class='inner'>&#x2212;</span>]
</a>
- </span><a id='src-552' class='srclink' href='../../src/km/string.rs.html#6-16' title='goto source code'>[src]</a></span></h1>
+ </span><a id='src-622' class='srclink' href='../../src/km/string.rs.html#6-16' title='goto source code'>[src]</a></span></h1>
<pre class='rust trait'>pub trait NativeString {
fn <a href='#tymethod.size' class='fnname'>size</a>(&amp;self) -&gt; u16;
fn <a href='#tymethod.max_size' class='fnname'>max_size</a>(&amp;self) -&gt; u16;
diff --git a/doc/km/string/type.AnsiString.html b/doc/km/string/type.AnsiString.html
index dd1e9d4..31fe4c6 100644
--- a/doc/km/string/type.AnsiString.html
+++ b/doc/km/string/type.AnsiString.html
@@ -47,7 +47,7 @@
<a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">
[<span class='inner'>&#x2212;</span>]
</a>
- </span><a id='src-581' class='srclink' href='../../src/km/string.rs.html#68' title='goto source code'>[src]</a></span></h1>
+ </span><a id='src-651' class='srclink' href='../../src/km/string.rs.html#68' title='goto source code'>[src]</a></span></h1>
<pre class='rust typedef'>type AnsiString = <a class='struct' href='../../km/string/struct.ANSI_STRING.html' title='km::string::ANSI_STRING'>ANSI_STRING</a>;</pre></section>
<section id='search' class="content hidden"></section>
diff --git a/doc/km/string/type.CONST_ANSI_STRING.html b/doc/km/string/type.CONST_ANSI_STRING.html
index 0d42de7..244d657 100644
--- a/doc/km/string/type.CONST_ANSI_STRING.html
+++ b/doc/km/string/type.CONST_ANSI_STRING.html
@@ -47,7 +47,7 @@
<a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">
[<span class='inner'>&#x2212;</span>]
</a>
- </span><a id='src-584' class='srclink' href='../../src/km/string.rs.html#71' title='goto source code'>[src]</a></span></h1>
+ </span><a id='src-654' class='srclink' href='../../src/km/string.rs.html#71' title='goto source code'>[src]</a></span></h1>
<pre class='rust typedef'>type CONST_ANSI_STRING = <a class='struct' href='../../km/string/struct.ANSI_STRING.html' title='km::string::ANSI_STRING'>ANSI_STRING</a>;</pre></section>
<section id='search' class="content hidden"></section>
diff --git a/doc/km/string/type.CONST_UNICODE_STRING.html b/doc/km/string/type.CONST_UNICODE_STRING.html
index aa7401a..a87d598 100644
--- a/doc/km/string/type.CONST_UNICODE_STRING.html
+++ b/doc/km/string/type.CONST_UNICODE_STRING.html
@@ -47,7 +47,7 @@
<a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">
[<span class='inner'>&#x2212;</span>]
</a>
- </span><a id='src-583' class='srclink' href='../../src/km/string.rs.html#70' title='goto source code'>[src]</a></span></h1>
+ </span><a id='src-653' class='srclink' href='../../src/km/string.rs.html#70' title='goto source code'>[src]</a></span></h1>
<pre class='rust typedef'>type CONST_UNICODE_STRING = <a class='struct' href='../../km/string/struct.UNICODE_STRING.html' title='km::string::UNICODE_STRING'>UNICODE_STRING</a>;</pre></section>
<section id='search' class="content hidden"></section>
diff --git a/doc/km/string/type.UnicodeString.html b/doc/km/string/type.UnicodeString.html
index df7e89f..f1ad67f 100644
--- a/doc/km/string/type.UnicodeString.html
+++ b/doc/km/string/type.UnicodeString.html
@@ -47,7 +47,7 @@
<a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">
[<span class='inner'>&#x2212;</span>]
</a>
- </span><a id='src-582' class='srclink' href='../../src/km/string.rs.html#69' title='goto source code'>[src]</a></span></h1>
+ </span><a id='src-652' class='srclink' href='../../src/km/string.rs.html#69' title='goto source code'>[src]</a></span></h1>
<pre class='rust typedef'>type UnicodeString = <a class='struct' href='../../km/string/struct.UNICODE_STRING.html' title='km::string::UNICODE_STRING'>UNICODE_STRING</a>;</pre></section>
<section id='search' class="content hidden"></section>
diff --git a/doc/km/time/fn.ExSystemTimeToLocalTime.html b/doc/km/time/fn.ExSystemTimeToLocalTime.html
index 002b77d..b6c76ee 100644
--- a/doc/km/time/fn.ExSystemTimeToLocalTime.html
+++ b/doc/km/time/fn.ExSystemTimeToLocalTime.html
@@ -47,8 +47,8 @@
<a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">
[<span class='inner'>&#x2212;</span>]
</a>
- </span><a id='src-636' class='srclink' href='../../src/km/time.rs.html#11' title='goto source code'>[src]</a></span></h1>
-<pre class='rust fn'>pub unsafe extern "system" fn ExSystemTimeToLocalTime(SystemTime: *const <a class='type' href='../../km/time/type.SYSTEMTIME.html' title='km::time::SYSTEMTIME'>SYSTEMTIME</a>, LocalTime: *mut <a class='type' href='../../km/time/type.SYSTEMTIME.html' title='km::time::SYSTEMTIME'>SYSTEMTIME</a>)</pre><div class='docblock'><p>Converts a GMT system time value to the local system time for the current time zone.</p>
+ </span><a id='src-706' class='srclink' href='../../src/km/time.rs.html#20' title='goto source code'>[src]</a></span></h1>
+<pre class='rust fn'>pub unsafe extern "system" fn ExSystemTimeToLocalTime(SystemTime: *const <a class='type' href='../../km/shared/type.SYSTEMTIME.html' title='km::shared::SYSTEMTIME'>SYSTEMTIME</a>, LocalTime: *mut <a class='type' href='../../km/shared/type.SYSTEMTIME.html' title='km::shared::SYSTEMTIME'>SYSTEMTIME</a>)</pre><div class='docblock'><p>Converts a GMT system time value to the local system time for the current time zone.</p>
</div></section>
<section id='search' class="content hidden"></section>
diff --git a/doc/km/time/fn.QuerySystemTime.html b/doc/km/time/fn.QuerySystemTime.html
index 8eacb2e..8a8f052 100644
--- a/doc/km/time/fn.QuerySystemTime.html
+++ b/doc/km/time/fn.QuerySystemTime.html
@@ -47,8 +47,8 @@
<a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">
[<span class='inner'>&#x2212;</span>]
</a>
- </span><a id='src-639' class='srclink' href='../../src/km/time.rs.html#15-19' title='goto source code'>[src]</a></span></h1>
-<pre class='rust fn'>pub fn QuerySystemTime() -&gt; <a class='type' href='../../km/time/type.SYSTEMTIME.html' title='km::time::SYSTEMTIME'>SYSTEMTIME</a></pre><div class='docblock'><p>Obtains the current system time.</p>
+ </span><a id='src-709' class='srclink' href='../../src/km/time.rs.html#26-30' title='goto source code'>[src]</a></span></h1>
+<pre class='rust fn'>pub fn QuerySystemTime() -&gt; <a class='type' href='../../km/shared/type.SYSTEMTIME.html' title='km::shared::SYSTEMTIME'>SYSTEMTIME</a></pre><div class='docblock'><p>Obtains the current system time.</p>
</div></section>
<section id='search' class="content hidden"></section>
diff --git a/doc/km/time/fn.QueryTickCount.html b/doc/km/time/fn.QueryTickCount.html
index f193713..f0a3989 100644
--- a/doc/km/time/fn.QueryTickCount.html
+++ b/doc/km/time/fn.QueryTickCount.html
@@ -47,7 +47,7 @@
<a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">
[<span class='inner'>&#x2212;</span>]
</a>
- </span><a id='src-641' class='srclink' href='../../src/km/time.rs.html#22-26' title='goto source code'>[src]</a></span></h1>
+ </span><a id='src-711' class='srclink' href='../../src/km/time.rs.html#42-46' title='goto source code'>[src]</a></span></h1>
<pre class='rust fn'>pub fn QueryTickCount() -&gt; i64</pre><div class='docblock'><p>A count of the interval timer interrupts that have occurred since the system was booted.</p>
</div></section>
<section id='search' class="content hidden"></section>
diff --git a/doc/km/time/index.html b/doc/km/time/index.html
index a9e4dc0..2e75f91 100644
--- a/doc/km/time/index.html
+++ b/doc/km/time/index.html
@@ -47,7 +47,7 @@
<a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">
[<span class='inner'>&#x2212;</span>]
</a>
- </span><a id='src-628' class='srclink' href='../../src/km/time.rs.html#1-26' title='goto source code'>[src]</a></span></h1>
+ </span><a id='src-698' class='srclink' href='../../src/km/time.rs.html#1-54' title='goto source code'>[src]</a></span></h1>
<div class='docblock'><p>NT Time routines.</p>
</div><h2 id='functions' class='section-header'><a href="#functions">Functions</a></h2>
<table>
@@ -71,14 +71,6 @@
<td class='docblock short'>
<p>A count of the interval timer interrupts that have occurred since the system was booted.</p>
</td>
- </tr></table><h2 id='types' class='section-header'><a href="#types">Type Definitions</a></h2>
-<table>
- <tr class=' module-item'>
- <td><a class='type' href='type.SYSTEMTIME.html'
- title='km::time::SYSTEMTIME'>SYSTEMTIME</a></td>
- <td class='docblock short'>
- <p>System time is a count of 100-nanosecond intervals since January 1, 1601.</p>
- </td>
</tr></table></section>
<section id='search' class="content hidden"></section>
diff --git a/doc/km/time/sidebar-items.js b/doc/km/time/sidebar-items.js
index 2dc6ba1..f8df114 100644
--- a/doc/km/time/sidebar-items.js
+++ b/doc/km/time/sidebar-items.js
@@ -1 +1 @@
-initSidebarItems({"fn":[["ExSystemTimeToLocalTime","Converts a GMT system time value to the local system time for the current time zone."],["QuerySystemTime","Obtains the current system time."],["QueryTickCount","A count of the interval timer interrupts that have occurred since the system was booted."]],"type":[["SYSTEMTIME","System time is a count of 100-nanosecond intervals since January 1, 1601."]]}); \ No newline at end of file
+initSidebarItems({"fn":[["ExSystemTimeToLocalTime","Converts a GMT system time value to the local system time for the current time zone."],["QuerySystemTime","Obtains the current system time."],["QueryTickCount","A count of the interval timer interrupts that have occurred since the system was booted."]]}); \ No newline at end of file
diff --git a/doc/search-index.js b/doc/search-index.js
index 0b6ffc1..032d614 100644
--- a/doc/search-index.js
+++ b/doc/search-index.js
@@ -1,3 +1,3 @@
var searchIndex = {};
-searchIndex["km"] = {"doc":"Windows Kernel Mode library.","items":[[0,"macros","km","Macros for Kernel-Mode drivers.",null,null],[0,"status","","NT Status codes.",null,null],[4,"Status","km::status","NT Status code.",null,null],[13,"success","","",0,null],[13,"unsuccessful","","",0,null],[5,"check","","Convert `Status` to `Result&lt;()&gt;`.",null,{"inputs":[{"name":"status"}],"output":{"name":"result"}}],[6,"NTSTATUS","","NT Status type.",null,null],[6,"Result","","A specialized `Result` type for NT operations.",null,null],[11,"clone","","",0,{"inputs":[{"name":"status"}],"output":{"name":"status"}}],[11,"is_ok","","Evaluates to `true` if the `Status` is a success type (`0..0x3FFFFFFF`)\nor an informational type (`0x40000000..0x7FFFFFFF`).",0,{"inputs":[{"name":"status"}],"output":{"name":"bool"}}],[11,"is_err","","Status is a warning or error type.",0,{"inputs":[{"name":"status"}],"output":{"name":"bool"}}],[11,"is_success","","Status is a success type.",0,{"inputs":[{"name":"status"}],"output":{"name":"bool"}}],[11,"is_information","","Status is a information type.",0,{"inputs":[{"name":"status"}],"output":{"name":"bool"}}],[11,"is_warning","","Status is a warning type.",0,{"inputs":[{"name":"status"}],"output":{"name":"bool"}}],[11,"is_error","","Status is a error type.",0,{"inputs":[{"name":"status"}],"output":{"name":"bool"}}],[0,"basedef","km","Kernel-Mode Types.",null,null],[3,"LIST_ENTRY","km::basedef","Doubly linked list structure.",null,null],[12,"next","","",1,null],[12,"prev","","",1,null],[3,"KSPIN_LOCK","","Spin Lock.",null,null],[12,"lock","","",2,null],[3,"DISPATCHER_HEADER","","Common dispatcher object header.",null,null],[12,"Type","","",3,null],[12,"Absolute","","",3,null],[12,"Size","","",3,null],[12,"Inserted","","",3,null],[12,"SignalState","","",3,null],[12,"WaitListHead","","",3,null],[3,"IO_STATUS_BLOCK","","An I/O status block.",null,null],[12,"Status","","",4,null],[12,"Information","","",4,null],[4,"KPROCESSOR_MODE","","Processor modes.",null,null],[13,"KernelMode","","",5,null],[13,"UserMode","","",5,null],[5,"KeGetCurrentIrql","","",null,null],[5,"KeRaiseIrqlToDpcLevel","","",null,null],[5,"KfLowerIrql","","",null,null],[5,"KfRaiseIrql","","",null,null],[0,"IO_PRIORITY","","I/O Request priority.",null,null],[6,"KPRIORITY_BOOST","km::basedef::IO_PRIORITY","I/O Request priority type.",null,null],[17,"IO_NO_INCREMENT","","",null,null],[17,"IO_DISK_INCREMENT","","",null,null],[17,"EVENT_INCREMENT","","",null,null],[6,"VOID","km::basedef","",null,null],[6,"PVOID","","",null,null],[6,"PCVOID","","",null,null],[6,"PETHREAD","","",null,null],[6,"PIO_APC_ROUTINE","","",null,null],[6,"PIO_STATUS_BLOCK","","",null,null],[0,"crt","km","C runtime library.",null,null],[5,"memcmp","km::crt","",null,null],[5,"memcpy","","",null,null],[5,"strlen","","",null,null],[5,"strcmp","","",null,null],[5,"strcpy","","",null,null],[5,"strcat","","",null,null],[5,"strncpy","","",null,null],[5,"wcslen","","",null,null],[5,"wcscpy","","",null,null],[5,"wcsncpy","","",null,null],[0,"debug","km","Debugger support.",null,null],[4,"DPFLTR_LEVEL","km::debug","`DbgPrintEx` Message severity.",null,null],[13,"ERROR","","",6,null],[13,"WARNING","","",6,null],[13,"TRACE","","",6,null],[13,"INFO","","",6,null],[4,"DPFLTR_ID","","`DbgPrintEx` Component name.",null,null],[13,"SYSTEM","","",7,null],[13,"SMSS","","",7,null],[13,"SETUP","","",7,null],[13,"NTFS","","",7,null],[13,"IHVDRIVER","","",7,null],[13,"IHVVIDEO","","",7,null],[13,"IHVAUDIO","","",7,null],[13,"IHVNETWORK","","",7,null],[13,"IHVSTREAMING","","",7,null],[13,"IHVBUS","","",7,null],[13,"DEFAULT","","",7,null],[5,"DbgPrint","","`DbgPrint` routine sends a message to the kernel debugger.",null,null],[5,"DbgPrintEx","","The `DbgPrintEx` routine sends a string to the kernel debugger if certain conditions are met.",null,null],[5,"DbgBreakPoint","","Breaks into the kernel debugger.",null,null],[5,"DbgBreakPointWithStatus","","Breaks into the kernel debugger and sends the value of `Status` to the debugger.",null,null],[0,"device_object","km","Device Object.",null,null],[3,"DEVICE_OBJECT","km::device_object","The `DEVICE_OBJECT` structure is used by the operating system to represent a device object.",null,null],[12,"Type","","",8,null],[12,"Size","","",8,null],[12,"ReferenceCount","","",8,null],[12,"DriverObject","","",8,null],[12,"NextDevice","","",8,null],[12,"AttachedDevice","","",8,null],[12,"CurrentIrp","","",8,null],[12,"Timer","","",8,null],[12,"Flags","","",8,null],[12,"Characteristics","","",8,null],[12,"Vpb","","",8,null],[12,"DeviceExtension","","",8,null],[12,"DeviceType","","",8,null],[12,"StackSize","","",8,null],[12,"Queue","","",8,null],[12,"AlignmentRequirement","","",8,null],[12,"DeviceQueue","","",8,null],[12,"Dpc","","",8,null],[12,"ActiveThreadCount","","",8,null],[12,"SecurityDescriptor","","",8,null],[12,"DeviceLock","","",8,null],[12,"SectorSize","","",8,null],[12,"Spare1","","",8,null],[12,"DeviceObjectExtension","","",8,null],[12,"Reserved","","",8,null],[3,"DEVOBJ_EXTENSION","","Device object extension structure.",null,null],[4,"DEVICE_FLAGS","","Device object flags.",null,null],[13,"NONE","","",9,null],[13,"DO_VERIFY_VOLUME","","",9,null],[13,"DO_BUFFERED_IO","","",9,null],[13,"DO_EXCLUSIVE","","",9,null],[13,"DO_DIRECT_IO","","",9,null],[13,"DO_MAP_IO_BUFFER","","",9,null],[13,"DO_DEVICE_HAS_NAME","","",9,null],[13,"DO_DEVICE_INITIALIZING","","",9,null],[13,"DO_SYSTEM_BOOT_PARTITION","","",9,null],[13,"DO_LONG_TERM_REQUESTS","","",9,null],[13,"DO_NEVER_LAST_DEVICE","","",9,null],[13,"DO_SHUTDOWN_REGISTERED","","",9,null],[13,"DO_BUS_ENUMERATED_DEVICE","","",9,null],[13,"DO_POWER_PAGABLE","","",9,null],[13,"DO_POWER_INRUSH","","",9,null],[13,"DO_POWER_NOOP","","",9,null],[13,"DO_LOW_PRIORITY_FILESYSTEM","","",9,null],[13,"DO_XIP","","",9,null],[5,"IoCreateDevice","","",null,null],[5,"IoDeleteDevice","","",null,null],[5,"IoCreateSymbolicLink","","",null,null],[5,"IoDeleteSymbolicLink","","",null,null],[6,"PDEVICE_OBJECT","","",null,null],[6,"PDRIVER_CANCEL","","",null,null],[6,"PDRIVER_DISPATCH","","",null,null],[6,"PIO_COMPLETION_ROUTINE","","",null,null],[0,"dpc","km","Deferred Procedure Calls (DPC).",null,null],[3,"KDPC","km::dpc","Deferred Procedure Call object.",null,null],[3,"KDPC_DATA","","DPC data structure definition.",null,null],[5,"KeInitializeDpc","","",null,null],[5,"KeInsertQueueDpc","","",null,null],[5,"KeRemoveQueueDpc","","",null,null],[5,"KeFlushQueuedDpcs","","",null,null],[5,"KeGenericCallDpc","","",null,null],[6,"PDEFERRED_ROUTINE","","",null,null],[0,"driver_object","km","Driver Object.",null,null],[3,"DRIVER_OBJECT","km::driver_object","Represents the image of a loaded kernel-mode driver.",null,null],[12,"Type","","",10,null],[12,"Size","","",10,null],[12,"DeviceObject","","",10,null],[12,"Flags","","",10,null],[12,"DriverStart","","",10,null],[12,"DriverSize","","",10,null],[12,"DriverSection","","",10,null],[12,"DriverExtension","","",10,null],[12,"DriverName","","",10,null],[12,"HardwareDatabase","","",10,null],[12,"FastIoDispatch","","",10,null],[12,"DriverInit","","",10,null],[12,"DriverStartIo","","",10,null],[12,"DriverUnload","","The entry point for the driver&#39;s Unload routine, if any.",10,null],[12,"MajorFunction","","A dispatch table consisting of an array of entry points for the driver&#39;s `DispatchXxx` routines.",10,null],[6,"PDRIVER_INITIALIZE","","",null,null],[6,"PDRIVER_STARTIO","","",null,null],[6,"PDRIVER_UNLOAD","","",null,null],[0,"event","km","Event Objects.",null,null],[3,"KEVENT","km::event","Event object.",null,null],[4,"EVENT_TYPE","","Specifies the event type.",null,null],[13,"NotificationEvent","","Manual-reset event.",11,null],[13,"SynchronizationEvent","","Auto-clearing event.",11,null],[5,"KeInitializeEvent","","",null,null],[5,"KeSetEvent","","",null,null],[5,"KeReadStateEvent","","",null,null],[5,"KeResetEvent","","",null,null],[5,"KeClearEvent","","",null,null],[6,"PKEVENT","","",null,null],[0,"file_object","km","File Object.",null,null],[3,"FILE_OBJECT","km::file_object","The `FILE_OBJECT` structure is used by the system to represent a file object.",null,null],[6,"PFILE_OBJECT","","",null,null],[0,"irp","km","I/O request packets (IRP).",null,null],[3,"IRP","km::irp","The `IRP` structure is a partial opaque structure that represents an I/O request packet.",null,null],[12,"Type","","",12,null],[12,"Size","","",12,null],[12,"MdlAddress","","Pointer to an `MDL` describing a user buffer, if the driver is using direct I/O.",12,null],[12,"Flags","","Flags word - used to remember various flags.",12,null],[12,"SystemBuffer","","Pointer to a system-space buffer if the driver is using buffered I/O.",12,null],[12,"ThreadListEntry","","",12,null],[12,"IoStatus","","I/O status - final status of operation.",12,null],[12,"RequestorMode","","Indicates the execution mode of the original requester of the operation.",12,null],[12,"PendingReturned","","If set to `TRUE`, a driver has marked the IRP pending.",12,null],[12,"StackCount","","Stack state information.",12,null],[12,"CurrentLocation","","Stack state information.",12,null],[12,"Cancel","","If set to `TRUE`, the IRP either is or should be canceled.",12,null],[12,"CancelIrql","","Irql at which the cancel spinlock was acquired.",12,null],[12,"ApcEnvironment","","",12,null],[12,"AllocationFlags","","Allocation control flags.",12,null],[12,"UserIosb","","User parameters.",12,null],[12,"UserEvent","","",12,null],[12,"UserApcRoutine","","",12,null],[12,"UserApcContext","","",12,null],[12,"CancelRoutine","","Contains the entry point for a driver-supplied `Cancel` routine to be called if the IRP is canceled.",12,null],[12,"UserBuffer","","Contains the address of an output buffer for `IRP_MJ_DEVICE_CONTROL`.",12,null],[12,"Overlay","","Kernel structures.",12,null],[3,"_IRP_OVERLAY","","Kernel structures for IRP.",null,null],[12,"DriverContext","","",13,null],[12,"Thread","","",13,null],[12,"AuxiliaryBuffer","","",13,null],[12,"ListEntry","","",13,null],[12,"CurrentStackLocation","","Current stack location.",13,null],[12,"OriginalFileObject","","",13,null],[3,"IO_STACK_LOCATION","","I/O Stack Locations.",null,null],[12,"MajorFunction","","The IRP major function code indicating the type of I/O operation to be performed.",14,null],[12,"MinorFunction","","A subfunction code for `MajorFunction`.",14,null],[12,"Flags","","Request-type-specific values (see [DEVICE_FLAGS](../device_object/enum.DEVICE_FLAGS.html)).",14,null],[12,"Control","","",14,null],[12,"Parameters","","A union that depends on the major and minor IRP function code values\ncontained in `MajorFunction` and `MinorFunction`.",14,null],[12,"DeviceObject","","A pointer to the driver-created `DEVICE_OBJECT` structure\nrepresenting the target physical, logical, or virtual device for which this driver is to handle the IRP.",14,null],[12,"FileObject","","A pointer to a `FILE_OBJECT` structure that represents the file object, if any, that is associated with `DeviceObject` pointer.",14,null],[12,"CompletionRoutine","","The following routine is invoked depending on the flags in the above `Flags` field.",14,null],[12,"Context","","The following is used to store the address of the context parameter that should be passed to the `CompletionRoutine`.",14,null],[3,"_IO_STACK_LOCATION_READ","","Parameters for `IRP_MJ_READ`.",null,null],[12,"Length","","",15,null],[12,"Key","","",15,null],[12,"ByteOffset","","",15,null],[4,"IRP_MJ","","`IRP` Major Function Codes.",null,null],[13,"CREATE","","",16,null],[13,"CREATE_NAMED_PIPE","","",16,null],[13,"CLOSE","","",16,null],[13,"READ","","",16,null],[13,"WRITE","","",16,null],[13,"QUERY_INFORMATION","","",16,null],[13,"SET_INFORMATION","","",16,null],[13,"QUERY_EA","","",16,null],[13,"SET_EA","","",16,null],[13,"FLUSH_BUFFERS","","",16,null],[13,"QUERY_VOLUME_INFORMATION","","",16,null],[13,"SET_VOLUME_INFORMATION","","",16,null],[13,"DIRECTORY_CONTROL","","",16,null],[13,"FILE_SYSTEM_CONTROL","","",16,null],[13,"DEVICE_CONTROL","","",16,null],[13,"INTERNAL_DEVICE_CONTROL","","",16,null],[13,"SHUTDOWN","","",16,null],[13,"LOCK_CONTROL","","",16,null],[13,"CLEANUP","","",16,null],[13,"CREATE_MAILSLOT","","",16,null],[13,"QUERY_SECURITY","","",16,null],[13,"SET_SECURITY","","",16,null],[13,"POWER","","",16,null],[13,"SYSTEM_CONTROL","","",16,null],[13,"DEVICE_CHANGE","","",16,null],[13,"QUERY_QUOTA","","",16,null],[13,"SET_QUOTA","","",16,null],[13,"PNP","","",16,null],[13,"MAXIMUM_FUNCTION","","",16,null],[6,"PIRP","","",null,null],[6,"PIO_STACK_LOCATION","","",null,null],[11,"get_current_stack_location","","Returns a pointer to the caller&#39;s stack location in the given `IRP`.",12,{"inputs":[{"name":"irp"}],"output":{"name":"io_stack_location"}}],[11,"complete_request","","Indicates that the caller has completed all processing for a given I/O request\nand is returning the given IRP to the I/O manager.",12,{"inputs":[{"name":"irp"},{"name":"ntstatus"}],"output":{"name":"ntstatus"}}],[11,"ParametersRead","","Access parameters for `IRP_MJ_READ`.",14,{"inputs":[{"name":"io_stack_location"}],"output":{"name":"_io_stack_location_read"}}],[0,"irql","km","Interrupt Request Level (IRQL).",null,null],[6,"KIRQL","km::irql","IRQL type.",null,null],[17,"PASSIVE_LEVEL","","Passive release level, no interrupt vectors are masked.",null,null],[17,"LOW_LEVEL","","The lowest IRQL level, no interrupt vectors are masked.",null,null],[17,"APC_LEVEL","","APC interrupt level.",null,null],[17,"DISPATCH_LEVEL","","Dispatcher level",null,null],[17,"PROFILE_LEVEL","","Timer used for profiling.",null,null],[17,"CLOCK_LEVEL","","Interval clock level.",null,null],[17,"IPI_LEVEL","","Interprocessor interrupt level.",null,null],[17,"POWER_LEVEL","","Power failure level.",null,null],[17,"HIGH_LEVEL","","Highest interrupt level.",null,null],[17,"SYNCH_LEVEL","","Synchronization level.",null,null],[0,"object","km","Kernel Objects.",null,null],[3,"WAIT_CONTEXT_BLOCK","km::object","",null,null],[3,"KDEVICE_QUEUE_ENTRY","","",null,null],[3,"KDEVICE_QUEUE","","",null,null],[4,"IO_ALLOCATION_ACTION","","",null,null],[13,"KeepObject","","",17,null],[13,"DeallocateObject","","",17,null],[13,"DeallocateObjectKeepRegisters","","",17,null],[0,"pool","km","Kernel Mode pools.",null,null],[4,"POOL_TYPE","km::pool","Specifies the type of system memory to allocate.",null,null],[13,"NonPagedPool","","Nonpageable system memory, can be accessed from any IRQL.",18,null],[13,"PagedPool","","Pageable system memory, can only be allocated and accessed at IRQL &lt; DISPATCH_LEVEL.",18,null],[13,"NonPagedPoolMustSucceed","","",18,null],[13,"DontUseThisType","","",18,null],[13,"NonPagedPoolCacheAligned","","Nonpaged pool, aligned on processor cache boundaries.",18,null],[13,"PagedPoolCacheAligned","","Paged pool, aligned on processor cache boundaries.",18,null],[13,"NonPagedPoolCacheAlignedMustS","","",18,null],[13,"MaxPoolType","","",18,null],[13,"NonPagedPoolSession","","",18,null],[13,"PagedPoolSession","","",18,null],[13,"NonPagedPoolMustSucceedSession","","",18,null],[13,"DontUseThisTypeSession","","",18,null],[13,"NonPagedPoolCacheAlignedSession","","",18,null],[13,"PagedPoolCacheAlignedSession","","",18,null],[13,"NonPagedPoolCacheAlignedMustSSession","","",18,null],[5,"ExAllocatePoolWithTag","","Allocates pool memory of the specified type and tag.",null,null],[5,"ExFreePoolWithTag","","Deallocates a block of pool memory allocated with the specified tag.",null,null],[5,"ExAllocatePool","","Allocates pool memory of the specified type.",null,null],[5,"ExFreePool","","Deallocates a block of pool memory.",null,null],[0,"rtl","km","NT runtime routines.",null,null],[5,"RtlRandom","km::rtl","Returns a random number that was generated from a given `seed` value in the range `[0..MAXLONG-1]`.",null,null],[5,"RtlRandomEx","","Returns a random number that was generated from a given `seed` value in the range `[0..MAXLONG-1]`.",null,null],[5,"RtlUniform","","A simple uniform random number generator, based on D.H. Lehmer&#39;s 1948 alrogithm.",null,null],[0,"string","km","Kernel mode string types.",null,null],[3,"UNICODE_STRING","km::string","A counted Unicode string.",null,null],[12,"Length","","The length in **bytes** of the string stored in `Buffer`.",19,null],[12,"MaximumLength","","The length in **bytes** of `Buffer`.",19,null],[12,"Buffer","","Pointer to a buffer used to contain a string of wide characters.",19,null],[3,"ANSI_STRING","","A counted string used for ANSI strings.",null,null],[12,"Length","","The length in *bytes* of the string stored in `Buffer`.",20,null],[12,"MaximumLength","","The length in bytes of `Buffer`.",20,null],[12,"Buffer","","Pointer to a buffer used to contain a string of characters.",20,null],[5,"RtlIntegerToUnicodeString","","",null,null],[5,"RtlInt64ToUnicodeString","","",null,null],[5,"RtlUnicodeStringToInteger","","",null,null],[5,"RtlUnicodeStringToAnsiString","","",null,null],[5,"RtlUnicodeStringToAnsiSize","","",null,null],[5,"RtlAnsiStringToUnicodeString","","",null,null],[5,"RtlAnsiStringToUnicodeSize","","",null,null],[5,"RtlCompareUnicodeString","","",null,null],[5,"RtlCompareString","","",null,null],[5,"RtlEqualUnicodeString","","",null,null],[5,"RtlEqualString","","",null,null],[5,"RtlFreeAnsiString","","",null,null],[5,"RtlFreeUnicodeString","","",null,null],[6,"AnsiString","","",null,null],[6,"UnicodeString","","",null,null],[6,"CONST_UNICODE_STRING","","",null,null],[6,"CONST_ANSI_STRING","","",null,null],[8,"NativeString","","NT native string types.",null,null],[10,"size","","Size of string in bytes.",21,{"inputs":[{"name":"nativestring"}],"output":{"name":"u16"}}],[10,"max_size","","Size of buffer in bytes.",21,{"inputs":[{"name":"nativestring"}],"output":{"name":"u16"}}],[11,"is_empty","","Check is the string is empty.",21,{"inputs":[{"name":"nativestring"}],"output":{"name":"bool"}}],[11,"size","","",19,{"inputs":[{"name":"unicode_string"}],"output":{"name":"u16"}}],[11,"max_size","","",19,{"inputs":[{"name":"unicode_string"}],"output":{"name":"u16"}}],[11,"default","","",19,{"inputs":[],"output":{"name":"self"}}],[11,"from","","",20,null],[0,"time","km","NT Time routines.",null,null],[5,"QuerySystemTime","km::time","Obtains the current system time.",null,{"inputs":[],"output":{"name":"systemtime"}}],[5,"QueryTickCount","","A count of the interval timer interrupts that have occurred since the system was booted.",null,{"inputs":[],"output":{"name":"i64"}}],[5,"ExSystemTimeToLocalTime","","Converts a GMT system time value to the local system time for the current time zone.",null,null],[6,"SYSTEMTIME","","System time is a count of 100-nanosecond intervals since January 1, 1601.",null,null],[14,"KdPrint!","km","Macro to send a message to the kernel debugger.",null,null],[14,"KdPrint_u!","","Macro to send a message to the kernel debugger for unsafe blocks.",null,null],[14,"check_unsafe!","","",null,null]],"paths":[[4,"Status"],[3,"LIST_ENTRY"],[3,"KSPIN_LOCK"],[3,"DISPATCHER_HEADER"],[3,"IO_STATUS_BLOCK"],[4,"KPROCESSOR_MODE"],[4,"DPFLTR_LEVEL"],[4,"DPFLTR_ID"],[3,"DEVICE_OBJECT"],[4,"DEVICE_FLAGS"],[3,"DRIVER_OBJECT"],[4,"EVENT_TYPE"],[3,"IRP"],[3,"_IRP_OVERLAY"],[3,"IO_STACK_LOCATION"],[3,"_IO_STACK_LOCATION_READ"],[4,"IRP_MJ"],[4,"IO_ALLOCATION_ACTION"],[4,"POOL_TYPE"],[3,"UNICODE_STRING"],[3,"ANSI_STRING"],[8,"NativeString"]]};
+searchIndex["km"] = {"doc":"Windows Kernel Mode library.","items":[[0,"macros","km","Macros for Kernel-Mode drivers.",null,null],[0,"status","","NT Status codes.",null,null],[4,"Status","km::status","NT Status code.",null,null],[13,"success","","",0,null],[13,"unsuccessful","","",0,null],[5,"check","","Convert `Status` to `Result&lt;()&gt;`.",null,{"inputs":[{"name":"status"}],"output":{"name":"result"}}],[6,"NTSTATUS","","NT Status type.",null,null],[6,"Result","","A specialized `Result` type for NT operations.",null,null],[11,"clone","","",0,{"inputs":[{"name":"status"}],"output":{"name":"status"}}],[11,"is_ok","","Evaluates to `true` if the `Status` is a success type (`0..0x3FFFFFFF`)\nor an informational type (`0x40000000..0x7FFFFFFF`).",0,{"inputs":[{"name":"status"}],"output":{"name":"bool"}}],[11,"is_err","","Status is a warning or error type.",0,{"inputs":[{"name":"status"}],"output":{"name":"bool"}}],[11,"is_success","","Status is a success type.",0,{"inputs":[{"name":"status"}],"output":{"name":"bool"}}],[11,"is_information","","Status is a information type.",0,{"inputs":[{"name":"status"}],"output":{"name":"bool"}}],[11,"is_warning","","Status is a warning type.",0,{"inputs":[{"name":"status"}],"output":{"name":"bool"}}],[11,"is_error","","Status is a error type.",0,{"inputs":[{"name":"status"}],"output":{"name":"bool"}}],[0,"basedef","km","Kernel-Mode Types.",null,null],[3,"LIST_ENTRY","km::basedef","Doubly linked list structure.",null,null],[12,"next","","",1,null],[12,"prev","","",1,null],[3,"KSPIN_LOCK","","Spin Lock.",null,null],[12,"lock","","",2,null],[3,"DISPATCHER_HEADER","","Common dispatcher object header.",null,null],[12,"Type","","",3,null],[12,"Absolute","","",3,null],[12,"Size","","",3,null],[12,"Inserted","","",3,null],[12,"SignalState","","",3,null],[12,"WaitListHead","","",3,null],[3,"IO_STATUS_BLOCK","","An I/O status block.",null,null],[12,"Status","","",4,null],[12,"Information","","",4,null],[4,"KPROCESSOR_MODE","","Processor modes.",null,null],[13,"KernelMode","","",5,null],[13,"UserMode","","",5,null],[5,"KeGetCurrentIrql","","",null,null],[5,"KeRaiseIrqlToDpcLevel","","",null,null],[5,"KfLowerIrql","","",null,null],[5,"KfRaiseIrql","","",null,null],[0,"IO_PRIORITY","","I/O Request priority.",null,null],[6,"KPRIORITY_BOOST","km::basedef::IO_PRIORITY","I/O Request priority type.",null,null],[17,"IO_NO_INCREMENT","","",null,null],[17,"IO_DISK_INCREMENT","","",null,null],[17,"EVENT_INCREMENT","","",null,null],[6,"VOID","km::basedef","",null,null],[6,"PVOID","","",null,null],[6,"PCVOID","","",null,null],[6,"PETHREAD","","",null,null],[6,"PIO_APC_ROUTINE","","",null,null],[6,"PIO_STATUS_BLOCK","","",null,null],[0,"crt","km","C runtime library.",null,null],[5,"memcmp","km::crt","",null,null],[5,"memcpy","","",null,null],[5,"strlen","","",null,null],[5,"strcmp","","",null,null],[5,"strcpy","","",null,null],[5,"strcat","","",null,null],[5,"strncpy","","",null,null],[5,"wcslen","","",null,null],[5,"wcscpy","","",null,null],[5,"wcsncpy","","",null,null],[0,"debug","km","Debugger support.",null,null],[4,"DPFLTR_LEVEL","km::debug","`DbgPrintEx` Message severity.",null,null],[13,"ERROR","","",6,null],[13,"WARNING","","",6,null],[13,"TRACE","","",6,null],[13,"INFO","","",6,null],[4,"DPFLTR_ID","","`DbgPrintEx` Component name.",null,null],[13,"SYSTEM","","",7,null],[13,"SMSS","","",7,null],[13,"SETUP","","",7,null],[13,"NTFS","","",7,null],[13,"IHVDRIVER","","",7,null],[13,"IHVVIDEO","","",7,null],[13,"IHVAUDIO","","",7,null],[13,"IHVNETWORK","","",7,null],[13,"IHVSTREAMING","","",7,null],[13,"IHVBUS","","",7,null],[13,"DEFAULT","","",7,null],[5,"DbgPrint","","`DbgPrint` routine sends a message to the kernel debugger.",null,null],[5,"DbgPrintEx","","The `DbgPrintEx` routine sends a string to the kernel debugger if certain conditions are met.",null,null],[5,"DbgBreakPoint","","Breaks into the kernel debugger.",null,null],[5,"DbgBreakPointWithStatus","","Breaks into the kernel debugger and sends the value of `Status` to the debugger.",null,null],[0,"device_object","km","Device Object.",null,null],[3,"DEVICE_OBJECT","km::device_object","The `DEVICE_OBJECT` structure is used by the operating system to represent a device object.",null,null],[12,"Type","","",8,null],[12,"Size","","",8,null],[12,"ReferenceCount","","",8,null],[12,"DriverObject","","",8,null],[12,"NextDevice","","",8,null],[12,"AttachedDevice","","",8,null],[12,"CurrentIrp","","",8,null],[12,"Timer","","",8,null],[12,"Flags","","",8,null],[12,"Characteristics","","",8,null],[12,"Vpb","","",8,null],[12,"DeviceExtension","","",8,null],[12,"DeviceType","","",8,null],[12,"StackSize","","",8,null],[12,"Queue","","",8,null],[12,"AlignmentRequirement","","",8,null],[12,"DeviceQueue","","",8,null],[12,"Dpc","","",8,null],[12,"ActiveThreadCount","","",8,null],[12,"SecurityDescriptor","","",8,null],[12,"DeviceLock","","",8,null],[12,"SectorSize","","",8,null],[12,"Spare1","","",8,null],[12,"DeviceObjectExtension","","",8,null],[12,"Reserved","","",8,null],[3,"DEVOBJ_EXTENSION","","Device object extension structure.",null,null],[4,"DEVICE_FLAGS","","Device object flags.",null,null],[13,"NONE","","",9,null],[13,"DO_VERIFY_VOLUME","","",9,null],[13,"DO_BUFFERED_IO","","",9,null],[13,"DO_EXCLUSIVE","","",9,null],[13,"DO_DIRECT_IO","","",9,null],[13,"DO_MAP_IO_BUFFER","","",9,null],[13,"DO_DEVICE_HAS_NAME","","",9,null],[13,"DO_DEVICE_INITIALIZING","","",9,null],[13,"DO_SYSTEM_BOOT_PARTITION","","",9,null],[13,"DO_LONG_TERM_REQUESTS","","",9,null],[13,"DO_NEVER_LAST_DEVICE","","",9,null],[13,"DO_SHUTDOWN_REGISTERED","","",9,null],[13,"DO_BUS_ENUMERATED_DEVICE","","",9,null],[13,"DO_POWER_PAGABLE","","",9,null],[13,"DO_POWER_INRUSH","","",9,null],[13,"DO_POWER_NOOP","","",9,null],[13,"DO_LOW_PRIORITY_FILESYSTEM","","",9,null],[13,"DO_XIP","","",9,null],[5,"IoCreateDevice","","",null,null],[5,"IoDeleteDevice","","",null,null],[5,"IoCreateSymbolicLink","","",null,null],[5,"IoDeleteSymbolicLink","","",null,null],[6,"PDEVICE_OBJECT","","",null,null],[6,"PDRIVER_CANCEL","","",null,null],[6,"PDRIVER_DISPATCH","","",null,null],[6,"PIO_COMPLETION_ROUTINE","","",null,null],[0,"dpc","km","Deferred Procedure Calls (DPC).",null,null],[3,"KDPC","km::dpc","Deferred Procedure Call object.",null,null],[3,"KDPC_DATA","","DPC data structure definition.",null,null],[5,"KeInitializeDpc","","",null,null],[5,"KeInsertQueueDpc","","",null,null],[5,"KeRemoveQueueDpc","","",null,null],[5,"KeFlushQueuedDpcs","","",null,null],[5,"KeGenericCallDpc","","",null,null],[6,"PDEFERRED_ROUTINE","","",null,null],[0,"driver_object","km","Driver Object.",null,null],[3,"DRIVER_OBJECT","km::driver_object","Represents the image of a loaded kernel-mode driver.",null,null],[12,"Type","","",10,null],[12,"Size","","",10,null],[12,"DeviceObject","","",10,null],[12,"Flags","","",10,null],[12,"DriverStart","","",10,null],[12,"DriverSize","","",10,null],[12,"DriverSection","","",10,null],[12,"DriverExtension","","",10,null],[12,"DriverName","","",10,null],[12,"HardwareDatabase","","",10,null],[12,"FastIoDispatch","","",10,null],[12,"DriverInit","","",10,null],[12,"DriverStartIo","","",10,null],[12,"DriverUnload","","The entry point for the driver&#39;s Unload routine, if any.",10,null],[12,"MajorFunction","","A dispatch table consisting of an array of entry points for the driver&#39;s `DispatchXxx` routines.",10,null],[6,"PDRIVER_INITIALIZE","","",null,null],[6,"PDRIVER_STARTIO","","",null,null],[6,"PDRIVER_UNLOAD","","",null,null],[0,"event","km","Event Objects.",null,null],[3,"KEVENT","km::event","Event object.",null,null],[4,"EVENT_TYPE","","Specifies the event type.",null,null],[13,"NotificationEvent","","Manual-reset event.",11,null],[13,"SynchronizationEvent","","Auto-clearing event.",11,null],[5,"KeInitializeEvent","","",null,null],[5,"KeSetEvent","","",null,null],[5,"KeReadStateEvent","","",null,null],[5,"KeResetEvent","","",null,null],[5,"KeClearEvent","","",null,null],[6,"PKEVENT","","",null,null],[0,"file_object","km","File Object.",null,null],[3,"FILE_OBJECT","km::file_object","The `FILE_OBJECT` structure is used by the system to represent a file object.",null,null],[6,"PFILE_OBJECT","","",null,null],[0,"irp","km","I/O request packets (IRP).",null,null],[3,"IRP","km::irp","The `IRP` structure is a partial opaque structure that represents an I/O request packet.",null,null],[12,"Type","","",12,null],[12,"Size","","",12,null],[12,"MdlAddress","","Pointer to an `MDL` describing a user buffer, if the driver is using direct I/O.",12,null],[12,"Flags","","Flags word - used to remember various flags.",12,null],[12,"SystemBuffer","","Pointer to a system-space buffer if the driver is using buffered I/O.",12,null],[12,"ThreadListEntry","","",12,null],[12,"IoStatus","","I/O status - final status of operation.",12,null],[12,"RequestorMode","","Indicates the execution mode of the original requester of the operation.",12,null],[12,"PendingReturned","","If set to `TRUE`, a driver has marked the IRP pending.",12,null],[12,"StackCount","","Stack state information.",12,null],[12,"CurrentLocation","","Stack state information.",12,null],[12,"Cancel","","If set to `TRUE`, the IRP either is or should be canceled.",12,null],[12,"CancelIrql","","Irql at which the cancel spinlock was acquired.",12,null],[12,"ApcEnvironment","","",12,null],[12,"AllocationFlags","","Allocation control flags.",12,null],[12,"UserIosb","","User parameters.",12,null],[12,"UserEvent","","",12,null],[12,"UserApcRoutine","","",12,null],[12,"UserApcContext","","",12,null],[12,"CancelRoutine","","Contains the entry point for a driver-supplied `Cancel` routine to be called if the IRP is canceled.",12,null],[12,"UserBuffer","","Contains the address of an output buffer for `IRP_MJ_DEVICE_CONTROL`.",12,null],[12,"Overlay","","Kernel structures.",12,null],[3,"_IRP_OVERLAY","","Kernel structures for IRP.",null,null],[12,"DriverContext","","",13,null],[12,"Thread","","",13,null],[12,"AuxiliaryBuffer","","",13,null],[12,"ListEntry","","",13,null],[12,"CurrentStackLocation","","Current stack location.",13,null],[12,"OriginalFileObject","","",13,null],[3,"IO_STACK_LOCATION","","I/O Stack Locations.",null,null],[12,"MajorFunction","","The IRP major function code indicating the type of I/O operation to be performed.",14,null],[12,"MinorFunction","","A subfunction code for `MajorFunction`.",14,null],[12,"Flags","","Request-type-specific values (see [DEVICE_FLAGS](../device_object/enum.DEVICE_FLAGS.html)).",14,null],[12,"Control","","",14,null],[12,"Parameters","","A union that depends on the major and minor IRP function code values\ncontained in `MajorFunction` and `MinorFunction`.",14,null],[12,"DeviceObject","","A pointer to the driver-created `DEVICE_OBJECT` structure\nrepresenting the target physical, logical, or virtual device for which this driver is to handle the IRP.",14,null],[12,"FileObject","","A pointer to a `FILE_OBJECT` structure that represents the file object, if any, that is associated with `DeviceObject` pointer.",14,null],[12,"CompletionRoutine","","The following routine is invoked depending on the flags in the above `Flags` field.",14,null],[12,"Context","","The following is used to store the address of the context parameter that should be passed to the `CompletionRoutine`.",14,null],[3,"_IO_STACK_LOCATION_READ","","Parameters for `IRP_MJ_READ`.",null,null],[12,"Length","","",15,null],[12,"Key","","",15,null],[12,"ByteOffset","","",15,null],[4,"IRP_MJ","","`IRP` Major Function Codes.",null,null],[13,"CREATE","","",16,null],[13,"CREATE_NAMED_PIPE","","",16,null],[13,"CLOSE","","",16,null],[13,"READ","","",16,null],[13,"WRITE","","",16,null],[13,"QUERY_INFORMATION","","",16,null],[13,"SET_INFORMATION","","",16,null],[13,"QUERY_EA","","",16,null],[13,"SET_EA","","",16,null],[13,"FLUSH_BUFFERS","","",16,null],[13,"QUERY_VOLUME_INFORMATION","","",16,null],[13,"SET_VOLUME_INFORMATION","","",16,null],[13,"DIRECTORY_CONTROL","","",16,null],[13,"FILE_SYSTEM_CONTROL","","",16,null],[13,"DEVICE_CONTROL","","",16,null],[13,"INTERNAL_DEVICE_CONTROL","","",16,null],[13,"SHUTDOWN","","",16,null],[13,"LOCK_CONTROL","","",16,null],[13,"CLEANUP","","",16,null],[13,"CREATE_MAILSLOT","","",16,null],[13,"QUERY_SECURITY","","",16,null],[13,"SET_SECURITY","","",16,null],[13,"POWER","","",16,null],[13,"SYSTEM_CONTROL","","",16,null],[13,"DEVICE_CHANGE","","",16,null],[13,"QUERY_QUOTA","","",16,null],[13,"SET_QUOTA","","",16,null],[13,"PNP","","",16,null],[13,"MAXIMUM_FUNCTION","","",16,null],[6,"PIRP","","",null,null],[6,"PIO_STACK_LOCATION","","",null,null],[11,"get_current_stack_location","","Returns a pointer to the caller&#39;s stack location in the given `IRP`.",12,{"inputs":[{"name":"irp"}],"output":{"name":"io_stack_location"}}],[11,"complete_request","","Indicates that the caller has completed all processing for a given I/O request\nand is returning the given IRP to the I/O manager.",12,{"inputs":[{"name":"irp"},{"name":"ntstatus"}],"output":{"name":"ntstatus"}}],[11,"ParametersRead","","Access parameters for `IRP_MJ_READ`.",14,{"inputs":[{"name":"io_stack_location"}],"output":{"name":"_io_stack_location_read"}}],[0,"irql","km","Interrupt Request Level (IRQL).",null,null],[6,"KIRQL","km::irql","IRQL type.",null,null],[17,"PASSIVE_LEVEL","","Passive release level, no interrupt vectors are masked.",null,null],[17,"LOW_LEVEL","","The lowest IRQL level, no interrupt vectors are masked.",null,null],[17,"APC_LEVEL","","APC interrupt level.",null,null],[17,"DISPATCH_LEVEL","","Dispatcher level",null,null],[17,"PROFILE_LEVEL","","Timer used for profiling.",null,null],[17,"CLOCK_LEVEL","","Interval clock level.",null,null],[17,"IPI_LEVEL","","Interprocessor interrupt level.",null,null],[17,"POWER_LEVEL","","Power failure level.",null,null],[17,"HIGH_LEVEL","","Highest interrupt level.",null,null],[17,"SYNCH_LEVEL","","Synchronization level.",null,null],[0,"object","km","Kernel Objects.",null,null],[3,"WAIT_CONTEXT_BLOCK","km::object","",null,null],[3,"KDEVICE_QUEUE_ENTRY","","",null,null],[3,"KDEVICE_QUEUE","","",null,null],[4,"IO_ALLOCATION_ACTION","","",null,null],[13,"KeepObject","","",17,null],[13,"DeallocateObject","","",17,null],[13,"DeallocateObjectKeepRegisters","","",17,null],[0,"pool","km","Kernel Mode pools.",null,null],[4,"POOL_TYPE","km::pool","Specifies the type of system memory to allocate.",null,null],[13,"NonPagedPool","","Nonpageable system memory, can be accessed from any IRQL.",18,null],[13,"PagedPool","","Pageable system memory, can only be allocated and accessed at IRQL &lt; DISPATCH_LEVEL.",18,null],[13,"NonPagedPoolMustSucceed","","",18,null],[13,"DontUseThisType","","",18,null],[13,"NonPagedPoolCacheAligned","","Nonpaged pool, aligned on processor cache boundaries.",18,null],[13,"PagedPoolCacheAligned","","Paged pool, aligned on processor cache boundaries.",18,null],[13,"NonPagedPoolCacheAlignedMustS","","",18,null],[13,"MaxPoolType","","",18,null],[13,"NonPagedPoolSession","","",18,null],[13,"PagedPoolSession","","",18,null],[13,"NonPagedPoolMustSucceedSession","","",18,null],[13,"DontUseThisTypeSession","","",18,null],[13,"NonPagedPoolCacheAlignedSession","","",18,null],[13,"PagedPoolCacheAlignedSession","","",18,null],[13,"NonPagedPoolCacheAlignedMustSSession","","",18,null],[5,"ExAllocatePoolWithTag","","Allocates pool memory of the specified type and tag.",null,null],[5,"ExFreePoolWithTag","","Deallocates a block of pool memory allocated with the specified tag.",null,null],[5,"ExAllocatePool","","Allocates pool memory of the specified type.",null,null],[5,"ExFreePool","","Deallocates a block of pool memory.",null,null],[0,"rtl","km","NT runtime routines.",null,null],[5,"RtlRandom","km::rtl","Returns a random number that was generated from a given `seed` value in the range `[0..MAXLONG-1]`.",null,null],[5,"RtlRandomEx","","Returns a random number that was generated from a given `seed` value in the range `[0..MAXLONG-1]`.",null,null],[5,"RtlUniform","","A simple uniform random number generator, based on D.H. Lehmer&#39;s 1948 alrogithm.",null,null],[0,"shared","km","Data shared between kernel and user mode.",null,null],[3,"KSYSTEM_TIME","km::shared","Dystem time structure",null,null],[3,"KUSER_SHARED_DATA","","The data shared between kernel and user mode.",null,null],[12,"TickCountLowDeprecated","","",19,null],[12,"TickCountMultiplier","","",19,null],[12,"InterruptTime","","Current 64-bit interrupt time in 100ns units.",19,null],[12,"SystemTime","","Current 64-bit system time in 100ns units.",19,null],[12,"TimeZoneBias","","Current 64-bit time zone bias.",19,null],[12,"ImageNumberLow","","",19,null],[12,"ImageNumberHigh","","",19,null],[12,"NtSystemRoot","","",19,null],[12,"MaxStackTraceDepth","","",19,null],[12,"CryptoExponent","","",19,null],[12,"TimeZoneId","","",19,null],[12,"LargePageMinimum","","",19,null],[12,"Reserved2","","",19,null],[12,"NtProductType","","",19,null],[12,"ProductTypeIsValid","","",19,null],[12,"NtMajorVersion","","",19,null],[12,"NtMinorVersion","","",19,null],[12,"ProcessorFeatures","","",19,null],[12,"Reserved1","","",19,null],[12,"Reserved3","","",19,null],[12,"TimeSlip","","",19,null],[12,"AlternativeArchitecture","","",19,null],[12,"SystemExpirationDate","","",19,null],[12,"SuiteMask","","",19,null],[12,"KdDebuggerEnabled","","True if a kernel debugger is connected/enabled.",19,null],[12,"NXSupportPolicy","","",19,null],[12,"ActiveConsoleId","","",19,null],[12,"DismountCount","","",19,null],[12,"ComPlusPackage","","",19,null],[12,"LastSystemRITEventTickCount","","",19,null],[12,"NumberOfPhysicalPages","","",19,null],[12,"SafeBootMode","","True if the system was booted in safe boot mode.",19,null],[12,"TraceLogging","","",19,null],[12,"TestRetInstruction","","",19,null],[12,"SystemCall","","",19,null],[12,"SystemCallReturn","","",19,null],[12,"SystemCallPad","","",19,null],[12,"TickCount","","The 64-bit tick count.",19,null],[12,"Cookie","","Cookie for encoding pointers system wide.",19,null],[4,"NT_PRODUCT_TYPE","","",null,null],[13,"NtProductWinNt","","",20,null],[13,"NtProductLanManNt","","",20,null],[13,"NtProductServer","","",20,null],[4,"ALTERNATIVE_ARCHITECTURE_TYPE","","",null,null],[13,"StandardDesign","","",21,null],[13,"NEC98x86","","",21,null],[13,"EndAlternatives","","",21,null],[6,"SYSTEMTIME","","System time is a count of 100-nanosecond intervals since January 1, 1601.",null,null],[11,"clone","","",22,{"inputs":[{"name":"ksystem_time"}],"output":{"name":"ksystem_time"}}],[11,"get","","Get reference to the mapped shared data.",19,{"inputs":[],"output":{"name":"kuser_shared_data"}}],[11,"from","","",23,{"inputs":[{"name":"ksystem_time"}],"output":{"name":"self"}}],[0,"string","km","Kernel mode string types.",null,null],[3,"UNICODE_STRING","km::string","A counted Unicode string.",null,null],[12,"Length","","The length in **bytes** of the string stored in `Buffer`.",24,null],[12,"MaximumLength","","The length in **bytes** of `Buffer`.",24,null],[12,"Buffer","","Pointer to a buffer used to contain a string of wide characters.",24,null],[3,"ANSI_STRING","","A counted string used for ANSI strings.",null,null],[12,"Length","","The length in *bytes* of the string stored in `Buffer`.",25,null],[12,"MaximumLength","","The length in bytes of `Buffer`.",25,null],[12,"Buffer","","Pointer to a buffer used to contain a string of characters.",25,null],[5,"RtlIntegerToUnicodeString","","",null,null],[5,"RtlInt64ToUnicodeString","","",null,null],[5,"RtlUnicodeStringToInteger","","",null,null],[5,"RtlUnicodeStringToAnsiString","","",null,null],[5,"RtlUnicodeStringToAnsiSize","","",null,null],[5,"RtlAnsiStringToUnicodeString","","",null,null],[5,"RtlAnsiStringToUnicodeSize","","",null,null],[5,"RtlCompareUnicodeString","","",null,null],[5,"RtlCompareString","","",null,null],[5,"RtlEqualUnicodeString","","",null,null],[5,"RtlEqualString","","",null,null],[5,"RtlFreeAnsiString","","",null,null],[5,"RtlFreeUnicodeString","","",null,null],[6,"AnsiString","","",null,null],[6,"UnicodeString","","",null,null],[6,"CONST_UNICODE_STRING","","",null,null],[6,"CONST_ANSI_STRING","","",null,null],[8,"NativeString","","NT native string types.",null,null],[10,"size","","Size of string in bytes.",26,{"inputs":[{"name":"nativestring"}],"output":{"name":"u16"}}],[10,"max_size","","Size of buffer in bytes.",26,{"inputs":[{"name":"nativestring"}],"output":{"name":"u16"}}],[11,"is_empty","","Check is the string is empty.",26,{"inputs":[{"name":"nativestring"}],"output":{"name":"bool"}}],[11,"size","","",24,{"inputs":[{"name":"unicode_string"}],"output":{"name":"u16"}}],[11,"max_size","","",24,{"inputs":[{"name":"unicode_string"}],"output":{"name":"u16"}}],[11,"default","","",24,{"inputs":[],"output":{"name":"self"}}],[11,"from","","",25,null],[0,"time","km","NT Time routines.",null,null],[5,"QuerySystemTime","km::time","Obtains the current system time.",null,{"inputs":[],"output":{"name":"systemtime"}}],[5,"QueryTickCount","","A count of the interval timer interrupts that have occurred since the system was booted.",null,{"inputs":[],"output":{"name":"i64"}}],[5,"ExSystemTimeToLocalTime","","Converts a GMT system time value to the local system time for the current time zone.",null,null],[14,"KdPrint!","km","Macro to send a message to the kernel debugger.",null,null],[14,"KdPrint_u!","","Macro to send a message to the kernel debugger for unsafe blocks.",null,null],[14,"check_unsafe!","","",null,null]],"paths":[[4,"Status"],[3,"LIST_ENTRY"],[3,"KSPIN_LOCK"],[3,"DISPATCHER_HEADER"],[3,"IO_STATUS_BLOCK"],[4,"KPROCESSOR_MODE"],[4,"DPFLTR_LEVEL"],[4,"DPFLTR_ID"],[3,"DEVICE_OBJECT"],[4,"DEVICE_FLAGS"],[3,"DRIVER_OBJECT"],[4,"EVENT_TYPE"],[3,"IRP"],[3,"_IRP_OVERLAY"],[3,"IO_STACK_LOCATION"],[3,"_IO_STACK_LOCATION_READ"],[4,"IRP_MJ"],[4,"IO_ALLOCATION_ACTION"],[4,"POOL_TYPE"],[3,"KUSER_SHARED_DATA"],[4,"NT_PRODUCT_TYPE"],[4,"ALTERNATIVE_ARCHITECTURE_TYPE"],[3,"KSYSTEM_TIME"],[6,"SYSTEMTIME"],[3,"UNICODE_STRING"],[3,"ANSI_STRING"],[8,"NativeString"]]};
initSearch(searchIndex);
diff --git a/doc/src/km/lib.rs.html b/doc/src/km/lib.rs.html
index 12c52e0..6f168ce 100644
--- a/doc/src/km/lib.rs.html
+++ b/doc/src/km/lib.rs.html
@@ -97,6 +97,7 @@
<span id="53">53</span>
<span id="54">54</span>
<span id="55">55</span>
+<span id="56">56</span>
</pre><pre class='rust '>
<span class='doccomment'>//! Windows Kernel Mode library.</span>
@@ -127,6 +128,7 @@
<span class='kw'>pub</span> <span class='kw'>mod</span> <span class='ident'>object</span>;
<span class='kw'>pub</span> <span class='kw'>mod</span> <span class='ident'>pool</span>;
<span class='kw'>pub</span> <span class='kw'>mod</span> <span class='ident'>rtl</span>;
+<span class='kw'>pub</span> <span class='kw'>mod</span> <span class='ident'>shared</span>;
<span class='kw'>pub</span> <span class='kw'>mod</span> <span class='ident'>string</span>;
<span class='kw'>pub</span> <span class='kw'>mod</span> <span class='ident'>time</span>;
diff --git a/doc/src/km/shared.rs.html b/doc/src/km/shared.rs.html
new file mode 100644
index 0000000..a53cb51
--- /dev/null
+++ b/doc/src/km/shared.rs.html
@@ -0,0 +1,414 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+ <meta name="generator" content="rustdoc">
+ <meta name="description" content="Source to the Rust file `shared.rs`.">
+ <meta name="keywords" content="rust, rustlang, rust-lang">
+
+ <title>shared.rs.html -- source</title>
+
+ <link rel="stylesheet" type="text/css" href="../../rustdoc.css">
+ <link rel="stylesheet" type="text/css" href="../../main.css">
+
+
+
+
+</head>
+<body class="rustdoc">
+ <!--[if lte IE 8]>
+ <div class="warning">
+ This old browser is unsupported and will most likely display funky
+ things.
+ </div>
+ <![endif]-->
+
+
+
+ <nav class="sidebar">
+
+
+ </nav>
+
+ <nav class="sub">
+ <form class="search-form js-only">
+ <div class="search-container">
+ <input class="search-input" name="search"
+ autocomplete="off"
+ placeholder="Click or press ‘S’ to search, ‘?’ for more options…"
+ type="search">
+ </div>
+ </form>
+ </nav>
+
+ <section id='main' class="content source"><pre class="line-numbers"><span id="1"> 1</span>
+<span id="2"> 2</span>
+<span id="3"> 3</span>
+<span id="4"> 4</span>
+<span id="5"> 5</span>
+<span id="6"> 6</span>
+<span id="7"> 7</span>
+<span id="8"> 8</span>
+<span id="9"> 9</span>
+<span id="10"> 10</span>
+<span id="11"> 11</span>
+<span id="12"> 12</span>
+<span id="13"> 13</span>
+<span id="14"> 14</span>
+<span id="15"> 15</span>
+<span id="16"> 16</span>
+<span id="17"> 17</span>
+<span id="18"> 18</span>
+<span id="19"> 19</span>
+<span id="20"> 20</span>
+<span id="21"> 21</span>
+<span id="22"> 22</span>
+<span id="23"> 23</span>
+<span id="24"> 24</span>
+<span id="25"> 25</span>
+<span id="26"> 26</span>
+<span id="27"> 27</span>
+<span id="28"> 28</span>
+<span id="29"> 29</span>
+<span id="30"> 30</span>
+<span id="31"> 31</span>
+<span id="32"> 32</span>
+<span id="33"> 33</span>
+<span id="34"> 34</span>
+<span id="35"> 35</span>
+<span id="36"> 36</span>
+<span id="37"> 37</span>
+<span id="38"> 38</span>
+<span id="39"> 39</span>
+<span id="40"> 40</span>
+<span id="41"> 41</span>
+<span id="42"> 42</span>
+<span id="43"> 43</span>
+<span id="44"> 44</span>
+<span id="45"> 45</span>
+<span id="46"> 46</span>
+<span id="47"> 47</span>
+<span id="48"> 48</span>
+<span id="49"> 49</span>
+<span id="50"> 50</span>
+<span id="51"> 51</span>
+<span id="52"> 52</span>
+<span id="53"> 53</span>
+<span id="54"> 54</span>
+<span id="55"> 55</span>
+<span id="56"> 56</span>
+<span id="57"> 57</span>
+<span id="58"> 58</span>
+<span id="59"> 59</span>
+<span id="60"> 60</span>
+<span id="61"> 61</span>
+<span id="62"> 62</span>
+<span id="63"> 63</span>
+<span id="64"> 64</span>
+<span id="65"> 65</span>
+<span id="66"> 66</span>
+<span id="67"> 67</span>
+<span id="68"> 68</span>
+<span id="69"> 69</span>
+<span id="70"> 70</span>
+<span id="71"> 71</span>
+<span id="72"> 72</span>
+<span id="73"> 73</span>
+<span id="74"> 74</span>
+<span id="75"> 75</span>
+<span id="76"> 76</span>
+<span id="77"> 77</span>
+<span id="78"> 78</span>
+<span id="79"> 79</span>
+<span id="80"> 80</span>
+<span id="81"> 81</span>
+<span id="82"> 82</span>
+<span id="83"> 83</span>
+<span id="84"> 84</span>
+<span id="85"> 85</span>
+<span id="86"> 86</span>
+<span id="87"> 87</span>
+<span id="88"> 88</span>
+<span id="89"> 89</span>
+<span id="90"> 90</span>
+<span id="91"> 91</span>
+<span id="92"> 92</span>
+<span id="93"> 93</span>
+<span id="94"> 94</span>
+<span id="95"> 95</span>
+<span id="96"> 96</span>
+<span id="97"> 97</span>
+<span id="98"> 98</span>
+<span id="99"> 99</span>
+<span id="100">100</span>
+<span id="101">101</span>
+<span id="102">102</span>
+<span id="103">103</span>
+<span id="104">104</span>
+<span id="105">105</span>
+<span id="106">106</span>
+<span id="107">107</span>
+<span id="108">108</span>
+<span id="109">109</span>
+<span id="110">110</span>
+<span id="111">111</span>
+<span id="112">112</span>
+<span id="113">113</span>
+<span id="114">114</span>
+<span id="115">115</span>
+<span id="116">116</span>
+<span id="117">117</span>
+<span id="118">118</span>
+<span id="119">119</span>
+<span id="120">120</span>
+<span id="121">121</span>
+<span id="122">122</span>
+<span id="123">123</span>
+<span id="124">124</span>
+<span id="125">125</span>
+<span id="126">126</span>
+<span id="127">127</span>
+<span id="128">128</span>
+<span id="129">129</span>
+<span id="130">130</span>
+<span id="131">131</span>
+<span id="132">132</span>
+<span id="133">133</span>
+<span id="134">134</span>
+<span id="135">135</span>
+<span id="136">136</span>
+<span id="137">137</span>
+<span id="138">138</span>
+<span id="139">139</span>
+<span id="140">140</span>
+<span id="141">141</span>
+<span id="142">142</span>
+<span id="143">143</span>
+<span id="144">144</span>
+<span id="145">145</span>
+<span id="146">146</span>
+<span id="147">147</span>
+<span id="148">148</span>
+<span id="149">149</span>
+<span id="150">150</span>
+<span id="151">151</span>
+<span id="152">152</span>
+<span id="153">153</span>
+</pre><pre class='rust '>
+<span class='doccomment'>//! Data shared between kernel and user mode.</span>
+
+
+<span class='doccomment'>/// System time is a count of 100-nanosecond intervals since January 1, 1601.</span>
+<span class='kw'>pub</span> <span class='kw'>type</span> <span class='ident'>SYSTEMTIME</span> <span class='op'>=</span> <span class='ident'>i64</span>;
+
+
+<span class='doccomment'>/// Dystem time structure</span>
+<span class='attribute'>#[<span class='ident'>repr</span>(<span class='ident'>C</span>)]</span>
+<span class='attribute'>#[<span class='ident'>derive</span>(<span class='ident'>Copy</span>, <span class='ident'>Clone</span>)]</span>
+<span class='kw'>pub</span> <span class='kw'>struct</span> <span class='ident'>KSYSTEM_TIME</span>
+{
+ <span class='ident'>LowPart</span>: <span class='ident'>u32</span>,
+ <span class='ident'>High1Time</span>: <span class='ident'>i32</span>,
+ <span class='ident'>High2Time</span>: <span class='ident'>i32</span>,
+}
+
+<span class='attribute'>#[<span class='ident'>repr</span>(<span class='ident'>C</span>)]</span>
+<span class='kw'>pub</span> <span class='kw'>enum</span> <span class='ident'>NT_PRODUCT_TYPE</span>
+{
+ <span class='ident'>NtProductWinNt</span> <span class='op'>=</span> <span class='number'>1</span>,
+ <span class='ident'>NtProductLanManNt</span>,
+ <span class='ident'>NtProductServer</span>
+}
+
+<span class='attribute'>#[<span class='ident'>repr</span>(<span class='ident'>C</span>)]</span>
+<span class='kw'>pub</span> <span class='kw'>enum</span> <span class='ident'>ALTERNATIVE_ARCHITECTURE_TYPE</span>
+{
+ <span class='ident'>StandardDesign</span>,
+ <span class='ident'>NEC98x86</span>,
+ <span class='ident'>EndAlternatives</span>,
+}
+
+<span class='doccomment'>/// The data shared between kernel and user mode.</span>
+<span class='attribute'>#[<span class='ident'>repr</span>(<span class='ident'>C</span>)]</span>
+<span class='kw'>pub</span> <span class='kw'>struct</span> <span class='ident'>KUSER_SHARED_DATA</span>
+{
+ <span class='kw'>pub</span> <span class='ident'>TickCountLowDeprecated</span>: <span class='ident'>u32</span>,
+ <span class='kw'>pub</span> <span class='ident'>TickCountMultiplier</span>: <span class='ident'>u32</span>,
+
+ <span class='doccomment'>/// Current 64-bit interrupt time in 100ns units.</span>
+ <span class='kw'>pub</span> <span class='ident'>InterruptTime</span>: <span class='ident'>KSYSTEM_TIME</span>,
+ <span class='doccomment'>/// Current 64-bit system time in 100ns units.</span>
+ <span class='kw'>pub</span> <span class='ident'>SystemTime</span>: <span class='ident'>KSYSTEM_TIME</span>,
+ <span class='doccomment'>/// Current 64-bit time zone bias.</span>
+ <span class='kw'>pub</span> <span class='ident'>TimeZoneBias</span>: <span class='ident'>KSYSTEM_TIME</span>,
+
+ <span class='kw'>pub</span> <span class='ident'>ImageNumberLow</span>: <span class='ident'>u16</span>,
+ <span class='kw'>pub</span> <span class='ident'>ImageNumberHigh</span>: <span class='ident'>u16</span>,
+
+ <span class='kw'>pub</span> <span class='ident'>NtSystemRoot</span>: [<span class='ident'>u16</span>; <span class='number'>260</span>],
+
+ <span class='kw'>pub</span> <span class='ident'>MaxStackTraceDepth</span>: <span class='ident'>u32</span>,
+ <span class='kw'>pub</span> <span class='ident'>CryptoExponent</span>: <span class='ident'>u32</span>,
+ <span class='kw'>pub</span> <span class='ident'>TimeZoneId</span>: <span class='ident'>u32</span>,
+ <span class='kw'>pub</span> <span class='ident'>LargePageMinimum</span>: <span class='ident'>u32</span>,
+ <span class='kw'>pub</span> <span class='ident'>Reserved2</span>: [<span class='ident'>u32</span>; <span class='number'>7</span>],
+
+ <span class='kw'>pub</span> <span class='ident'>NtProductType</span>: <span class='ident'>NT_PRODUCT_TYPE</span>,
+ <span class='kw'>pub</span> <span class='ident'>ProductTypeIsValid</span>: <span class='ident'>bool</span>,
+ <span class='kw'>pub</span> <span class='ident'>NtMajorVersion</span>: <span class='ident'>u32</span>,
+ <span class='kw'>pub</span> <span class='ident'>NtMinorVersion</span>: <span class='ident'>u32</span>,
+
+ <span class='kw'>pub</span> <span class='ident'>ProcessorFeatures</span>: [<span class='ident'>bool</span>; <span class='number'>64</span>],
+ <span class='kw'>pub</span> <span class='ident'>Reserved1</span>: <span class='ident'>u32</span>,
+ <span class='kw'>pub</span> <span class='ident'>Reserved3</span>: <span class='ident'>u32</span>,
+ <span class='kw'>pub</span> <span class='ident'>TimeSlip</span>: <span class='ident'>u32</span>,
+
+ <span class='kw'>pub</span> <span class='ident'>AlternativeArchitecture</span>: <span class='ident'>ALTERNATIVE_ARCHITECTURE_TYPE</span>,
+ <span class='kw'>pub</span> <span class='ident'>SystemExpirationDate</span>: <span class='ident'>u64</span>,
+ <span class='kw'>pub</span> <span class='ident'>SuiteMask</span>: <span class='ident'>u32</span>,
+
+ <span class='doccomment'>/// True if a kernel debugger is connected/enabled.</span>
+ <span class='kw'>pub</span> <span class='ident'>KdDebuggerEnabled</span>: <span class='ident'>bool</span>,
+ <span class='kw'>pub</span> <span class='ident'>NXSupportPolicy</span>: <span class='ident'>u8</span>,
+ <span class='kw'>pub</span> <span class='ident'>ActiveConsoleId</span>: <span class='ident'>u32</span>,
+ <span class='kw'>pub</span> <span class='ident'>DismountCount</span>: <span class='ident'>u32</span>,
+ <span class='kw'>pub</span> <span class='ident'>ComPlusPackage</span>: <span class='ident'>u32</span>,
+ <span class='kw'>pub</span> <span class='ident'>LastSystemRITEventTickCount</span>: <span class='ident'>u32</span>,
+ <span class='kw'>pub</span> <span class='ident'>NumberOfPhysicalPages</span>: <span class='ident'>u32</span>,
+
+ <span class='doccomment'>/// True if the system was booted in safe boot mode.</span>
+ <span class='kw'>pub</span> <span class='ident'>SafeBootMode</span>: <span class='ident'>bool</span>,
+ <span class='kw'>pub</span> <span class='ident'>TraceLogging</span>: <span class='ident'>u32</span>,
+
+ <span class='kw'>pub</span> <span class='ident'>TestRetInstruction</span>: <span class='ident'>u64</span>,
+ <span class='kw'>pub</span> <span class='ident'>SystemCall</span>: <span class='ident'>u32</span>,
+ <span class='kw'>pub</span> <span class='ident'>SystemCallReturn</span>: <span class='ident'>u32</span>,
+ <span class='kw'>pub</span> <span class='ident'>SystemCallPad</span>: [<span class='ident'>u64</span>; <span class='number'>3</span>],
+
+ <span class='doccomment'>/// The 64-bit tick count.</span>
+ <span class='kw'>pub</span> <span class='ident'>TickCount</span>: <span class='ident'>KSYSTEM_TIME</span>,
+
+ <span class='doccomment'>/// Cookie for encoding pointers system wide.</span>
+ <span class='kw'>pub</span> <span class='ident'>Cookie</span>: <span class='ident'>u32</span>,
+
+ <span class='comment'>// NT 6.0+:</span>
+
+ <span class='attribute'>#[<span class='ident'>cfg</span>(<span class='ident'>target_arch</span> <span class='op'>=</span> <span class='string'>&quot;x86_64&quot;</span>)]</span>
+ <span class='kw'>pub</span> <span class='ident'>Wow64SharedInformation</span>: [<span class='ident'>u32</span>; <span class='number'>16</span>],
+ <span class='attribute'>#[<span class='ident'>cfg</span>(<span class='ident'>target_arch</span> <span class='op'>=</span> <span class='string'>&quot;x86_64&quot;</span>)]</span>
+ <span class='kw'>pub</span> <span class='ident'>UserModeGlobalLogger</span>: [<span class='ident'>u16</span>; <span class='number'>8</span>],
+ <span class='attribute'>#[<span class='ident'>cfg</span>(<span class='ident'>target_arch</span> <span class='op'>=</span> <span class='string'>&quot;x86_64&quot;</span>)]</span>
+ <span class='kw'>pub</span> <span class='ident'>HeapTracingPid</span>: [<span class='ident'>u32</span>; <span class='number'>2</span>],
+ <span class='attribute'>#[<span class='ident'>cfg</span>(<span class='ident'>target_arch</span> <span class='op'>=</span> <span class='string'>&quot;x86_64&quot;</span>)]</span>
+ <span class='kw'>pub</span> <span class='ident'>CritSecTracingPid</span>: [<span class='ident'>u32</span>; <span class='number'>2</span>],
+ <span class='attribute'>#[<span class='ident'>cfg</span>(<span class='ident'>target_arch</span> <span class='op'>=</span> <span class='string'>&quot;x86_64&quot;</span>)]</span>
+ <span class='kw'>pub</span> <span class='ident'>ImageFileExecutionOptions</span>: <span class='ident'>u32</span>,
+ <span class='attribute'>#[<span class='ident'>cfg</span>(<span class='ident'>target_arch</span> <span class='op'>=</span> <span class='string'>&quot;x86_64&quot;</span>)]</span>
+ <span class='kw'>pub</span> <span class='ident'>ActiveProcessorAffinity</span>: <span class='ident'>u64</span>,
+ <span class='attribute'>#[<span class='ident'>cfg</span>(<span class='ident'>target_arch</span> <span class='op'>=</span> <span class='string'>&quot;x86_64&quot;</span>)]</span>
+ <span class='kw'>pub</span> <span class='ident'>InterruptTimeBias</span>: <span class='ident'>u64</span>,
+}
+
+<span class='attribute'>#[<span class='ident'>cfg</span>(<span class='ident'>target_arch</span> <span class='op'>=</span> <span class='string'>&quot;x86&quot;</span>)]</span>
+<span class='kw'>const</span> <span class='ident'>KI_USER_SHARED_DATA</span>: <span class='op'>*</span><span class='kw'>const</span> <span class='ident'>KUSER_SHARED_DATA</span> <span class='op'>=</span> <span class='number'>0xffdf_0000</span> <span class='kw'>as</span> <span class='op'>*</span><span class='kw'>const</span> <span class='ident'>KUSER_SHARED_DATA</span>;
+
+<span class='attribute'>#[<span class='ident'>cfg</span>(<span class='ident'>target_arch</span> <span class='op'>=</span> <span class='string'>&quot;x86_64&quot;</span>)]</span>
+<span class='kw'>const</span> <span class='ident'>KI_USER_SHARED_DATA</span>: <span class='op'>*</span><span class='kw'>const</span> <span class='ident'>KUSER_SHARED_DATA</span> <span class='op'>=</span> <span class='number'>0xFFFF_F780_0000_0000</span> <span class='kw'>as</span> <span class='op'>*</span><span class='kw'>const</span> <span class='ident'>KUSER_SHARED_DATA</span>;
+
+<span class='kw'>impl</span> <span class='ident'>KUSER_SHARED_DATA</span> {
+
+ <span class='doccomment'>/// Get reference to the mapped shared data.</span>
+ <span class='kw'>pub</span> <span class='kw'>fn</span> <span class='ident'>get</span>() <span class='op'>-&gt;</span> <span class='kw-2'>&amp;</span><span class='lifetime'>&#39;static</span> <span class='ident'>KUSER_SHARED_DATA</span> {
+ <span class='kw'>unsafe</span> { <span class='kw-2'>&amp;</span><span class='op'>*</span><span class='ident'>KI_USER_SHARED_DATA</span> }
+ }
+}
+
+<span class='doccomment'>/// Convert `KSYSTEM_TIME` to `i64`</span>
+<span class='attribute'>#[<span class='ident'>cfg</span>(<span class='ident'>target_arch</span> <span class='op'>=</span> <span class='string'>&quot;x86_64&quot;</span>)]</span>
+<span class='kw'>impl</span> ::<span class='ident'>core</span>::<span class='ident'>convert</span>::<span class='ident'>From</span><span class='op'>&lt;</span><span class='ident'>KSYSTEM_TIME</span><span class='op'>&gt;</span> <span class='kw'>for</span> <span class='ident'>SYSTEMTIME</span> {
+ <span class='kw'>fn</span> <span class='ident'>from</span>(<span class='ident'>time</span>: <span class='ident'>KSYSTEM_TIME</span>) <span class='op'>-&gt;</span> <span class='kw'>Self</span> {
+ <span class='kw'>unsafe</span> { <span class='op'>*</span>(<span class='kw-2'>&amp;</span><span class='ident'>time</span> <span class='kw'>as</span> <span class='op'>*</span><span class='kw'>const</span> <span class='ident'>KSYSTEM_TIME</span> <span class='kw'>as</span> <span class='op'>*</span><span class='kw'>const</span> <span class='ident'>SYSTEMTIME</span>) }
+ }
+}
+
+<span class='doccomment'>/// Convert `KSYSTEM_TIME` to `i64`</span>
+<span class='attribute'>#[<span class='ident'>cfg</span>(<span class='ident'>target_arch</span> <span class='op'>=</span> <span class='string'>&quot;x86&quot;</span>)]</span>
+<span class='kw'>impl</span> ::<span class='ident'>core</span>::<span class='ident'>convert</span>::<span class='ident'>From</span><span class='op'>&lt;</span><span class='ident'>KSYSTEM_TIME</span><span class='op'>&gt;</span> <span class='kw'>for</span> <span class='ident'>SYSTEMTIME</span> {
+ <span class='kw'>fn</span> <span class='ident'>from</span>(<span class='ident'>time</span>: <span class='ident'>KSYSTEM_TIME</span>) <span class='op'>-&gt;</span> <span class='kw'>Self</span> {
+ <span class='comment'>// FIXME: is any `volatile` or memory fenses need here?</span>
+ <span class='kw'>let</span> <span class='kw-2'>mut</span> <span class='ident'>lo</span>;
+ <span class='kw'>let</span> <span class='kw-2'>mut</span> <span class='ident'>hi</span>;
+ <span class='kw'>loop</span> {
+ <span class='ident'>hi</span> <span class='op'>=</span> <span class='ident'>time</span>.<span class='ident'>High1Time</span>;
+ <span class='ident'>lo</span> <span class='op'>=</span> <span class='ident'>time</span>.<span class='ident'>LowPart</span>;
+ <span class='kw'>if</span> <span class='ident'>hi</span> <span class='op'>==</span> <span class='ident'>time</span>.<span class='ident'>High2Time</span> {
+ <span class='kw'>break</span>;
+ }
+ }
+ <span class='kw'>return</span> (<span class='ident'>hi</span> <span class='kw'>as</span> <span class='ident'>i64</span>) <span class='op'>&lt;&lt;</span> <span class='number'>32</span> <span class='op'>|</span> <span class='ident'>lo</span> <span class='kw'>as</span> <span class='ident'>i64</span>
+ }
+}
+</pre>
+</section>
+ <section id='search' class="content hidden"></section>
+
+ <section class="footer"></section>
+
+ <aside id="help" class="hidden">
+ <div>
+ <h1 class="hidden">Help</h1>
+
+ <div class="shortcuts">
+ <h2>Keyboard Shortcuts</h2>
+
+ <dl>
+ <dt>?</dt>
+ <dd>Show this help dialog</dd>
+ <dt>S</dt>
+ <dd>Focus the search field</dd>
+ <dt>&larrb;</dt>
+ <dd>Move up in search results</dd>
+ <dt>&rarrb;</dt>
+ <dd>Move down in search results</dd>
+ <dt>&#9166;</dt>
+ <dd>Go to active search result</dd>
+ </dl>
+ </div>
+
+ <div class="infos">
+ <h2>Search Tricks</h2>
+
+ <p>
+ Prefix searches with a type followed by a colon (e.g.
+ <code>fn:</code>) to restrict the search to a given type.
+ </p>
+
+ <p>
+ Accepted types are: <code>fn</code>, <code>mod</code>,
+ <code>struct</code>, <code>enum</code>,
+ <code>trait</code>, <code>type</code>, <code>macro</code>,
+ and <code>const</code>.
+ </p>
+
+ <p>
+ Search functions by type signature (e.g.
+ <code>vec -> usize</code> or <code>* -> vec</code>)
+ </p>
+ </div>
+ </div>
+ </aside>
+
+
+
+ <script>
+ window.rootPath = "../../";
+ window.currentCrate = "km";
+ window.playgroundUrl = "";
+ </script>
+ <script src="../../jquery.js"></script>
+ <script src="../../main.js"></script>
+
+ <script defer src="../../search-index.js"></script>
+</body>
+</html> \ No newline at end of file
diff --git a/doc/src/km/time.rs.html b/doc/src/km/time.rs.html
index 2476c7d..abcc81e 100644
--- a/doc/src/km/time.rs.html
+++ b/doc/src/km/time.rs.html
@@ -68,33 +68,89 @@
<span id="24">24</span>
<span id="25">25</span>
<span id="26">26</span>
+<span id="27">27</span>
+<span id="28">28</span>
+<span id="29">29</span>
+<span id="30">30</span>
+<span id="31">31</span>
+<span id="32">32</span>
+<span id="33">33</span>
+<span id="34">34</span>
+<span id="35">35</span>
+<span id="36">36</span>
+<span id="37">37</span>
+<span id="38">38</span>
+<span id="39">39</span>
+<span id="40">40</span>
+<span id="41">41</span>
+<span id="42">42</span>
+<span id="43">43</span>
+<span id="44">44</span>
+<span id="45">45</span>
+<span id="46">46</span>
+<span id="47">47</span>
+<span id="48">48</span>
+<span id="49">49</span>
+<span id="50">50</span>
+<span id="51">51</span>
+<span id="52">52</span>
+<span id="53">53</span>
+<span id="54">54</span>
</pre><pre class='rust '>
<span class='doccomment'>//! NT Time routines.</span>
-<span class='doccomment'>/// System time is a count of 100-nanosecond intervals since January 1, 1601.</span>
-<span class='kw'>pub</span> <span class='kw'>type</span> <span class='ident'>SYSTEMTIME</span> <span class='op'>=</span> <span class='ident'>i64</span>;
+<span class='kw'>use</span> ::<span class='ident'>shared</span>::{<span class='ident'>SYSTEMTIME</span>};
+
+<span class='attribute'>#[<span class='ident'>cfg</span>(<span class='ident'>target_arch</span> <span class='op'>=</span> <span class='string'>&quot;x86_64&quot;</span>)]</span>
+<span class='kw'>use</span> ::<span class='ident'>shared</span>::{<span class='ident'>KUSER_SHARED_DATA</span>};
+
<span class='kw'>extern</span> <span class='string'>&quot;system&quot;</span>
{
+ <span class='comment'>// The following exports exists only on x86 kernels.</span>
+ <span class='comment'>// x64 drivers must use KUSER_SHARED_DATA to obtain these values.</span>
+
+ <span class='attribute'>#[<span class='ident'>cfg</span>(<span class='ident'>target_arch</span> <span class='op'>=</span> <span class='string'>&quot;x86&quot;</span>)]</span>
<span class='kw'>fn</span> <span class='ident'>KeQuerySystemTime</span>(<span class='ident'>CurrentTime</span>: <span class='op'>*</span><span class='kw-2'>mut</span> <span class='ident'>SYSTEMTIME</span>);
+ <span class='attribute'>#[<span class='ident'>cfg</span>(<span class='ident'>target_arch</span> <span class='op'>=</span> <span class='string'>&quot;x86&quot;</span>)]</span>
<span class='kw'>fn</span> <span class='ident'>KeQueryTickCount</span>(<span class='ident'>TickCount</span>: <span class='op'>*</span><span class='kw-2'>mut</span> <span class='ident'>i64</span>);
+
<span class='doccomment'>/// Converts a GMT system time value to the local system time for the current time zone.</span>
<span class='kw'>pub</span> <span class='kw'>fn</span> <span class='ident'>ExSystemTimeToLocalTime</span>(<span class='ident'>SystemTime</span>: <span class='op'>*</span><span class='kw'>const</span> <span class='ident'>SYSTEMTIME</span>, <span class='ident'>LocalTime</span>: <span class='op'>*</span><span class='kw-2'>mut</span> <span class='ident'>SYSTEMTIME</span>);
}
+
<span class='doccomment'>/// Obtains the current system time.</span>
+<span class='attribute'>#[<span class='ident'>cfg</span>(<span class='ident'>target_arch</span> <span class='op'>=</span> <span class='string'>&quot;x86&quot;</span>)]</span>
<span class='kw'>pub</span> <span class='kw'>fn</span> <span class='ident'>QuerySystemTime</span>() <span class='op'>-&gt;</span> <span class='ident'>SYSTEMTIME</span> {
<span class='kw'>let</span> <span class='kw-2'>mut</span> <span class='ident'>t</span> <span class='op'>=</span> <span class='number'>0i64</span>;
<span class='kw'>unsafe</span> { <span class='ident'>KeQuerySystemTime</span>(<span class='kw-2'>&amp;</span><span class='kw-2'>mut</span> <span class='ident'>t</span>) };
<span class='kw'>return</span> <span class='ident'>t</span>;
}
+<span class='doccomment'>/// Obtains the current system time.</span>
+<span class='attribute'>#[<span class='ident'>cfg</span>(<span class='ident'>target_arch</span> <span class='op'>=</span> <span class='string'>&quot;x86_64&quot;</span>)]</span>
+<span class='kw'>pub</span> <span class='kw'>fn</span> <span class='ident'>QuerySystemTime</span>() <span class='op'>-&gt;</span> <span class='ident'>SYSTEMTIME</span> {
+ <span class='kw'>let</span> <span class='ident'>shared</span> <span class='op'>=</span> <span class='ident'>KUSER_SHARED_DATA</span>::<span class='ident'>get</span>();
+ <span class='ident'>SYSTEMTIME</span>::<span class='ident'>from</span>(<span class='ident'>shared</span>.<span class='ident'>SystemTime</span>)
+}
+
+
<span class='doccomment'>/// A count of the interval timer interrupts that have occurred since the system was booted.</span>
+<span class='attribute'>#[<span class='ident'>cfg</span>(<span class='ident'>target_arch</span> <span class='op'>=</span> <span class='string'>&quot;x86&quot;</span>)]</span>
<span class='kw'>pub</span> <span class='kw'>fn</span> <span class='ident'>QueryTickCount</span>() <span class='op'>-&gt;</span> <span class='ident'>i64</span> {
<span class='kw'>let</span> <span class='kw-2'>mut</span> <span class='ident'>t</span> <span class='op'>=</span> <span class='number'>0i64</span>;
<span class='kw'>unsafe</span> { <span class='ident'>KeQueryTickCount</span>(<span class='kw-2'>&amp;</span><span class='kw-2'>mut</span> <span class='ident'>t</span>) };
<span class='kw'>return</span> <span class='ident'>t</span>;
}
+
+
+<span class='doccomment'>/// A count of the interval timer interrupts that have occurred since the system was booted.</span>
+<span class='attribute'>#[<span class='ident'>cfg</span>(<span class='ident'>target_arch</span> <span class='op'>=</span> <span class='string'>&quot;x86_64&quot;</span>)]</span>
+<span class='kw'>pub</span> <span class='kw'>fn</span> <span class='ident'>QueryTickCount</span>() <span class='op'>-&gt;</span> <span class='ident'>i64</span> {
+ <span class='kw'>let</span> <span class='ident'>shared</span> <span class='op'>=</span> <span class='ident'>KUSER_SHARED_DATA</span>::<span class='ident'>get</span>();
+ <span class='ident'>SYSTEMTIME</span>::<span class='ident'>from</span>(<span class='ident'>shared</span>.<span class='ident'>TickCount</span>)
+}
</pre>
</section>
<section id='search' class="content hidden"></section>