Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
wine
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Package registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Zsolt Vadász
wine
Commits
e2f30dc1
Commit
e2f30dc1
authored
12 years ago
by
Francois Gouget
Committed by
Alexandre Julliard
12 years ago
Browse files
Options
Downloads
Patches
Plain Diff
include: Add more string types.
parent
5f55a71b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
include/winnt.h
+38
-8
38 additions, 8 deletions
include/winnt.h
with
38 additions
and
8 deletions
include/winnt.h
+
38
−
8
View file @
e2f30dc1
...
...
@@ -446,6 +446,11 @@ typedef wchar_t WCHAR, *PWCHAR;
typedef
unsigned
short
WCHAR
,
*
PWCHAR
;
#endif
typedef
ULONG
UCSCHAR
;
#define MIN_UCSCHAR (0)
#define MAX_UCSCHAR (0x0010ffff)
#define UCSCHAR_INVALID_CHARACTER (0xffffffff)
/* 'Extended/Wide' numerical types */
#ifndef _ULONGLONG_
# define _ULONGLONG_
...
...
@@ -468,20 +473,25 @@ typedef ULONGLONG DECLSPEC_ALIGN(8) DWORDLONG, *PDWORDLONG;
#endif
/* ANSI string types */
typedef
CHAR
*
PCH
,
*
LPCH
;
typedef
const
CHAR
*
PCCH
,
*
LPCCH
;
typedef
CHAR
*
PCH
,
*
LPCH
,
*
PNZCH
;
typedef
const
CHAR
*
PCCH
,
*
LPCCH
,
*
PCNZCH
;
typedef
CHAR
*
PSTR
,
*
LPSTR
,
*
NPSTR
;
typedef
const
CHAR
*
PCSTR
,
*
LPCSTR
;
typedef
CHAR
*
PZZSTR
;
typedef
const
CHAR
*
PCZZSTR
;
/* Unicode string types */
typedef
const
WCHAR
*
PCWCHAR
,
*
LPCUWCHAR
,
*
PCUWCHAR
;
typedef
WCHAR
*
PWCH
,
*
LPWCH
;
typedef
const
WCHAR
*
PCWCH
,
*
LPCWCH
;
typedef
WCHAR
*
PNZWCH
,
*
PUNZWCH
;
typedef
const
WCHAR
*
PCNZWCH
,
*
PCUNZWCH
;
typedef
WCHAR
*
PWSTR
,
*
LPWSTR
,
*
NWPSTR
;
typedef
const
WCHAR
*
PCWSTR
,
*
LPCWSTR
;
typedef
WCHAR
*
PZZWSTR
;
typedef
const
WCHAR
*
PCZZWSTR
;
typedef
WCHAR
*
PZZWSTR
,
*
PUZZWSTR
;
typedef
const
WCHAR
*
PCZZWSTR
,
*
PCUZZWSTR
;
typedef
PWSTR
*
PZPWSTR
;
typedef
PCWSTR
*
PZPCWSTR
;
/* Neutral character and string types */
/* These are only defined for Winelib, i.e. _not_ defined for
...
...
@@ -494,22 +504,42 @@ typedef const WCHAR *PCZZWSTR;
typedef
WCHAR
TCHAR
,
*
PTCHAR
;
# define _TCHAR_DEFINED
#endif
typedef
LPWCH
PTCH
,
LPTCH
;
typedef
LPCWCH
PCTCH
,
LPCTCH
;
typedef
LPWSTR
PTSTR
,
LPTSTR
;
typedef
LPCWSTR
PCTSTR
,
LPCTSTR
;
typedef
PZZSTR
PZZTSTR
;
typedef
PCZZSTR
PCZZTSTR
;
typedef
LPWSTR
PUTSTR
,
LPUTSTR
;
typedef
LPCWSTR
PCUTSTR
,
LPCUTSTR
;
typedef
PNZWCH
PNZTCH
;
typedef
PUNZWCH
PUNZTCH
;
typedef
PCNZWCH
PCNZTCH
;
typedef
PCUNZWCH
PCUNZTCH
;
typedef
PZZWSTR
PZZTSTR
;
typedef
PCZZWSTR
PCZZTSTR
;
typedef
PUZZWSTR
PUZZTSTR
;
typedef
PUCZZWSTR
PCUZZTSTR
;
# else
/* UNICODE */
# ifndef _TCHAR_DEFINED
typedef
CHAR
TCHAR
,
*
PTCHAR
;
# define _TCHAR_DEFINED
# endif
typedef
LPCH
PTCH
,
LPTCH
;
typedef
LPCCH
PCTCH
,
LPCTCH
;
typedef
LPSTR
PTSTR
,
LPTSTR
;
typedef
LPCSTR
PCTSTR
,
LPCTSTR
;
typedef
PZZWSTR
PZZTSTR
;
typedef
PCZZWSTR
PCZZTSTR
;
typedef
PNZCH
PNZTCH
,
PUNZTCH
;
typedef
PCNZCH
PCNZTCH
,
PCUNZTCH
;
typedef
PZZSTR
PZZTSTR
,
PUZZTSTR
;
typedef
PCZZSTR
PCZZTSTR
,
PCUZZTSTR
;
# endif
/* UNICODE */
#endif
/* WINE_NO_UNICODE_MACROS */
/* UCS string types */
typedef
UCSCHAR
*
PUCSCHAR
,
*
PUUCSCHAR
;
typedef
const
UCSCHAR
*
PCUCSCHAR
,
*
PCUUCSCHAR
;
typedef
UCSCHAR
*
PUCSSTR
,
*
PUUCSSTR
;
typedef
const
UCSCHAR
*
PCUCSSTR
,
*
PCUUCSSTR
;
/* Misc common WIN32 types */
typedef
char
CCHAR
;
typedef
DWORD
LCID
,
*
PLCID
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment