Skip to content

Reduce low level win32 code by using following CsWin32 lib. #40

Description

@zaafar

Current the lib is in beta mode and new.
Let's check it again after 1 year (Dec 2023).
https://github.com/microsoft/CsWin32

currently the lib isn't C# friendly e.g.

following change:
User32.SetCursor(User32.LoadCursor(IntPtr.Zero, new IntPtr((int)cursor)));
into:
PInvoke.SetCursor(PInvoke.LoadCursor(HINSTANCE.Null, (char*)(int)cursor));

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions