File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -2509,7 +2509,8 @@ pub const HWND_TOP: HWND = 0 as HWND;
2509
2509
pub const HWND_BOTTOM : HWND = 1 as HWND ;
2510
2510
pub const HWND_TOPMOST : HWND = -1isize as HWND ;
2511
2511
pub const HWND_NOTOPMOST : HWND = -2isize as HWND ;
2512
- STRUCT ! { struct DLGTEMPLATE {
2512
+ // FIXME packed(2)
2513
+ STRUCT ! { #[ repr( packed) ] struct DLGTEMPLATE {
2513
2514
style: DWORD ,
2514
2515
dwExtendedStyle: DWORD ,
2515
2516
cdit: WORD ,
@@ -2522,7 +2523,8 @@ pub type LPDLGTEMPLATEA = *mut DLGTEMPLATE;
2522
2523
pub type LPDLGTEMPLATEW = * mut DLGTEMPLATE ;
2523
2524
pub type LPCDLGTEMPLATEA = * const DLGTEMPLATE ;
2524
2525
pub type LPCDLGTEMPLATEW = * const DLGTEMPLATE ;
2525
- STRUCT ! { struct DLGITEMTEMPLATE {
2526
+ // FIXME packed(2)
2527
+ STRUCT ! { #[ repr( packed) ] struct DLGITEMTEMPLATE {
2526
2528
style: DWORD ,
2527
2529
dwExtendedStyle: DWORD ,
2528
2530
x: c_short,
You can’t perform that action at this time.
0 commit comments