Skip to content

Add support for Win32 struct fields of array type #423

Closed

Description

@thisKai

In the windows-rs docs the rgrc field of NCCALCSIZE_PARAMS is a bool, but the microsoft docs and the winapi crate docs say it should be a [RECT; 3]

Activity

  1. kennykerr commented on Jan 22, 2021

    @kennykerr
    Collaborator
  2. changed the title [-]NCCALCSIZE_PARAMS rgrc field is the wrong type[/-] [+]Add support for Win32 struct fields of array type[/+] on Jan 22, 2021
  3. pravic commented on Jan 22, 2021

    @pravic

    Why use a wrong type (bool) instead of todo!() or something like that? People will struggle to realize what's wrong with their code.

  4. DaLynX commented on Feb 3, 2021

    @DaLynX

    I'm having the same issue with bindings::windows::win32::security::TOKEN_PRIVILEGES.

  5. kennykerr commented on Feb 3, 2021

    @kennykerr
    Collaborator

    Ryan added a tweak to make it easier to identify such APIs. I'll get this fixed asap.

  6. kennykerr commented on Mar 16, 2021

    @kennykerr
    Collaborator

    Sorry for the delay. This is now fixed as of #608.

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions