### [Documentation](https://rmbreak.github.io/ceplugin/ceplugin/index.html) ### Example _Cargo.toml_ ```toml [package] name = "myplugin" version = "0.1.0" authors = ["Mack Stump "] [lib] crate-type = ["cdylib"] [dependencies] libc = "0.2.21" winapi = "0.2.8" ceplugin = "0.5.0" ``` _src/lib.rs_ ```rust extern crate ceplugin; extern crate libc; extern crate winapi; use winapi::*; #[no_mangle] pub extern "stdcall" fn CEPlugin_InitializePlugin(ef: &mut ceplugin::ExportedFunctions, pluginid: libc::c_int) -> BOOL { (ef.ShowMessage)(b"Plugin Initialized\0" as *const libc::c_char); TRUE } #[no_mangle] pub extern "stdcall" fn CEPlugin_GetVersion(pv: &mut ceplugin::PluginVersion, sizeofpluginversion: libc::c_int) -> BOOL { pv.version = 2; pv.pluginname = b"Rust CE Plugin\0" as *const libc::c_char; TRUE } #[no_mangle] pub extern "stdcall" fn CEPlugin_DisablePlugin() -> BOOL { TRUE } ```