Expand description
lazy_extern! {
libgroup SHELL_CORE: ShCoreItems;
lib ShCore = "ShCore.dll";
#[lib(ShCore)]
#[feature_test(is_dpi_awareness_available)]
/// Set the Dpi (v1) awareness without a manifest
extern "stdcall" fn SetProcessDpiAwareness(value: u32) -> i32;
}
Re-exports§
pub extern crate libloading;
Macros§
- See the module documentation
Traits§
- Describes how to load a library from a given value for a
lib X = Expr;
statement in thelazy_extern!
declaration. For&str
or&OsStr
it callsLibrary::new
and passes the string as the library name to load. More complicated expressions are also allowed with brackets, as long as it evaluates to a type implementing LibSpecifier.