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
2906af59
Commit
2906af59
authored
Nov 07, 2009
by
Rob Shearman
Committed by
Alexandre Julliard
Nov 09, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Declare the *_PTR types on top of the __int3264 intrinsic IDL types for widl in basetsd.h.
parent
4339f9ed
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
29 additions
and
9 deletions
+29
-9
basetsd.h
include/basetsd.h
+29
-9
No files found.
include/basetsd.h
View file @
2906af59
...
@@ -102,15 +102,41 @@ typedef unsigned __int64 DECLSPEC_ALIGN(8) ULONG64, *PULONG64;
...
@@ -102,15 +102,41 @@ typedef unsigned __int64 DECLSPEC_ALIGN(8) ULONG64, *PULONG64;
typedef
unsigned
__int64
DECLSPEC_ALIGN
(
8
)
DWORD64
,
*
PDWORD64
;
typedef
unsigned
__int64
DECLSPEC_ALIGN
(
8
)
DWORD64
,
*
PDWORD64
;
#endif
#endif
/*
Win32 or Win64 dependent typedef/defines.
*/
/*
Basic pointer-sized integer types
*/
#ifdef _WIN64
#if defined(__midl) || defined(__WIDL__)
typedef
/* [public] */
signed
__int3264
INT_PTR
,
*
PINT_PTR
;
typedef
/* [public] */
signed
__int3264
LONG_PTR
,
*
PLONG_PTR
;
typedef
/* [public] */
unsigned
__int3264
UINT_PTR
,
*
PUINT_PTR
;
typedef
/* [public] */
unsigned
__int3264
ULONG_PTR
,
*
PULONG_PTR
;
typedef
ULONG_PTR
DWORD_PTR
,
*
PDWORD_PTR
;
#elif defined(_WIN64)
#define __int3264 __int64
typedef
signed
__int64
INT_PTR
,
*
PINT_PTR
;
typedef
signed
__int64
INT_PTR
,
*
PINT_PTR
;
typedef
signed
__int64
LONG_PTR
,
*
PLONG_PTR
;
typedef
signed
__int64
LONG_PTR
,
*
PLONG_PTR
;
typedef
unsigned
__int64
UINT_PTR
,
*
PUINT_PTR
;
typedef
unsigned
__int64
UINT_PTR
,
*
PUINT_PTR
;
typedef
unsigned
__int64
ULONG_PTR
,
*
PULONG_PTR
;
typedef
unsigned
__int64
ULONG_PTR
,
*
PULONG_PTR
;
typedef
unsigned
__int64
DWORD_PTR
,
*
PDWORD_PTR
;
typedef
ULONG_PTR
DWORD_PTR
,
*
PDWORD_PTR
;
#else
#define __int3264 __int32
typedef
long
INT_PTR
,
*
PINT_PTR
;
typedef
unsigned
long
UINT_PTR
,
*
PUINT_PTR
;
typedef
long
LONG_PTR
,
*
PLONG_PTR
;
typedef
unsigned
long
ULONG_PTR
,
*
PULONG_PTR
;
typedef
ULONG_PTR
DWORD_PTR
,
*
PDWORD_PTR
;
#endif
/* Win32 or Win64 dependent typedef/defines. */
#ifdef _WIN64
#define MAXINT_PTR 0x7fffffffffffffff
#define MAXINT_PTR 0x7fffffffffffffff
#define MININT_PTR 0x8000000000000000
#define MININT_PTR 0x8000000000000000
...
@@ -201,12 +227,6 @@ static inline void *ULongToPtr(ULONG32 ul)
...
@@ -201,12 +227,6 @@ static inline void *ULongToPtr(ULONG32 ul)
#else
/* FIXME: defined(_WIN32) */
#else
/* FIXME: defined(_WIN32) */
typedef
long
INT_PTR
,
*
PINT_PTR
;
typedef
unsigned
long
UINT_PTR
,
*
PUINT_PTR
;
typedef
long
LONG_PTR
,
*
PLONG_PTR
;
typedef
unsigned
long
ULONG_PTR
,
*
PULONG_PTR
;
typedef
ULONG_PTR
DWORD_PTR
,
*
PDWORD_PTR
;
#define MAXINT_PTR 0x7fffffff
#define MAXINT_PTR 0x7fffffff
#define MININT_PTR 0x80000000
#define MININT_PTR 0x80000000
#define MAXUINT_PTR 0xffffffff
#define MAXUINT_PTR 0xffffffff
...
...
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