Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
f51736cb
Commit
f51736cb
authored
Mar 29, 2005
by
Troy Rollo
Committed by
Alexandre Julliard
Mar 29, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Implement SetCPGlobal (an undocumented Win32 API).
parent
976bdc4f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
0 deletions
+22
-0
kernel32.spec
dlls/kernel/kernel32.spec
+1
-0
locale.c
dlls/kernel/locale.c
+21
-0
No files found.
dlls/kernel/kernel32.spec
View file @
f51736cb
...
...
@@ -737,6 +737,7 @@
@ stdcall ScrollConsoleScreenBufferW(long ptr ptr ptr ptr)
@ stdcall SearchPathA(str str str long ptr ptr)
@ stdcall SearchPathW(wstr wstr wstr long ptr ptr)
@ stdcall SetCPGlobal(long)
@ stdcall SetCommBreak(long)
@ stdcall SetCommConfig(long ptr long)
@ stdcall SetCommMask(long ptr)
...
...
dlls/kernel/locale.c
View file @
f51736cb
...
...
@@ -1205,6 +1205,27 @@ UINT WINAPI GetACP(void)
}
/******************************************************************************
* SetCPGlobal (KERNEL32.@)
*
* Set the current Ansi code page Id for the system.
*
* PARAMS
* acp [I] code page ID to be the new ACP.
*
* RETURNS
* The previous ACP.
*/
UINT
WINAPI
SetCPGlobal
(
UINT
acp
)
{
UINT
ret
=
GetACP
();
const
union
cptable
*
new_cptable
=
wine_cp_get_table
(
acp
);
if
(
new_cptable
)
ansi_cptable
=
new_cptable
;
return
ret
;
}
/***********************************************************************
* GetOEMCP (KERNEL32.@)
*
...
...
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