const blocks for lazy import
This commit is contained in:
@@ -11,5 +11,5 @@ x::lazy_import! { "kernel32.dll"
|
||||
#[cfg(feature = "win32")]
|
||||
pub fn test_exports() {
|
||||
let a = LoadLibraryA(x::cstr!("user32.dll"));
|
||||
println!("{} -> {}",a.into_usize(), unsafe { a.nt_header().optional_header.size_of_image });
|
||||
println!("{:X} -> {:X}",a.into_usize(), unsafe { a.nt_header().optional_header.size_of_image });
|
||||
}
|
||||
Reference in New Issue
Block a user