PackageTrack

crates.io · #1339

winsafe

0.0.2844M downloads/morodrigocfd/winsafe

Windows API and GUI in safe, idiomatic Rust.

Release timeline

28 releases since 2019
2020202120222023202420252026

Releases

  1. 0.0.281 Jul 2026
    Release notes

    This project publishes no release notes. Between v0.0.27 and v0.0.28 there were 70 commits, 65 of them substantive:

    • CallNextHookEx code as i32; fix #182.
    • MapVirtualKeyW
    • GetKeyNameTextW
    • IME Off virtual key code
    • KBDLLHOOKSTRUCT
    • taskschd: task definition settings API
    • Correct KBDLLHOOKSTRUCT field.
    • Minor GetKeyNameText adjusts.
    • Minor MapVirtualKey adjusts.
    • Minor adjusts.
    • More ergonomic GetKeyNameText.
    • Update stats.
    • ITrigger docs.
    • WM_CONTEXTMENU params; fix #184.
    • IDXGIFactory2 COM interface.
    • More examples.
    • New doc gh-pages script.
    • Dir lists renamed.
    • More docs.
    • More examples.

    …and 45 more.

  2. 0.0.271 Jan 2026
    Release notes

    This project publishes no release notes. Between v0.0.26 and v0.0.27 there were 15 commits, 14 of them substantive:

    • AttachConsole function; fix #170.
    • Update edit.rs
    • Update edit.rs
    • CheckBox initial state; fix #173.
    • Fix error, better doc.
    • PtInRect parameter type; fix #179.
    • PtInRect param align; #179.
    • Correct POINT passing; #179.
    • Correct registry string length; fix #180.
    • CallNextHookEx ignores handle; #169.
    • Static LoC in readme.
    • Remove broken doc_cfg. Please come back soon.
    • Button messages with MK; fix #181.
    • Version 0.0.27.
  3. 0.0.261 Oct 2025
    Release notes

    This project publishes no release notes. Between v0.0.25 and v0.0.26 there were 66 commits, 66 of them substantive:

    • WindowMain structure example.
    • Button structure example.
    • Dwm Get/Set WindowAttribute functions; fix #163.
    • Minor doc fixes; #163.
    • DwmModifyPreviousDxFrameDuration; #163.
    • DwmSetDxFrameDuration; #163.
    • DwmShowContact; #163.
    • IOperationsProgressDialog COM impl.
    • More IFileSaveDialog methods.
    • SHGetPropertyStoreFromParsingName function.
    • SHGetPropertyStoreFromIDList function.
    • DwmSetDxFrameDuration is unsupported.
    • Fix DWM BOOL size; #163.
    • RPC_C_AUTHN_LEVEL flags.
    • IBindCtx::GetBindOptions method.
    • IBindCtx::GetObjectParam method.
    • ReadFile/WriteFile for HSTD.
    • HACTCTX handle.
    • New internal wrappers for returned FFI values.
    • GetCurrentActCtx function.

    …and 46 more.

  4. 0.0.251 Jul 2025
    Release notes

    This project publishes no release notes. Between v0.0.24 and v0.0.25 there were 70 commits, 70 of them substantive:

    • More psapi functions.
    • Add some additional functions and structures (#158)
    • Move Handle trait module.
    • Handle methods without traits.
    • A few const methods in structs.
    • Edition 2024, rustc 1.87.
    • Simplify GDI GetObject.
    • Default numbers initialization.
    • GUID::from_str const fn.
    • Renaming constructors.
    • Stricter PKEY const type.
    • POINT, RECT and SIZE const empty constuctors.
    • Handle const fn methods.
    • A few more fn can be const.
    • Initial IShellFolder COM interface.
    • FAILED and SUCCEEDED HRESULT macros.
    • IShellFolder::CompareIDs method.
    • Panic on window creation error.
    • Pass hparent to CreateDialogParam; fix #161.
    • Sort method.

    …and 50 more.

  5. 0.0.241 Jun 2025
    Release notes

    This project publishes no release notes. Between v0.0.23 and v0.0.24 there were 86 commits, 86 of them substantive:

    • GUI module rewritten from scratch.
    • Renaming file.
    • PropVariant and Variant as actual enums.
    • Documenting.
    • Extended style setters.
    • Close method for popups.
    • Finally adopting rustfmt.
    • New clipboard API; fix #153.
    • Minor formatting.
    • A few ITypeInfo methods.
    • IDispatch::Invoke method.
    • Auto EXCEPINFO pointer cleanup.
    • Variant unwrap methods.
    • Variant docs.
    • Correct Tab control font.
    • Fix random mem crash with CreateAcceleratorTable.
    • Minor HVERSIONINFO improvement.
    • Event chaining.
    • Minor doc.
    • IPicture size_px method.

    …and 66 more.

  6. 0.0.231 Mar 2025
    Release notes

    This project publishes no release notes. Between v0.0.22 and v0.0.23 there were 94 commits, 94 of them substantive:

    • Fix the Win32 documentation link for ListBox (#137)
    • OleInitialize function.
    • Minor doc.
    • IDropTarget with mut refs.
    • IFileDialogEvents with mut refs.
    • IMFAsyncCallback with mut refs.
    • IDataObject::GetData still as unsafe.
    • DragFinishGuard.
    • FORMATETC with proper constant types.
    • Extract HGLOBAL from STGMEDIUM.
    • ReleaseStgMediumGuard and working IDropTarget.
    • ImageList functions returning E_FAIL; fix #138.
    • ImageList_DrawIndirect returning E_FAIL; #138.
    • Shell functions returning E_FAIL; #138.
    • FlashWindowEx function.
    • FrameRect function.
    • MessageBeep function.
    • SetPhysicalCursorPos function.
    • GetPhysicalCursorPos function.
    • Related functions doc.

    …and 74 more.

  7. 0.0.221 Aug 2024
    Release notes

    This project publishes no release notes. Between v0.0.21 and v0.0.22 there were 30 commits, 30 of them substantive:

    • Split kernel into advapi.
    • Documenting big structs.
    • Remove shell dependency for gui.
    • IDXGIAdapter2 COM interface.
    • Simplifies IDXGIAdapter::GetDesc.
    • IDXGISwapChain::GetBuffer method.
    • Private virtual tables.
    • A few IMFSourceResolver methods.
    • IMFByteStream COM interface.
    • Renaming internal custom COM impl macros.
    • IMFAsyncCallback user impl.
    • More IMFAttributes methods.
    • IMFAttributes blob methods.
    • All IMFAttributes methods.
    • MFShutdownGuard.
    • IMFStreamDescriptor COM interface.
    • IMFCollection COM interface.
    • IMFCollection iterator.
    • IMFAttributes::GetItemByIndex method.
    • Set INPUT dwType flag; fix #132.

    …and 10 more.

  8. 0.0.211 Jun 2024
    Release notes

    This project publishes no release notes. Between v0.0.20 and v0.0.21 there were 114 commits, 114 of them substantive:

    • IFileDialogEvents custom COM impl.
    • IFileDialogEvents doc example.
    • Fix custom COM AddRef.
    • Generalizing IUnknown static vtable methods.
    • IDropTarget custom COM impl.
    • Cloneable RadioButton.
    • Simplifying internal resize behavior extraction.
    • PartialOrd and Ord for IntUnderlying.
    • Integrating Header and ListView.
    • Auto Header ctrl ID; new range.
    • Simplifies control auto ID.
    • Correct Header owner handling.
    • FlushViewOfFile function.
    • New compiler rule to global.
    • Cleaning up inheritance noise.
    • Post-user events privileged messages.
    • SetWindowLongPtr is unsound.
    • Const cast_nmhdr.
    • SendMessage is unsound. Yes, it is.
    • ListView item storing generic data.

    …and 94 more.

  9. 0.0.201 Mar 2024
    Release notes

    This project publishes no release notes. Between v0.0.19 and v0.0.20 there were 47 commits, 47 of them substantive:

    • Making use of RPITIT.
    • HWND dialog and style methods.
    • HWND methods returning RECT.
    • Refactoring window event files.
    • WM_CREATE/INITDIALOG exclusive to GuiEventsAll.
    • Specialized internal event handling.
    • Removed redundant Pair.
    • Minor doc fixes.
    • Remove HFILE OVERLAPPED support; fix #116.
    • Minor File fixes.
    • List view context menu loaded from resource.
    • Correct field size; fix #117.
    • Related PrivateProfile funcions in the docs.
    • GetEnvironmentStrings returning Vec<tuple>.
    • Sid related functions in the docs.
    • SID PartialEq and Eq.
    • System time related functions in the docs.
    • More kernel related functions in the docs.
    • COM pointers are Send.
    • Tricky FindFirstFile behavior.

    …and 27 more.

  10. 0.0.191 Jan 2024

    Nothing published for this version

  11. 0.0.181 Oct 2023

    Nothing published for this version

  12. 0.0.171 Jul 2023

    Nothing published for this version

  13. 0.0.161 Jun 2023

    Nothing published for this version

  14. 0.0.151 Apr 2023

    Nothing published for this version

  15. 0.0.141 Mar 2023

    Nothing published for this version

  16. 0.0.131 Feb 2023

    Nothing published for this version

  17. 0.0.121 Jan 2023

    Nothing published for this version

  18. 0.0.111 Sept 2022

    Nothing published for this version

  19. 0.0.102 Jun 2022

    Nothing published for this version

  20. 0.0.91 Jan 2022

    Nothing published for this version

  21. 0.0.81 Dec 2021

    Nothing published for this version

  22. 0.0.71 Nov 2021

    Nothing published for this version

  23. 0.0.61 Oct 2021

    Nothing published for this version

  24. 0.0.51 Sept 2021

    Nothing published for this version

  25. 0.0.41 Jul 2021

    Nothing published for this version

  26. 0.0.31 Jun 2021

    Nothing published for this version

  27. 0.0.21 Apr 2021

    Nothing published for this version

  28. 0.0.128 Oct 2019

    Nothing published for this version