Skip to content

Commit

Permalink
Update types.hexa
Browse files Browse the repository at this point in the history
  • Loading branch information
PeyTy committed Nov 29, 2024
1 parent 0e7f57a commit 8540c54
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions dlls/types.hexa
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ declare HGlobal = Handle
declare HWnd = Handle
declare HMenu = Handle
declare HDc = Handle
declare HFont = Handle
declare HRsrc = Handle
declare HMonitor = Handle
declare HModule = Handle

// TODO @byValue + @sizeOf(8/4)/@sizeOfPointer + value: size_t = safe converters
@struct
Expand Down Expand Up @@ -170,6 +174,12 @@ class Point {
var y Int32
}

@struct
class Size {
var cx Int32
var cy Int32
}

@struct @sizeOf(48)
class Msg {
var hwnd HWnd
Expand Down Expand Up @@ -246,3 +256,14 @@ class WindowFramebuffer {
var width UInt32
var height UInt32
}

@struct
class DIALOGINFO {
var hwndFocus HWnd
var hUserFont HFont
var hMenu HMenu
var xBaseUnit UInt32
var yBaseUnit UInt32
var idResult Int32
var flags UInt32
}

0 comments on commit 8540c54

Please sign in to comment.