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
6a52a507
Commit
6a52a507
authored
Feb 07, 2000
by
Michael Cardenas
Committed by
Alexandre Julliard
Feb 07, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added a bunch of macros needed for compiling Winelib apps.
parent
d90f15d0
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
49 additions
and
4 deletions
+49
-4
commdlg.h
include/commdlg.h
+34
-0
windowsx.h
include/windowsx.h
+0
-0
wingdi.h
include/wingdi.h
+3
-3
winuser.h
include/winuser.h
+12
-1
No files found.
include/commdlg.h
View file @
6a52a507
...
@@ -408,6 +408,40 @@ DECL_WINELIB_TYPE_AW(LPCHOOSEFONT)
...
@@ -408,6 +408,40 @@ DECL_WINELIB_TYPE_AW(LPCHOOSEFONT)
#define CDM_HIDECONTROL (CDM_FIRST + 0x0005)
#define CDM_HIDECONTROL (CDM_FIRST + 0x0005)
#define CDM_SETDEFEXT (CDM_FIRST + 0x0006)
#define CDM_SETDEFEXT (CDM_FIRST + 0x0006)
/* Messages to query information from the open or save dialogs */
#define CommDlg_OpenSave_GetSpecA(_hdlg, _psz, _cbmax) \
(int)SNDMSG(_hdlg, CDM_GETSPEC, (WPARAM)_cbmax, (LPARAM)(LPSTR)_psz)
#define CommDlg_OpenSave_GetSpecW(_hdlg, _psz, _cbmax) \
(int)SNDMSG(_hdlg, CDM_GETSPEC, (WPARAM)_cbmax, (LPARAM)(LPWSTR)_psz)
#define CommDlg_OpenSave_GetSpec WINELIB_NAME_AW(CommDlg_OpenSave_GetSpec)
#define CommDlg_OpenSave_GetFilePathA(_hdlg, _psz, _cbmax) \
(int)SNDMSG(_hdlg, CDM_GETFILEPATH, (WPARAM)_cbmax, (LPARAM)(LPSTR)_psz)
#define CommDlg_OpenSave_GetFilePathW(_hdlg, _psz, _cbmax) \
(int)SNDMSG(_hdlg, CDM_GETFILEPATH, (WPARAM)_cbmax, (LPARAM)(LPWSTR)_psz)
#define CommDlg_OpenSave_GetFilePath WINELIB_NAME_AW(CommDlg_OpenSave_GetFilePath)
#define CommDlg_OpenSave_GetFolderPathA(_hdlg, _psz, _cbmax) \
(int)SNDMSG(_hdlg, CDM_GETFOLDERPATH, (WPARAM)_cbmax, (LPARAM)(LPSTR)_psz)
#define CommDlg_OpenSave_GetFolderPathW(_hdlg, _psz, _cbmax) \
(int)SNDMSG(_hdlg, CDM_GETFOLDERPATH, (WPARAM)_cbmax, (LPARAM)(LPWSTR)_psz)
#define CommDlg_OpenSave_GetFolderPath WINELIB_NAME_AW(CommDlg_OpenSave_GetFolderPath)
#define CommDlg_OpenSave_GetFolderIDList(_hdlg, _pidl, _cbmax) \
(int)SNDMSG(_hdlg, CDM_GETFOLDERIDLIST, (WPARAM)_cbmax, (LPARAM)(LPVOID)_pidl)
#define CommDlg_OpenSave_SetControlText(_hdlg, _id, _text) \
(void)SNDMSG(_hdlg, CDM_SETCONTROLTEXT, (WPARAM)_id, (LPARAM)(LPSTR)_text)
#define CommDlg_OpenSave_HideControl(_hdlg, _id) \
(void)SNDMSG(_hdlg, CDM_HIDECONTROL, (WPARAM)_id, 0)
#define CommDlg_OpenSave_SetDefExt(_hdlg, _pszext) \
(void)SNDMSG(_hdlg, CDM_SETDEFEXT, 0, (LPARAM)(LPSTR)_pszext)
typedef
UINT16
(
CALLBACK
*
LPPRINTHOOKPROC16
)
(
HWND16
,
UINT16
,
WPARAM16
,
LPARAM
);
typedef
UINT16
(
CALLBACK
*
LPPRINTHOOKPROC16
)
(
HWND16
,
UINT16
,
WPARAM16
,
LPARAM
);
typedef
UINT
(
CALLBACK
*
LPPRINTHOOKPROC
)
(
HWND
,
UINT
,
WPARAM
,
LPARAM
);
typedef
UINT
(
CALLBACK
*
LPPRINTHOOKPROC
)
(
HWND
,
UINT
,
WPARAM
,
LPARAM
);
...
...
include/windowsx.h
View file @
6a52a507
This diff is collapsed.
Click to expand it.
include/wingdi.h
View file @
6a52a507
...
@@ -2039,7 +2039,7 @@ typedef struct {
...
@@ -2039,7 +2039,7 @@ typedef struct {
LONG
ySrc
;
LONG
ySrc
;
XFORM
xformSrc
;
XFORM
xformSrc
;
COLORREF
crBkColorSrc
;
COLORREF
crBkColorSrc
;
DWORD
iUs
e
geSrc
;
DWORD
iUs
a
geSrc
;
DWORD
offBmiSrc
;
DWORD
offBmiSrc
;
DWORD
cbBmiSrc
;
DWORD
cbBmiSrc
;
DWORD
offBitsSrc
;
DWORD
offBitsSrc
;
...
@@ -2517,10 +2517,10 @@ typedef struct {
...
@@ -2517,10 +2517,10 @@ typedef struct {
DWORD
cbBmiSrc
;
DWORD
cbBmiSrc
;
DWORD
offBitsSrc
;
DWORD
offBitsSrc
;
DWORD
cbBitsSrc
;
DWORD
cbBitsSrc
;
DWORD
iUsage
;
DWORD
iUsage
Src
;
DWORD
dwRop
;
DWORD
dwRop
;
LONG
cxDest
;
LONG
cxDest
;
LONG
cyDst
;
LONG
cyD
e
st
;
}
EMRSTRETCHDIBITS
,
*
PEMRSTRETCHDIBITS
;
}
EMRSTRETCHDIBITS
,
*
PEMRSTRETCHDIBITS
;
typedef
struct
{
typedef
struct
{
...
...
include/winuser.h
View file @
6a52a507
...
@@ -1268,7 +1268,13 @@ typedef struct tagMSG
...
@@ -1268,7 +1268,13 @@ typedef struct tagMSG
POINT
pt
;
POINT
pt
;
}
MSG
,
*
LPMSG
;
}
MSG
,
*
LPMSG
;
#define POINTSTOPOINT(pt, pts) \
{ (pt).x = (LONG)(SHORT)LOWORD(*(LONG*)&pts); \
(pt).y = (LONG)(SHORT)HIWORD(*(LONG*)&pts); }
#define POINTTOPOINTS(pt) (MAKELONG((short)((pt).x), (short)((pt).y)))
/* Cursors / Icons */
/* Cursors / Icons */
typedef
struct
{
typedef
struct
{
...
@@ -2025,6 +2031,11 @@ typedef struct
...
@@ -2025,6 +2031,11 @@ typedef struct
#define IDC_HELPW MAKEINTRESOURCEW(32651)
#define IDC_HELPW MAKEINTRESOURCEW(32651)
#define IDC_HELP WINELIB_NAME_AW(IDC_HELP)
#define IDC_HELP WINELIB_NAME_AW(IDC_HELP)
#define MNC_IGNORE 0
#define MNC_CLOSE 1
#define MNC_EXECUTE 2
#define MNC_SELECT 3
/* SystemParametersInfo */
/* SystemParametersInfo */
/* defines below are for all win versions */
/* defines below are for all win versions */
#define SPI_GETBEEP 1
#define SPI_GETBEEP 1
...
...
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