Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
wine
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jason Beetham
wine
Commits
b24a67f3
Commit
b24a67f3
authored
25 years ago
by
Klaas van Gend
Committed by
Alexandre Julliard
25 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Make all structures packed and removal of some WINE_PACKED.
parent
845113c6
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
include/commdlg.h
+7
-9
7 additions, 9 deletions
include/commdlg.h
with
7 additions
and
9 deletions
include/commdlg.h
+
7
−
9
View file @
b24a67f3
...
...
@@ -11,6 +11,7 @@ extern "C" {
#include
"windef.h"
/* needed for CHOOSEFONT structure */
#include
"winuser.h"
#include
"pshpack1.h"
#define OFN_READONLY 0x00000001
#define OFN_OVERWRITEPROMPT 0x00000002
...
...
@@ -251,9 +252,6 @@ DECL_WINELIB_TYPE_AW(LPFINDREPLACE)
#define FR_HIDEMATCHCASE 0x00008000
#define FR_HIDEWHOLEWORD 0x00010000
#include
"pshpack1.h"
typedef
struct
{
DWORD
lStructSize
;
...
...
@@ -261,20 +259,20 @@ typedef struct
HDC16
hDC
;
/* printer DC/IC or NULL */
SEGPTR
lpLogFont
;
/* ptr. to a LOGFONT struct */
short
iPointSize
;
/* 10 * size in points of selected font */
DWORD
Flags
WINE_PACKED
;
/* enum. type flags */
DWORD
Flags
;
/* enum. type flags */
COLORREF
rgbColors
;
/* returned text color */
LPARAM
lCustData
;
/* data passed to hook fn. */
WNDPROC16
lpfnHook
;
SEGPTR
lpTemplateName
;
/* custom template name */
HINSTANCE16
hInstance
;
/* instance handle of.EXE that */
/* contains cust. dlg. template */
SEGPTR
lpszStyle
WINE_PACKED
;
/* return the style field here */
SEGPTR
lpszStyle
;
/* return the style field here */
/* must be LF_FACESIZE or bigger */
UINT16
nFontType
;
/* same value reported to the */
/* EnumFonts callback with the */
/* extra FONTTYPE_ bits added */
short
nSizeMin
WINE_PACKED
;
/* minimum pt size allowed & */
short
nSizeMax
WINE_PACKED
;
/* max pt size allowed if */
short
nSizeMin
;
/* minimum pt size allowed & */
short
nSizeMax
;
/* max pt size allowed if */
/* CF_LIMITSIZE is used */
}
CHOOSEFONT16
,
*
LPCHOOSEFONT16
;
...
...
@@ -322,8 +320,6 @@ typedef struct
DECL_WINELIB_TYPE_AW
(
CHOOSEFONT
)
DECL_WINELIB_TYPE_AW
(
LPCHOOSEFONT
)
#include
"poppack.h"
#define CF_SCREENFONTS 0x00000001
#define CF_PRINTERFONTS 0x00000002
#define CF_BOTH (CF_SCREENFONTS | CF_PRINTERFONTS)
...
...
@@ -646,6 +642,8 @@ LRESULT WINAPI FormatCharDlgProcW(HWND,UINT,WPARAM,LPARAM);
void
COMDLG32_SetCommDlgExtendedError
(
DWORD
err
);
#include
"poppack.h"
#ifdef __cplusplus
}
#endif
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment