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
99b8886e
Commit
99b8886e
authored
Dec 01, 1998
by
Uwe Bonnes
Committed by
Alexandre Julliard
Dec 01, 1998
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added the TEXT() and MAKELRESULT() definitions.
parent
a40e7425
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
wintypes.h
include/wintypes.h
+4
-0
No files found.
include/wintypes.h
View file @
99b8886e
...
...
@@ -252,12 +252,15 @@ DECL_WINELIB_TYPE(WNDPROC)
typedef
WCHAR
TCHAR
;
typedef
LPWSTR
LPTSTR
;
typedef
LPCWSTR
LPCTSTR
;
#define __TEXT(string) L##string
/*probably wrong */
# else
/* UNICODE */
typedef
CHAR
TCHAR
;
typedef
LPSTR
LPTSTR
;
typedef
LPCSTR
LPCTSTR
;
#define __TEXT(string) string
# endif
/* UNICODE */
#endif
/* __WINE__ */
#define TEXT(quote) __TEXT(quote)
/* Data types specific to the library. These do _not_ exist in the emulator. */
...
...
@@ -353,6 +356,7 @@ DECL_WINELIB_TYPE(HWND)
(((DWORD)((WORD)(high))) << 16)))
#define MAKELPARAM(low,high) ((LPARAM)MAKELONG(low,high))
#define MAKEWPARAM(low,high) ((WPARAM32)MAKELONG(low,high))
#define MAKELRESULT(low,high) ((LRESULT)MAKELONG(low,high))
#define MAKEINTATOM(atom) ((LPCSTR)MAKELONG((atom),0))
#define SELECTOROF(ptr) (HIWORD(ptr))
...
...
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