mirror of https://github.com/tongzx/nt5src
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
548 B
39 lines
548 B
#ifndef _DATE_HXX_
|
|
#define _DATE_HXX_
|
|
|
|
HRESULT
|
|
NTTimeFormattoDateFormat(
|
|
LARGE_INTEGER *NTTimeFormat,
|
|
DATE *DateFormat
|
|
);
|
|
|
|
|
|
|
|
HRESULT
|
|
ConvertDATEtoDWORD(
|
|
DATE daDate,
|
|
DWORD *pdwDate,
|
|
BOOL fIsGMT = FALSE
|
|
);
|
|
|
|
HRESULT
|
|
ConvertSystemTimeToDATE(
|
|
SYSTEMTIME Time,
|
|
DATE * pdaTime
|
|
);
|
|
|
|
HRESULT
|
|
ConvertDWORDtoDATE(
|
|
DWORD dwTime,
|
|
DATE * pdaTime,
|
|
BOOL fIsGMT = FALSE
|
|
);
|
|
|
|
HRESULT
|
|
ConvertDATEToSYSTEMTIME(
|
|
DATE daDate,
|
|
SYSTEMTIME *psysDate
|
|
);
|
|
|
|
#endif // ifndef _DATE_HXX_
|
|
|