winapi-rs icon indicating copy to clipboard operation
winapi-rs copied to clipboard

Rust bindings to Windows API

Results 133 winapi-rs issues
Sort by recently updated
recently updated
newest added

The [`SHGetDesktopFolder`](https://learn.microsoft.com/en-us/windows/win32/api/shlobj_core/nf-shlobj_core-shgetdesktopfolder) function is missing from `shlobj`. I need it for one of my projects.

This is my first time working w/ the Windows API so bear with me. Is there a way to make a shell extension in winapi? I want to use [IPropertyStore::SetValue](https://learn.microsoft.com/en-us/windows/win32/api/propsys/nf-propsys-ipropertystore-setvalue?source=recommendations)...

Such as WTSRegisterSessionNotification. The constants for the messages it uses (https://docs.microsoft.com/en-us/windows/win32/termserv/wm-wtssession-change) are present and defined in winuser, but the registration function and its Unregister counterpart are missing. https://docs.microsoft.com/en-us/windows/win32/api/wtsapi32/nf-wtsapi32-wtsregistersessionnotification

missing api

I need to use EM_SETBKGNDCOLOR

I need `ReleaseStgMedium` for a shell extension and the definition doesn't exist in the winapi. luckily a simple extern declaration suffices to complement this crate. Just posting this to show...

`use winapi::um::wow64apiset::IsWow64Process;` This results in the error Error: could not find `wow64apiset` in `um` Documentation suggests that this exists, but in actuality, it does not. https://docs.rs/winapi/0.3.9/winapi/um/wow64apiset/index.html

Hello, I am trying to build a repository with dependencies to `winapi` and `kernel32-sys`. I am using a script which calls `cargo build`. I added dependencies to my `Cargo.toml` and...

Add function prototypes : - LookupPrivilegeDisplayNameA - LookupPrivilegeDisplayNameW

I'm trying to make a backup program for my MBR. To accomplish this task, I use CreateFileW, but when I try to use this function with the parameters in the...

### `PROCESS_MITIGATION_POLICY` Enum - [x] ⚡Added `ProcessSystemCallFilterPolicy`[^1] definition - [x] ⚡Added `ProcessPayloadRestrictionPolicy`[^1] definition - [x] ⚡Added `ProcessChildProcessPolicy`[^1] definition - [x] ⚡Added `ProcessSideChannelIsolationPolicy`[^1] definition - [x] ⚡Added `ProcessUserShadowStackPolicy`[^1] definition - [x]...