Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/oberrich/phnt-rs
Browse files Browse the repository at this point in the history
  • Loading branch information
oberrich committed Jan 10, 2025
2 parents 7dc7cee + efe6bac commit d67c385
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions src/ffi/aarch64_bindgen.rs
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
// Generated at 2025-01-09 05:33:24.157373300 +00:00
// Generated at 2025-01-10 10:57:13.850404300 +00:00
#[cfg(not(target_arch = "aarch64"))]
compile_error!("These bindings can only be used on `aarch64` architectures. To generate bindings for your target architecture, consider using the `regenerate` feature.");

pub use windows_sys::Win32::Foundation::BOOL as BOOL;
pub use windows_sys::Win32::Foundation::BOOLEAN as BOOLEAN;
pub use nt_string::unicode_string::NtUnicodeString as _UNICODE_STRING;
pub use nt_string::unicode_string::NtUnicodeString as UNICODE_STRING;
pub use windows_sys::Win32::Foundation::BOOLEAN as BOOLEAN;
pub use windows_sys::Win32::Foundation::NTSTATUS as NTSTATUS;

pub const PHNT_VERSION: u32 = self::PHNT_WIN11_24H2;
Expand Down
6 changes: 3 additions & 3 deletions src/ffi/x86_64_bindgen.rs
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
// Generated at 2025-01-09 05:25:05.477284600 +00:00
// Generated at 2025-01-10 10:48:41.933627100 +00:00
#[cfg(not(target_arch = "x86_64"))]
compile_error!("These bindings can only be used on `x86_64` architectures. To generate bindings for your target architecture, consider using the `regenerate` feature.");

pub use nt_string::unicode_string::NtUnicodeString as _UNICODE_STRING;
pub use windows_sys::Win32::Foundation::NTSTATUS as NTSTATUS;
pub use windows_sys::Win32::Foundation::BOOLEAN as BOOLEAN;
pub use windows_sys::Win32::Foundation::BOOL as BOOL;
pub use nt_string::unicode_string::NtUnicodeString as _UNICODE_STRING;
pub use windows_sys::Win32::Foundation::NTSTATUS as NTSTATUS;
pub use nt_string::unicode_string::NtUnicodeString as UNICODE_STRING;

pub const PHNT_VERSION: u32 = self::PHNT_WIN11_24H2;
Expand Down
6 changes: 3 additions & 3 deletions src/ffi/x86_bindgen.rs
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
// Generated at 2025-01-09 05:25:06.833886700 +00:00
// Generated at 2025-01-10 10:48:37.716456500 +00:00
#[cfg(not(target_arch = "x86"))]
compile_error!("These bindings can only be used on `x86` architectures. To generate bindings for your target architecture, consider using the `regenerate` feature.");

pub use windows_sys::Win32::Foundation::NTSTATUS as NTSTATUS;
pub use nt_string::unicode_string::NtUnicodeString as UNICODE_STRING;
pub use windows_sys::Win32::Foundation::BOOLEAN as BOOLEAN;
pub use nt_string::unicode_string::NtUnicodeString as _UNICODE_STRING;
pub use windows_sys::Win32::Foundation::BOOL as BOOL;
pub use windows_sys::Win32::Foundation::BOOLEAN as BOOLEAN;
pub use windows_sys::Win32::Foundation::NTSTATUS as NTSTATUS;

pub const PHNT_VERSION: u32 = self::PHNT_WIN11_24H2;
pub const PHNT_MODE: u32 = self::PHNT_MODE_USER;
Expand Down

0 comments on commit d67c385

Please sign in to comment.