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
d6a494fe
Commit
d6a494fe
authored
Feb 25, 2000
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Feb 25, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move definition of CPINFO structure from winbase.h to winnls.h
Add definition of CPINFOEX structure to winnls.h
parent
9ac852ae
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
37 additions
and
15 deletions
+37
-15
winbase.h
include/winbase.h
+0
-14
winnls.h
include/winnls.h
+37
-1
No files found.
include/winbase.h
View file @
d6a494fe
...
...
@@ -594,19 +594,6 @@ typedef struct {
WORD
wMilliseconds
;
}
SYSTEMTIME
,
*
LPSYSTEMTIME
;
/* Code page information.
*/
#define MAX_LEADBYTES 12
#define MAX_DEFAULTCHAR 2
typedef
struct
{
UINT
MaxCharSize
;
BYTE
DefaultChar
[
MAX_DEFAULTCHAR
];
BYTE
LeadByte
[
MAX_LEADBYTES
];
}
CPINFO
,
*
LPCPINFO
;
/* The 'overlapped' data structure used by async I/O functions.
*/
typedef
struct
{
...
...
@@ -1278,7 +1265,6 @@ UINT WINAPI GetConsoleOutputCP(void);
DWORD
WINAPI
GetConsoleTitleA
(
LPSTR
,
DWORD
);
DWORD
WINAPI
GetConsoleTitleW
(
LPWSTR
,
DWORD
);
#define GetConsoleTitle WINELIB_NAME_AW(GetConsoleTitle)
BOOL
WINAPI
GetCPInfo
(
UINT
,
LPCPINFO
);
BOOL
WINAPI
GetCommMask
(
HANDLE
,
LPDWORD
);
BOOL
WINAPI
GetCommModemStatus
(
HANDLE
,
LPDWORD
);
HANDLE
WINAPI
GetCurrentProcess
(
void
);
...
...
include/winnls.h
View file @
d6a494fe
...
...
@@ -482,6 +482,38 @@ WCHAR towlower(WCHAR);
#define C3_ALPHA 0x8000
#define C3_NOTAPPLICABLE 0x0000
/* Code page information.
*/
#define MAX_LEADBYTES 12
#define MAX_DEFAULTCHAR 2
typedef
struct
{
UINT
MaxCharSize
;
BYTE
DefaultChar
[
MAX_DEFAULTCHAR
];
BYTE
LeadByte
[
MAX_LEADBYTES
];
}
CPINFO
,
*
LPCPINFO
;
typedef
struct
{
UINT
MaxCharSize
;
BYTE
DefaultChar
[
MAX_DEFAULTCHAR
];
BYTE
LeadByte
[
MAX_LEADBYTES
];
WCHAR
UnicodeDefaultChar
;
UINT
CodePage
;
CHAR
CodePageName
[
MAX_PATH
];
}
CPINFOEXA
,
*
LPCPINFOEXA
;
typedef
struct
{
UINT
MaxCharSize
;
BYTE
DefaultChar
[
MAX_DEFAULTCHAR
];
BYTE
LeadByte
[
MAX_LEADBYTES
];
WCHAR
UnicodeDefaultChar
;
UINT
CodePage
;
WCHAR
CodePageName
[
MAX_PATH
];
}
CPINFOEXW
,
*
LPCPINFOEXW
;
typedef
DWORD
CALTYPE
;
typedef
DWORD
CALID
;
...
...
@@ -498,7 +530,11 @@ UINT16 WINAPI CompareString16(DWORD,DWORD,LPCSTR,DWORD,LPCSTR,DWORD);
INT16
WINAPI
GetLocaleInfo16
(
LCID
,
LCTYPE
,
LPSTR
,
INT16
);
BOOL16
WINAPI
GetStringType16
(
LCID
,
DWORD
,
LPCSTR
,
INT16
,
LPWORD
);
LCID
WINAPI
ConvertDefaultLocale
(
LCID
Locale
);
BOOL
WINAPI
GetCPInfo
(
UINT
,
LPCPINFO
);
BOOL
WINAPI
GetCPInfoExA
(
UINT
,
DWORD
,
LPCPINFOEXA
);
BOOL
WINAPI
GetCPInfoExW
(
UINT
,
DWORD
,
LPCPINFOEXW
);
#define GetCPInfoEx WINELIB_NAME_AW(GetCPInfoEx)
#endif
/* __WINE_WINNLS_H */
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