Skip to content

Create a wiki or set of test cases for projection authors to track "interesting" types and functions #141

@DefaultRyan

Description

@DefaultRyan

This should go somewhere other than this issue, but I'll start the list:

Windows.Win32.Security.PWLX_DIALOX_BOX
https://docs.microsoft.com/en-us/windows/win32/api/winwlx/nc-winwlx-pwlx_dialog_box
This is a delegate that refers to another delegate (Windows.Win32.MenuRc.DLGPROC).

Windows.Win32.Gdi.DISPLAYCONFIG_VIDEO_SIGNAL_INFO
https://docs.microsoft.com/en-us/windows/win32/api/wingdi/ns-wingdi-displayconfig_video_signal_info
This struct has it all in the layout and scope department. An anonymous union, an unnamed (but not anonymous) struct, bitfields, and a field, videoStandard that has different definitions in the anonymous union and the unnamed struct.

Windows.Win32.MenuRc.WNDCLASSEXW
https://docs.microsoft.com/en-us/windows/win32/api/winuser/ns-winuser-wndclassexw
This is a struct that has a delegate as a field.

Windows.Win32.MenuRc.Apis.SetWindowLongW
https://docs.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-setwindowlongptrw
This function (both the A and W variants, along with GetWindowLongW) has a different definition appear for 32-bit and 64-bit fields:

  • 32-bit: Exports SetWindowLong and #defines SetWindowLongPtr as SetWindowLong.
  • 64-bit: Exports both SetWindowLong and SetWindowLongPtr as distinct functions.

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