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
4d5c9512
Commit
4d5c9512
authored
Nov 14, 1998
by
Juergen Schmied
Committed by
Alexandre Julliard
Nov 14, 1998
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Stub for GetNumberFormat32W.
parent
7c4ce418
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
2 deletions
+25
-2
windows.h
include/windows.h
+3
-0
ole2nls.c
ole/ole2nls.c
+22
-2
No files found.
include/windows.h
View file @
4d5c9512
...
...
@@ -6863,6 +6863,9 @@ UINT32 WINAPI GetMetaFileBitsEx(HMETAFILE32,UINT32,LPVOID);
BOOL32
WINAPI
GetMonitorInfo32A
(
HMONITOR
,
LPMONITORINFO
);
BOOL32
WINAPI
GetMonitorInfo32W
(
HMONITOR
,
LPMONITORINFO
);
#define GetMonitorInfo WINELIB_NAME_AW(GetMonitorInfo)
INT32
WINAPI
GetNumberFormat32A
(
LCID
,
DWORD
,
LPCSTR
,
const
NUMBERFMT32A
*
,
LPSTR
,
int
);
INT32
WINAPI
GetNumberFormat32W
(
LCID
,
DWORD
,
LPCWSTR
,
const
NUMBERFMT32W
*
,
LPWSTR
,
int
);
#define GetNumberFormat WINELIB_NAME_AW(GetNumberFormat);
BOOL32
WINAPI
GetNumberOfConsoleInputEvents
(
HANDLE32
,
LPDWORD
);
BOOL32
WINAPI
GetNumberOfConsoleMouseButtons
(
LPDWORD
);
DWORD
WINAPI
GetObjectType
(
HANDLE32
);
...
...
ole/ole2nls.c
View file @
4d5c9512
...
...
@@ -2824,10 +2824,9 @@ BOOL32 WINAPI EnumTimeFormats32W(
/**************************************************************************
* GetNumberFormat32A (KERNEL32.355)
* NOTE: type of lpFormat should be CONST NUMBERFORMAT
*/
INT32
WINAPI
GetNumberFormat32A
(
LCID
locale
,
DWORD
dwflags
,
LPCSTR
lpvalue
,
char
*
lpFormat
,
LPCSTR
lpvalue
,
const
NUMBERFMT32A
*
lpFormat
,
LPSTR
lpNumberStr
,
int
cchNumber
)
{
int
n
;
...
...
@@ -2844,6 +2843,27 @@ INT32 WINAPI GetNumberFormat32A(LCID locale, DWORD dwflags,
}
return
n
;
}
/**************************************************************************
* GetNumberFormat32W (KERNEL32.xxx)
*/
INT32
WINAPI
GetNumberFormat32W
(
LCID
locale
,
DWORD
dwflags
,
LPCWSTR
lpvalue
,
const
NUMBERFMT32W
*
lpFormat
,
LPWSTR
lpNumberStr
,
int
cchNumber
)
{
int
n
;
FIXME
(
file
,
"%s: stub, no reformating done
\n
"
,
debugstr_w
(
lpvalue
));
n
=
lstrlen32W
(
lpvalue
);
if
(
cchNumber
)
{
lstrcpyn32W
(
lpNumberStr
,
lpvalue
,
cchNumber
);
if
(
cchNumber
<=
n
)
{
lpNumberStr
[
cchNumber
-
1
]
=
0
;
n
=
cchNumber
-
1
;
}
}
return
n
;
}
/******************************************************************************
* OLE2NLS_CheckLocale [intern]
*/
...
...
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