ReactOS
0.4.16-dev-597-gdbf7844
wstrtime.c
Go to the documentation of this file.
1
/*
2
* COPYRIGHT: See COPYING in the top level directory
3
* PROJECT: ReactOS CRT library
4
* FILE: lib/sdk/crt/time/wstrtime.c
5
* PURPOSE: Fills a buffer with a formatted time representation
6
* PROGRAMER: Ariadne
7
* UPDATE HISTORY:
8
* 28/12/98: Created
9
*/
10
#include <precomp.h>
11
12
/*
13
* @implemented
14
*/
15
wchar_t
*
_wstrtime
(
wchar_t
*
time
)
16
{
17
static
const
WCHAR
format
[] = {
'H'
,
'H'
,
'\''
,
':'
,
'\''
,
'm'
,
'm'
,
'\''
,
':'
,
'\''
,
's'
,
's'
,0 };
18
19
GetTimeFormatW
(
LOCALE_NEUTRAL
, 0,
NULL
,
format
, (
LPWSTR
)
time
, 9);
20
21
return
time
;
22
}
_wstrtime
_wstrtime
Definition:
corecrt_wtime.h:152
NULL
#define NULL
Definition:
types.h:112
GetTimeFormatW
INT WINAPI GetTimeFormatW(LCID lcid, DWORD dwFlags, const SYSTEMTIME *lpTime, LPCWSTR lpFormat, LPWSTR lpTimeStr, INT cchOut)
Definition:
lcformat.c:1093
time
__u16 time
Definition:
mkdosfs.c:8
LOCALE_NEUTRAL
#define LOCALE_NEUTRAL
format
Definition:
format.c:58
WCHAR
__wchar_t WCHAR
Definition:
xmlstorage.h:180
LPWSTR
WCHAR * LPWSTR
Definition:
xmlstorage.h:184
sdk
lib
crt
time
wstrtime.c
Generated on Fri Jan 24 2025 06:14:00 for ReactOS by
1.9.6