windows-nt/Source/XPSP1/NT/ds/adsi/include/date.hxx
2020-09-26 16:20:57 +08:00

40 lines
548 B
C++

#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_