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 a00e05d + 004a339 commit 4bed2c0
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
8 changes: 4 additions & 4 deletions src/ffi/aarch64_bindgen.rs
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
// Generated at 2025-01-10 11:44:23.729863600 +00:00
// Generated at 2025-01-10 11:58:37.135558200 +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::NTSTATUS as NTSTATUS;
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::BOOL as BOOL;
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::NTSTATUS as NTSTATUS;

pub const PHNT_VERSION: u32 = self::PHNT_WIN11_24H2;
pub const PHNT_MODE: u32 = self::PHNT_MODE_USER;
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-10 11:35:06.494477300 +00:00
// Generated at 2025-01-10 11:48:48.507318 +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::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
8 changes: 4 additions & 4 deletions src/ffi/x86_bindgen.rs
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
// Generated at 2025-01-10 11:35:44.117678200 +00:00
// Generated at 2025-01-10 11:48:53.002486900 +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::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 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 const PHNT_VERSION: u32 = self::PHNT_WIN11_24H2;
pub const PHNT_MODE: u32 = self::PHNT_MODE_USER;
Expand Down

0 comments on commit 4bed2c0

Please sign in to comment.