wcetime.h
来自「俄罗斯高人Mamaich的Pocket gcc编译器(运行在PocketPC上)」· C头文件 代码 · 共 54 行
H
54 行
#ifndef _WCETIME_H_#define _WCETIME_H_#include "sys/wcetypes.h"typedef struct _FILETIME { DWORD dwLowDateTime; DWORD dwHighDateTime;} FILETIME, *PFILETIME, *LPFILETIME;typedef struct _SYSTEMTIME { WORD wYear; WORD wMonth; WORD wDayOfWeek; WORD wDay; WORD wHour; WORD wMinute; WORD wSecond; WORD wMilliseconds;} SYSTEMTIME, *LPSYSTEMTIME;#define TIME_ZONE_ID_UNKNOWN 0#define TIME_ZONE_ID_STANDARD 1#define TIME_ZONE_ID_DAYLIGHT 2typedef struct _TIME_ZONE_INFORMATION { LONG Bias; WCHAR StandardName[32]; SYSTEMTIME StandardDate; LONG StandardBias; WCHAR DaylightName[32]; SYSTEMTIME DaylightDate; LONG DaylightBias;} TIME_ZONE_INFORMATION, *LPTIME_ZONE_INFORMATION;#ifdef __cplusplusextern "C" {#endifvoid GetLocalTime(LPSYSTEMTIME);void GetSystemTime(LPSYSTEMTIME);DWORD GetTimeZoneInformation(LPTIME_ZONE_INFORMATION);void SetDaylightTime(DWORD);BOOL SetLocalTime(CONST SYSTEMTIME *);BOOL SetSystemTime(CONST SYSTEMTIME *);BOOL SetTimeZoneInformation(CONST TIME_ZONE_INFORMATION *);#ifdef __cplusplus}#endif#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?