Skip to content

Incorrect WNDCLASS definition in win32.mod->user.bmx #67

@davecamp

Description

@davecamp

Hiya,
I noticed that the type definition for WndClass is incorrect (possibly the reason you wrap via C ?) in win32.mod -> user.bmx.
All handles should be Byte Ptr in Windows to get the correct binary layout and correct size.
I've not checked any other definitions as this time.

Type WNDCLASS
	Field style:Int
	Field lpfnWndProc:Byte Ptr
	Field cbClsExtra:Int
	Field cbWndExtra:Int
	Field hInstance:Byte Ptr
	Field hIcon:Byte Ptr
	Field hCursor:Byte Ptr
	Field hbrBackground:Byte Ptr
	Field lpszMenuName:Byte Ptr
	Field lpszClassName:Byte Ptr
End Type

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