windows-nt/Source/XPSP1/NT/ds/adsi/include/date.hxx

40 lines
548 B
C++
Raw Permalink Normal View History

2020-09-26 03:20:57 -05:00
#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_