Registry / other / shell32-sys

shell32-sys

JSON →
library0.1.2rscratesunverified

Contains function definitions for the Windows API library shell32. See winapi for types and constants.

# Cargo.toml [dependencies] shell32-sys = "0.1.2"
INSTALL
IMPORT
SIG · SHELL32-SYS
S
shell32-sys
otherrustv0.1.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

SHGetKnownFolderPath
use shell32_sys::SHGetKnownFolderPath;

Call SHGetKnownFolderPath to retrieve a known folder path.

use shell32_sys::SHGetKnownFolderPath; unsafe { SHGetKnownFolderPath(&GUID::zeroed(), 0, std::ptr::null_mut(), &mut path); }
Debug
Known issues
gotchaUnsafe FFI: incorrect usage can cause undefined behavior.
fix
Ensure proper null checks and use safe wrappers from winapi if available.
affects: >=0.1.0
Upgrade
Version history
0.1.2latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
shell32-sys — cargo add shell32-sys · libregistry