Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
b24a67f3
Commit
b24a67f3
authored
May 02, 1999
by
Klaas van Gend
Committed by
Alexandre Julliard
May 02, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make all structures packed and removal of some WINE_PACKED.
parent
845113c6
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
9 deletions
+7
-9
commdlg.h
include/commdlg.h
+7
-9
No files found.
include/commdlg.h
View file @
b24a67f3
...
@@ -11,6 +11,7 @@ extern "C" {
...
@@ -11,6 +11,7 @@ extern "C" {
#include "windef.h"
/* needed for CHOOSEFONT structure */
#include "windef.h"
/* needed for CHOOSEFONT structure */
#include "winuser.h"
#include "winuser.h"
#include "pshpack1.h"
#define OFN_READONLY 0x00000001
#define OFN_READONLY 0x00000001
#define OFN_OVERWRITEPROMPT 0x00000002
#define OFN_OVERWRITEPROMPT 0x00000002
...
@@ -251,9 +252,6 @@ DECL_WINELIB_TYPE_AW(LPFINDREPLACE)
...
@@ -251,9 +252,6 @@ DECL_WINELIB_TYPE_AW(LPFINDREPLACE)
#define FR_HIDEMATCHCASE 0x00008000
#define FR_HIDEMATCHCASE 0x00008000
#define FR_HIDEWHOLEWORD 0x00010000
#define FR_HIDEWHOLEWORD 0x00010000
#include "pshpack1.h"
typedef
struct
typedef
struct
{
{
DWORD
lStructSize
;
DWORD
lStructSize
;
...
@@ -261,20 +259,20 @@ typedef struct
...
@@ -261,20 +259,20 @@ typedef struct
HDC16
hDC
;
/* printer DC/IC or NULL */
HDC16
hDC
;
/* printer DC/IC or NULL */
SEGPTR
lpLogFont
;
/* ptr. to a LOGFONT struct */
SEGPTR
lpLogFont
;
/* ptr. to a LOGFONT struct */
short
iPointSize
;
/* 10 * size in points of selected font */
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 */
COLORREF
rgbColors
;
/* returned text color */
LPARAM
lCustData
;
/* data passed to hook fn. */
LPARAM
lCustData
;
/* data passed to hook fn. */
WNDPROC16
lpfnHook
;
WNDPROC16
lpfnHook
;
SEGPTR
lpTemplateName
;
/* custom template name */
SEGPTR
lpTemplateName
;
/* custom template name */
HINSTANCE16
hInstance
;
/* instance handle of.EXE that */
HINSTANCE16
hInstance
;
/* instance handle of.EXE that */
/* contains cust. dlg. template */
/* 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 */
/* must be LF_FACESIZE or bigger */
UINT16
nFontType
;
/* same value reported to the */
UINT16
nFontType
;
/* same value reported to the */
/* EnumFonts callback with the */
/* EnumFonts callback with the */
/* extra FONTTYPE_ bits added */
/* extra FONTTYPE_ bits added */
short
nSizeMin
WINE_PACKED
;
/* minimum pt size allowed & */
short
nSizeMin
;
/* minimum pt size allowed & */
short
nSizeMax
WINE_PACKED
;
/* max pt size allowed if */
short
nSizeMax
;
/* max pt size allowed if */
/* CF_LIMITSIZE is used */
/* CF_LIMITSIZE is used */
}
CHOOSEFONT16
,
*
LPCHOOSEFONT16
;
}
CHOOSEFONT16
,
*
LPCHOOSEFONT16
;
...
@@ -322,8 +320,6 @@ typedef struct
...
@@ -322,8 +320,6 @@ typedef struct
DECL_WINELIB_TYPE_AW
(
CHOOSEFONT
)
DECL_WINELIB_TYPE_AW
(
CHOOSEFONT
)
DECL_WINELIB_TYPE_AW
(
LPCHOOSEFONT
)
DECL_WINELIB_TYPE_AW
(
LPCHOOSEFONT
)
#include "poppack.h"
#define CF_SCREENFONTS 0x00000001
#define CF_SCREENFONTS 0x00000001
#define CF_PRINTERFONTS 0x00000002
#define CF_PRINTERFONTS 0x00000002
#define CF_BOTH (CF_SCREENFONTS | CF_PRINTERFONTS)
#define CF_BOTH (CF_SCREENFONTS | CF_PRINTERFONTS)
...
@@ -646,6 +642,8 @@ LRESULT WINAPI FormatCharDlgProcW(HWND,UINT,WPARAM,LPARAM);
...
@@ -646,6 +642,8 @@ LRESULT WINAPI FormatCharDlgProcW(HWND,UINT,WPARAM,LPARAM);
void
COMDLG32_SetCommDlgExtendedError
(
DWORD
err
);
void
COMDLG32_SetCommDlgExtendedError
(
DWORD
err
);
#include "poppack.h"
#ifdef __cplusplus
#ifdef __cplusplus
}
}
#endif
#endif
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment