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
2ff4faf6
Commit
2ff4faf6
authored
Oct 12, 2001
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Moved MAKEINTATOM to winbase.h and added Unicode version.
parent
bc799e40
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
8 deletions
+12
-8
controls.h
dlls/user/controls.h
+5
-5
winbase.h
include/winbase.h
+3
-0
windef.h
include/windef.h
+0
-1
winuser.h
include/winuser.h
+4
-2
No files found.
dlls/user/controls.h
View file @
2ff4faf6
...
...
@@ -11,11 +11,11 @@
#include "winproc.h"
/* Built-in class names (see _Undocumented_Windows_ p.418) */
#define POPUPMENU_CLASS_ATOM MAKEINTATOM(32768)
/* PopupMenu */
#define DESKTOP_CLASS_ATOM MAKEINTATOM(32769)
/* Desktop */
#define DIALOG_CLASS_ATOM MAKEINTATOM(32770)
/* Dialog */
#define WINSWITCH_CLASS_ATOM MAKEINTATOM(32771)
/* WinSwitch */
#define ICONTITLE_CLASS_ATOM MAKEINTATOM(32772)
/* IconTitle */
#define POPUPMENU_CLASS_ATOM MAKEINTATOM
A
(32768)
/* PopupMenu */
#define DESKTOP_CLASS_ATOM MAKEINTATOM
A
(32769)
/* Desktop */
#define DIALOG_CLASS_ATOM MAKEINTATOM
A
(32770)
/* Dialog */
#define WINSWITCH_CLASS_ATOM MAKEINTATOM
A
(32771)
/* WinSwitch */
#define ICONTITLE_CLASS_ATOM MAKEINTATOM
A
(32772)
/* IconTitle */
/* Built-in class descriptor */
struct
builtin_class_descr
...
...
include/winbase.h
View file @
2ff4faf6
...
...
@@ -409,6 +409,9 @@ typedef struct
#define GHND (GMEM_MOVEABLE | GMEM_ZEROINIT)
#define GPTR (GMEM_FIXED | GMEM_ZEROINIT)
#define MAKEINTATOMA(atom) ((LPCSTR)((ULONG_PTR)((WORD)(atom))))
#define MAKEINTATOMW(atom) ((LPCWSTR)((ULONG_PTR)((WORD)(atom))))
#define MAKEINTATOM WINELIB_NAME_AW(MAKEINTATOM)
typedef
struct
tagMEMORYSTATUS
{
...
...
include/windef.h
View file @
2ff4faf6
...
...
@@ -113,7 +113,6 @@ typedef INT CALLBACK (*PROC)();
#define MAKELPARAM(low,high) ((LPARAM)MAKELONG(low,high))
#define MAKEWPARAM(low,high) ((WPARAM)MAKELONG(low,high))
#define MAKELRESULT(low,high) ((LRESULT)MAKELONG(low,high))
#define MAKEINTATOM(atom) ((LPCSTR)MAKELONG((atom),0))
#define SELECTOROF(ptr) (HIWORD(ptr))
#define OFFSETOF(ptr) (LOWORD(ptr))
...
...
include/winuser.h
View file @
2ff4faf6
...
...
@@ -1107,6 +1107,10 @@ typedef struct {
DWORD
styleNew
;
}
STYLESTRUCT
,
*
LPSTYLESTRUCT
;
#define WC_DIALOGA MAKEINTATOMA(0x8002)
#define WC_DIALOGW MAKEINTATOMW(0x8002)
#define WC_DIALOG WINELIB_NAME_AW(WC_DIALOG)
/* Offsets for GetWindowLong() and GetWindowWord() */
#define GWL_USERDATA (-21)
#define GWL_EXSTYLE (-20)
...
...
@@ -3979,8 +3983,6 @@ INT WINAPI wvsnprintfA(LPSTR,UINT,LPCSTR,va_list);
INT
WINAPI
wvsnprintfW
(
LPWSTR
,
UINT
,
LPCWSTR
,
va_list
);
#define wvsnprintf WINELIB_NAME_AW(wvsnprintf)
#define WC_DIALOG (LPSTR)((DWORD)((WORD)( 0x8002)))
#ifdef __cplusplus
}
#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