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
fcae6777
Commit
fcae6777
authored
Sep 19, 2007
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcrt: Added implementation of a few more __crt functions.
parent
35602d41
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
37 additions
and
2 deletions
+37
-2
locale.c
dlls/msvcrt/locale.c
+34
-0
msvcrt.spec
dlls/msvcrt/msvcrt.spec
+3
-2
No files found.
dlls/msvcrt/locale.c
View file @
fcae6777
...
...
@@ -543,6 +543,40 @@ int CDECL __crtLCMapStringA(
}
/*********************************************************************
* __crtCompareStringA (MSVCRT.@)
*/
int
CDECL
__crtCompareStringA
(
LCID
lcid
,
DWORD
flags
,
const
char
*
src1
,
int
len1
,
const
char
*
src2
,
int
len2
)
{
FIXME
(
"(lcid %x, flags %x, %s(%d), %s(%d), partial stub
\n
"
,
lcid
,
flags
,
debugstr_a
(
src1
),
len1
,
debugstr_a
(
src2
),
len2
);
/* FIXME: probably not entirely right */
return
CompareStringA
(
lcid
,
flags
,
src1
,
len1
,
src2
,
len2
);
}
/*********************************************************************
* __crtCompareStringW (MSVCRT.@)
*/
int
CDECL
__crtCompareStringW
(
LCID
lcid
,
DWORD
flags
,
const
MSVCRT_wchar_t
*
src1
,
int
len1
,
const
MSVCRT_wchar_t
*
src2
,
int
len2
)
{
FIXME
(
"(lcid %x, flags %x, %s(%d), %s(%d), partial stub
\n
"
,
lcid
,
flags
,
debugstr_w
(
src1
),
len1
,
debugstr_w
(
src2
),
len2
);
/* FIXME: probably not entirely right */
return
CompareStringW
(
lcid
,
flags
,
src1
,
len1
,
src2
,
len2
);
}
/*********************************************************************
* __crtGetLocaleInfoW (MSVCRT.@)
*/
int
CDECL
__crtGetLocaleInfoW
(
LCID
lcid
,
LCTYPE
type
,
MSVCRT_wchar_t
*
buffer
,
int
len
)
{
FIXME
(
"(lcid %x, type %x, %p(%d), partial stub
\n
"
,
lcid
,
type
,
buffer
,
len
);
/* FIXME: probably not entirely right */
return
GetLocaleInfoW
(
lcid
,
type
,
buffer
,
len
);
}
/*********************************************************************
* localeconv (MSVCRT.@)
*/
struct
MSVCRT_lconv
*
CDECL
MSVCRT_localeconv
(
void
)
{
...
...
dlls/msvcrt/msvcrt.spec
View file @
fcae6777
...
...
@@ -84,8 +84,9 @@
@ extern __argc MSVCRT___argc
@ extern __argv MSVCRT___argv
@ extern __badioinfo MSVCRT___badioinfo
@ stub __crtCompareStringA
@ stub __crtGetLocaleInfoW
@ cdecl __crtCompareStringA(long long str long str long)
@ cdecl __crtCompareStringW(long long wstr long wstr long)
@ cdecl __crtGetLocaleInfoW(long long ptr long)
@ cdecl __crtLCMapStringA(long long str long ptr long long long)
@ cdecl __dllonexit(ptr ptr ptr)
@ cdecl __doserrno() MSVCRT___doserrno
...
...
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