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
d5f6d841
Commit
d5f6d841
authored
Aug 06, 2008
by
Huw Davies
Committed by
Alexandre Julliard
Aug 18, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32: GetCalendarInfo shouldn't return HRESULT codes. Change a MESSAGE to a FIXME.
parent
520ab5c2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
6 deletions
+8
-6
time.c
dlls/kernel32/time.c
+8
-6
No files found.
dlls/kernel32/time.c
View file @
d5f6d841
...
...
@@ -651,16 +651,16 @@ int WINAPI GetCalendarInfoW(LCID Locale, CALID Calendar, CALTYPE CalType,
switch
(
CalType
&
~
(
CAL_NOUSEROVERRIDE
|
CAL_RETURN_NUMBER
|
CAL_USE_CP_ACP
))
{
case
CAL_ICALINTVALUE
:
FIXME
(
"Unimplemented caltype %d
\n
"
,
CalType
&
0xffff
);
return
E_FAIL
;
return
0
;
case
CAL_SCALNAME
:
FIXME
(
"Unimplemented caltype %d
\n
"
,
CalType
&
0xffff
);
return
E_FAIL
;
return
0
;
case
CAL_IYEAROFFSETRANGE
:
FIXME
(
"Unimplemented caltype %d
\n
"
,
CalType
&
0xffff
);
return
E_FAIL
;
return
0
;
case
CAL_SERASTRING
:
FIXME
(
"Unimplemented caltype %d
\n
"
,
CalType
&
0xffff
);
return
E_FAIL
;
return
0
;
case
CAL_SSHORTDATE
:
return
GetLocaleInfoW
(
Locale
,
LOCALE_SSHORTDATE
,
lpCalData
,
cchData
);
case
CAL_SLONGDATE
:
...
...
@@ -750,8 +750,10 @@ int WINAPI GetCalendarInfoW(LCID Locale, CALID Calendar, CALTYPE CalType,
case
CAL_ITWODIGITYEARMAX
:
if
(
lpValue
)
*
lpValue
=
CALINFO_MAX_YEAR
;
break
;
default:
MESSAGE
(
"Unknown caltype %d
\n
"
,
CalType
&
0xffff
);
return
E_FAIL
;
default:
FIXME
(
"Unknown caltype %d
\n
"
,
CalType
&
0xffff
);
SetLastError
(
ERROR_INVALID_FLAGS
);
return
0
;
}
return
0
;
}
...
...
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