{"id":58739,"library":"ntapi","title":"NT API","description":"FFI bindings for the Windows Native API (NTAPI).","status":"active","version":"0.4.3","language":"rust","source_language":null,"source_url":"https://github.com/MSxDOS/ntapi","tags":["windows","ffi","native-api"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\nntapi = \"0.4.3\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add ntapi","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"RtlGetVersion","correct":"use ntapi::ntapi::ntrtl::RtlGetVersion;"}],"quickstart":{"code":"use ntapi::ntapi::ntrtl::RtlGetVersion;\nuse ntapi::ntapi::ntrtl::RTL_OSVERSIONINFOW;\n\nfn main() {\n    let mut info = RTL_OSVERSIONINFOW::default();\n    unsafe { RtlGetVersion(&mut info); }\n    println!(\"Version: {}.{}\", info.dwMajorVersion, info.dwMinorVersion);\n}","lang":"rust","description":"Getting Windows OS version using NT API."},"warnings":[{"fix":"Only compile on Windows with cfg(target_os = \"windows\").","message":"Unsafe FFI; requires Windows target.","severity":"gotcha","affected_versions":">=0.4.0"}],"env_vars":null,"search_vec":"'api':2,9,15 'bind':4 'ffi':3,12 'nativ':8,14 'native-api':13 'nt':1 'ntapi':10 'window':7,11","created_at":"2026-06-16T16:36:33.708946+00:00","updated_at":"2026-06-16T16:36:33.708946+00:00","problems":[],"ecosystem":"crates","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/MSxDOS/ntapi","github":"https://github.com/MSxDOS/ntapi","docs":"https://docs.rs/ntapi/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["other"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-16","next_check":"2026-12-13","install_tag":null}}