{"id":63145,"library":"shell32-sys","title":"shell32-sys","description":"Contains function definitions for the Windows API library shell32. See winapi for types and constants.","status":"active","version":"0.1.2","language":"rust","source_language":null,"source_url":"https://github.com/retep998/winapi-rs","tags":["windows","ffi","shell32","api"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\nshell32-sys = \"0.1.2\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add shell32-sys","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"SHGetKnownFolderPath","correct":"use shell32_sys::SHGetKnownFolderPath;"}],"quickstart":{"code":"use shell32_sys::SHGetKnownFolderPath;\nunsafe { SHGetKnownFolderPath(&GUID::zeroed(), 0, std::ptr::null_mut(), &mut path); }","lang":"rust","description":"Call SHGetKnownFolderPath to retrieve a known folder path."},"warnings":[{"fix":"Ensure proper null checks and use safe wrappers from winapi if available.","message":"Unsafe FFI: incorrect usage can cause undefined behavior.","severity":"gotcha","affected_versions":">=0.1.0"}],"env_vars":null,"search_vec":"'api':10,22 'constant':18 'contain':4 'definit':6 'ffi':20 'function':5 'librari':11 'see':13 'shell32':2,12,21 'shell32-sys':1 'sys':3 'type':16 'winapi':14 'window':9,19","created_at":"2026-06-17T16:40:13.349998+00:00","updated_at":"2026-06-17T16:40:13.349998+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/retep998/winapi-rs","github":"https://github.com/retep998/winapi-rs","docs":"https://docs.rs/shell32-sys/","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-17","next_check":"2026-12-14","install_tag":null}}