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
2182d460
Commit
2182d460
authored
Mar 18, 2008
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Mar 19, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mlang: Implement Rfc1766ToLcidA.
parent
1f0dcf06
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
1 deletion
+11
-1
mlang.c
dlls/mlang/mlang.c
+10
-0
mlang.spec
dlls/mlang/mlang.spec
+1
-1
No files found.
dlls/mlang/mlang.c
View file @
2182d460
...
@@ -784,6 +784,16 @@ HRESULT WINAPI Rfc1766ToLcidW(LCID *pLocale, LPCWSTR pszRfc1766)
...
@@ -784,6 +784,16 @@ HRESULT WINAPI Rfc1766ToLcidW(LCID *pLocale, LPCWSTR pszRfc1766)
return
hr
;
return
hr
;
}
}
HRESULT
WINAPI
Rfc1766ToLcidA
(
LCID
*
lcid
,
LPCSTR
rfc1766A
)
{
WCHAR
rfc1766W
[
MAX_RFC1766_NAME
+
1
];
MultiByteToWideChar
(
CP_ACP
,
0
,
rfc1766A
,
-
1
,
rfc1766W
,
MAX_RFC1766_NAME
);
rfc1766W
[
MAX_RFC1766_NAME
]
=
0
;
return
Rfc1766ToLcidW
(
lcid
,
rfc1766W
);
}
/******************************************************************************
/******************************************************************************
* MLANG ClassFactory
* MLANG ClassFactory
*/
*/
...
...
dlls/mlang/mlang.spec
View file @
2182d460
...
@@ -10,5 +10,5 @@
...
@@ -10,5 +10,5 @@
@ stdcall IsConvertINetStringAvailable(long long)
@ stdcall IsConvertINetStringAvailable(long long)
@ stdcall LcidToRfc1766A(long ptr long)
@ stdcall LcidToRfc1766A(long ptr long)
@ stdcall LcidToRfc1766W(long ptr long)
@ stdcall LcidToRfc1766W(long ptr long)
@ st
ub Rfc1766ToLcidA
@ st
dcall Rfc1766ToLcidA(ptr str)
@ stdcall Rfc1766ToLcidW(ptr wstr)
@ stdcall Rfc1766ToLcidW(ptr wstr)
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