1 // Licensed under the Apache License, Version 2.0
2 // <LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
3 // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your option.
4 // All files in the project carrying such notice may not be copied, modified, or distributed
5 // except according to those terms.
7 use shared
::minwindef
::DWORD
;
8 use um
::minwinbase
::SYSTEMTIME
;
9 use um
::winnt
::{LCID, LPCSTR, LPCWSTR, LPSTR, LPWSTR}
;
11 pub fn GetDateFormatA(
14 lpDate
: *const SYSTEMTIME
,
19 pub fn GetDateFormatW(
22 lpDate
: *const SYSTEMTIME
,
27 pub fn GetTimeFormatA(
30 lpTime
: *const SYSTEMTIME
,
35 pub fn GetTimeFormatW(
38 lpTime
: *const SYSTEMTIME
,
43 pub fn GetTimeFormatEx(
44 lpLocaleName
: LPCWSTR
,
46 lpTime
: *const SYSTEMTIME
,
51 pub fn GetDateFormatEx(
52 lpLocaleName
: LPCWSTR
,
54 lpDate
: *const SYSTEMTIME
,