Crate lazy_extern [] [src]

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

lazy_extern

See the module documentation

Traits

LibSpecifier

Describes how to load a library from a given value for a lib X = Expr; statement in the lazy_extern! declaration. For &str or &OsStr it calls Library::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.