亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? wince.cpp

?? zip壓縮
?? CPP
?? 第 1 頁 / 共 2 頁
字號:
//******************************************************************************//***** STRING.H functions//******************************************************************************//-- Called from winmain.cppint __cdecl _stricmp(const char *string1, const char *string2) {   while (*string1 && ((*string1 | 0x20) == (*string2 | 0x20))) {      string1++;      string2++;   }   return (*string1 - *string2);}//******************************************************************************//-- Called from intrface.cpp and winmain.cppchar* __cdecl _strupr(char *string) {   while (*string) {      if ((*string >= 'a') && (*string <= 'z')) {         *string -= 'a' - 'A';      }      string++;   }   return string;}#ifndef _MBCS//******************************************************************************//-- Called from winmain.cppchar* __cdecl strrchr(const char *string, int c) {   // Walk to end of string.   for (char *p = (char*)string; *p; p++) {   }   // Walk backwards looking for character.   for (p--; p >= string; p--) {      if ((int)*p == c) {         return p;      }   }   return NULL;}#endif /* !_MBCS *///******************************************************************************//***** CTYPE.H functions//******************************************************************************//-- Called from fileio.cint __cdecl isupper(int c) {   return ((c >= 'A') && (c <= 'Z'));}//******************************************************************************//***** STAT.H functions//******************************************************************************//-- Called fileio.c, process.c, intrface.cppint __cdecl stat(const char *path, struct stat *buffer) {   // stat() is called on both the ZIP files and extracted files.   // Clear our stat buffer to be safe.   ZeroMemory(buffer, sizeof(struct stat));   // Find the file/direcotry and fill in a WIN32_FIND_DATA structure.   WIN32_FIND_DATA w32fd;   ZeroMemory(&w32fd, sizeof(w32fd));   TCHAR szPath[_MAX_PATH];   MBSTOTSTR(szPath, path, countof(szPath));   HANDLE hFind = FindFirstFile(szPath, &w32fd);   // Bail out now if we could not find the file/directory.   if (hFind == INVALID_HANDLE_VALUE) {      return -1;   }   // Close the find.   FindClose(hFind);   // Mode flags that are currently used: S_IWRITE, S_IFMT, S_IFDIR, S_IEXEC   if (w32fd.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY) {      buffer->st_mode = _S_IFDIR | _S_IREAD | _S_IEXEC;   } else {      buffer->st_mode = _S_IFREG | _S_IREAD;   }   if (!(w32fd.dwFileAttributes & FILE_ATTRIBUTE_READONLY)) {      buffer->st_mode |= _S_IWRITE;   }   // Store the file size.   buffer->st_size  = (_off_t)w32fd.nFileSizeLow;   // Convert the modified FILETIME to a time_t and store it.   DWORDLONG dwl = *(DWORDLONG*)&w32fd.ftLastWriteTime;   buffer->st_mtime = (time_t)((dwl - (DWORDLONG)116444736000000000) / (DWORDLONG)10000000);   return 0;}//******************************************************************************//***** TIME.H functions//******************************************************************************// Evaluates to TRUE if 'y' is a leap year, otherwise FALSE// #define IS_LEAP_YEAR(y) ((((y) % 4 == 0) && ((y) % 100 != 0)) || ((y) % 400 == 0))// The macro below is a reduced version of the above macro.  It is valid for// years between 1901 and 2099 which easily includes all years representable// by the current implementation of time_t.#define IS_LEAP_YEAR(y) (((y) & 3) == 0)#define BASE_DOW          4                  // 1/1/1970 was a Thursday.#define SECONDS_IN_A_DAY  (24L * 60L * 60L)  // Number of seconds in one day.// Month to Year Day conversion array.int M2YD[] = {   0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334, 365};// Month to Leap Year Day conversion array.int M2LYD[] = {   0, 31, 60, 91, 121, 152, 182, 213, 244, 274, 305, 335, 366};//******************************************************************************//-- Called from list.cstruct tm * __cdecl localtime(const time_t *timer) {   // Return value for localtime().  Source currently never references   // more than one "tm" at a time, so the single return structure is ok.   static struct tm g_tm;   ZeroMemory(&g_tm, sizeof(g_tm));   // Get our time zone information.   TIME_ZONE_INFORMATION tzi;   SafeGetTimeZoneInformation(&tzi);   // Create a time_t that has been corrected for our time zone.   time_t localTime = *timer - (tzi.Bias * 60L);   // Decide if value is in Daylight Savings Time.   if (g_tm.tm_isdst = (int)IsDST(&tzi, localTime)) {      localTime -= tzi.DaylightBias * 60L; // usually 60 minutes   } else {      localTime -= tzi.StandardBias * 60L; // usually  0 minutes   }   // time_t   is a 32-bit value for the seconds since January 1, 1970   // FILETIME is a 64-bit value for the number of 100-nanosecond intervals   //          since January 1, 1601   // Compute the FILETIME for the given local time.   DWORDLONG dwl = ((DWORDLONG)116444736000000000 +                   ((DWORDLONG)localTime * (DWORDLONG)10000000));   FILETIME ft = *(FILETIME*)&dwl;   // Convert the FILETIME to a SYSTEMTIME.   SYSTEMTIME st;   ZeroMemory(&st, sizeof(st));   FileTimeToSystemTime(&ft, &st);   // Finish filling in our "tm" structure.   g_tm.tm_sec  = (int)st.wSecond;   g_tm.tm_min  = (int)st.wMinute;   g_tm.tm_hour = (int)st.wHour;   g_tm.tm_mday = (int)st.wDay;   g_tm.tm_mon  = (int)st.wMonth - 1;   g_tm.tm_year = (int)st.wYear - 1900;   return &g_tm;}//******************************************************************************void SafeGetTimeZoneInformation(TIME_ZONE_INFORMATION *ptzi) {   ZeroMemory(ptzi, sizeof(TIME_ZONE_INFORMATION));   // Ask the OS for the standard/daylight rules for the current time zone.   if ((GetTimeZoneInformation(ptzi) == 0xFFFFFFFF) ||       (ptzi->StandardDate.wMonth > 12) || (ptzi->DaylightDate.wMonth > 12))   {      // If the OS fails us, we default to the United States' rules.      ZeroMemory(ptzi, sizeof(TIME_ZONE_INFORMATION));      ptzi->StandardDate.wMonth =  10;  // October      ptzi->StandardDate.wDay   =   5;  // Last Sunday (DOW == 0)      ptzi->StandardDate.wHour  =   2;  // At 2:00 AM      ptzi->DaylightBias        = -60;  // One hour difference      ptzi->DaylightDate.wMonth =   4;  // April      ptzi->DaylightDate.wDay   =   1;  // First Sunday (DOW == 0)      ptzi->DaylightDate.wHour  =   2;  // At 2:00 AM   }}//******************************************************************************time_t GetTransitionTimeT(TIME_ZONE_INFORMATION *ptzi, int year, BOOL fStartDST) {   // We only handle years within the range that time_t supports.  We need to   // handle the very end of 1969 since the local time could be up to 13 hours   // into the previous year.  In this case, our code will actually return a   // negative value, but it will be compared to another negative value and is   // handled correctly.  The same goes for the 13 hours past a the max time_t   // value of 0x7FFFFFFF (in the year 2038).  Again, these values are handled   // correctly as well.   if ((year < 1969) || (year > 2038)) {      return (time_t)0;   }   SYSTEMTIME *pst = fStartDST ? &ptzi->DaylightDate : &ptzi->StandardDate;   // WORD wYear          Year (0000 == 0)   // WORD wMonth         Month (January == 1)   // WORD wDayOfWeek     Day of week (Sunday == 0)   // WORD wDay           Month day (1 - 31)   // WORD wHour          Hour (0 - 23)   // WORD wMinute        Minute (0 - 59)   // WORD wSecond        Second (0 - 59)   // WORD wMilliseconds  Milliseconds (0 - 999)   // Compute the number of days since 1/1/1970 to the beginning of this year.   long daysToYear = ((year - 1970) * 365) // Tally up previous years.                   + ((year - 1969) >> 2); // Add few extra for the leap years.   // Compute the number of days since the beginning of this year to the   // beginning of the month.  We will add to this value to get the actual   // year day.   long yearDay = IS_LEAP_YEAR(year) ? M2LYD[pst->wMonth - 1] :                                       M2YD [pst->wMonth - 1];   // Check for day-in-month format.   if (pst->wYear == 0) {      // Compute the week day for the first day of the month (Sunday == 0).      long monthDOW = (daysToYear + yearDay + BASE_DOW) % 7;      // Add the day offset of the transition day to the year day.      if (monthDOW < pst->wDayOfWeek) {         yearDay += (pst->wDayOfWeek - monthDOW) + (pst->wDay - 1) * 7;      } else {         yearDay += (pst->wDayOfWeek - monthDOW) + pst->wDay * 7;      }      // It is possible that we overshot the month, especially if pst->wDay      // is 5 (which means the last instance of the day in the month). Check      // if the year-day has exceeded the month and adjust accordingly.      if ((pst->wDay == 5) &&          (yearDay >= (IS_LEAP_YEAR(year) ? M2LYD[pst->wMonth] :                                            M2YD [pst->wMonth])))      {         yearDay -= 7;      }   // If not day-in-month format, then we assume an absolute date.   } else {      // Simply add the month day to the current year day.      yearDay += pst->wDay - 1;   }   // Tally up all our days, hours, minutes, and seconds since 1970.   long seconds = ((SECONDS_IN_A_DAY * (daysToYear + yearDay)) +                   (3600L * (long)pst->wHour) +                   (60L * (long)pst->wMinute) +                   (long)pst->wSecond);   // If we are checking for the end of DST, then we need to add the DST bias   // since we are in DST when we chack this time stamp.   if (!fStartDST) {      seconds += ptzi->DaylightBias * 60L;   }   return (time_t)seconds;}//******************************************************************************BOOL IsDST(TIME_ZONE_INFORMATION *ptzi, time_t localTime) {   // If either of the months is 0, then this usually means that the time zone   // does not use DST.  Unfortunately, Windows CE since it has a bug where it   // never really fills in these fields with the correct values, so it appears   // like we are never in DST.  This is supposed to be fixed in future releases,   // so hopefully this code will get some use then.   if ((ptzi->StandardDate.wMonth == 0) || (ptzi->DaylightDate.wMonth == 0)) {      return FALSE;   }   // time_t   is a 32-bit value for the seconds since January 1, 1970   // FILETIME is a 64-bit value for the number of 100-nanosecond intervals   //          since January 1, 1601   // Compute the FILETIME for the given local time.   DWORDLONG dwl = ((DWORDLONG)116444736000000000 +                   ((DWORDLONG)localTime * (DWORDLONG)10000000));   FILETIME ft = *(FILETIME*)&dwl;   // Convert the FILETIME to a SYSTEMTIME.   SYSTEMTIME st;   ZeroMemory(&st, sizeof(st));   FileTimeToSystemTime(&ft, &st);   // Get our start and end daylight savings times.   time_t timeStart = GetTransitionTimeT(ptzi, (int)st.wYear, TRUE);   time_t timeEnd   = GetTransitionTimeT(ptzi, (int)st.wYear, FALSE);   // Check what hemisphere we are in.   if (timeStart < timeEnd) {      // Northern hemisphere ordering.      return ((localTime >= timeStart) && (localTime < timeEnd));   } else if (timeStart > timeEnd) {      // Southern hemisphere ordering.      return ((localTime < timeEnd) || (localTime >= timeStart));   }   // If timeStart equals timeEnd then this time zone does not support DST.   return FALSE;}#endif // _WIN32_WCE

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
久久众筹精品私拍模特| 欧美精品久久99| 日av在线不卡| 成人欧美一区二区三区白人| 精品国产伦一区二区三区免费| 99re66热这里只有精品3直播| 久久精品国产免费| 亚洲最大的成人av| 国产精品私人影院| 欧美成人r级一区二区三区| 日本高清无吗v一区| 国产精品系列在线观看| 免费观看91视频大全| 一区二区三区日韩精品视频| 亚洲色图视频网站| 精品国产乱码久久久久久图片| 91美女在线视频| 成人免费视频国产在线观看| 精品一区二区三区久久久| 五月开心婷婷久久| 亚洲一区二区影院| 亚洲精品日韩综合观看成人91| 久久久国产午夜精品| 精品日韩99亚洲| 日韩欧美视频一区| 欧美日韩的一区二区| 91精品办公室少妇高潮对白| 成人av资源网站| 成人一二三区视频| 国产高清不卡一区二区| 九一久久久久久| 免费av成人在线| 免费成人在线视频观看| 日韩不卡一区二区三区| 中文字幕在线观看一区二区| 中文字幕乱码日本亚洲一区二区 | 久久先锋影音av鲁色资源| 777欧美精品| 欧美一区永久视频免费观看| 欧美视频日韩视频| 欧美影视一区在线| 欧美色图激情小说| 欧美日精品一区视频| 欧美网站大全在线观看| 欧美在线999| 欧美日韩国产精选| 欧美精品18+| 欧美成人三级电影在线| 久久综合久久久久88| 国产性色一区二区| 国产精品久久毛片| 一区二区三区精品在线观看| 亚洲国产一区二区三区| 亚洲福利一区二区三区| 蜜桃视频第一区免费观看| 老色鬼精品视频在线观看播放| 极品尤物av久久免费看| 国产成人免费网站| av亚洲精华国产精华精华 | 精品视频在线免费观看| 欧美在线视频全部完| 欧美日韩精品综合在线| 欧美福利电影网| 久久综合九色欧美综合狠狠 | 精品视频在线免费观看| 欧美一区二区三区视频在线| 久久久久久久久蜜桃| 国产精品免费看片| 亚洲国产va精品久久久不卡综合| 天堂蜜桃一区二区三区 | 国产电影精品久久禁18| av电影在线不卡| 欧美老肥妇做.爰bbww视频| 日韩欧美成人午夜| 国产精品天天看| 天堂va蜜桃一区二区三区| 久草中文综合在线| 99re热这里只有精品视频| 91麻豆精品国产91久久久久| 国产色爱av资源综合区| 一区二区三区四区在线免费观看 | 欧美电影在哪看比较好| 国产午夜亚洲精品羞羞网站| 亚洲影视资源网| 国产精品自拍三区| 欧美日韩国产综合一区二区| www日韩大片| 亚洲午夜久久久| 国产99久久久国产精品潘金网站| 精品视频在线免费看| 欧美激情一区二区| 日韩中文字幕麻豆| 99久久精品国产导航| 91精品在线观看入口| 亚洲婷婷综合久久一本伊一区| 日韩黄色免费网站| heyzo一本久久综合| 欧美成人性战久久| 亚洲高清免费观看高清完整版在线观看| 国产在线精品免费| 欧美精品一卡二卡| 亚洲色图欧美激情| 国产精品一区免费在线观看| 欧美另类久久久品| 日韩美女视频一区二区| 国产在线看一区| 777奇米成人网| 亚洲黄色小说网站| 成人午夜短视频| 精品久久久久久久久久久久久久久| 亚洲综合视频在线| 成人动漫av在线| 国产亚洲1区2区3区| 伦理电影国产精品| 欧美日韩高清一区二区不卡| 国产日产精品一区| 久久精品国产第一区二区三区| 欧美日韩激情一区二区三区| 亚洲日本护士毛茸茸| 国产成人精品影院| 精品理论电影在线| 久久精品国产精品亚洲综合| 欧美丰满少妇xxxbbb| 一区二区免费在线| 色综合久久久网| 亚洲同性同志一二三专区| 成人福利在线看| 一区二区高清在线| av福利精品导航| 国产精品国产馆在线真实露脸| 国产精品正在播放| 久久噜噜亚洲综合| 国产高清不卡二三区| 国产欧美精品在线观看| 国产精品一区在线观看你懂的| 337p粉嫩大胆噜噜噜噜噜91av| 蜜桃91丨九色丨蝌蚪91桃色| 欧美一区二视频| 日本欧美加勒比视频| 欧美一级片在线| 老司机精品视频导航| 99精品在线免费| 亚洲乱码国产乱码精品精可以看| 91丨porny丨首页| 亚洲激情男女视频| 欧美日本在线视频| 秋霞午夜av一区二区三区| 欧美一区二区三区视频在线| 奇米在线7777在线精品| 日韩美女视频一区二区在线观看| 青青草视频一区| 久久一留热品黄| gogogo免费视频观看亚洲一| 亚洲免费在线播放| 欧美三级日韩三级国产三级| 免费成人结看片| 久久久久久免费| heyzo一本久久综合| 亚洲va欧美va国产va天堂影院| 在线成人小视频| 国产在线一区观看| 亚洲人午夜精品天堂一二香蕉| 欧美午夜不卡在线观看免费| 蜜桃视频第一区免费观看| 久久久久成人黄色影片| 色狠狠av一区二区三区| 亚洲国产成人91porn| 久久一留热品黄| 一本色道久久综合精品竹菊| 偷窥少妇高潮呻吟av久久免费| 欧美大肚乱孕交hd孕妇| 成人丝袜视频网| 亚洲成人午夜电影| 26uuu国产电影一区二区| 99麻豆久久久国产精品免费| 亚洲成a人片在线不卡一二三区| 欧美大肚乱孕交hd孕妇| 99精品视频在线观看免费| 天天爽夜夜爽夜夜爽精品视频| 久久综合久久鬼色中文字| 欧美亚洲日本国产| 国产美女视频91| 亚洲夂夂婷婷色拍ww47| 欧美精品一区视频| 色一情一伦一子一伦一区| 国产主播一区二区| 亚洲一区二区在线免费观看视频| 久久人人97超碰com| 欧美亚洲禁片免费| 国产精品99久久久久久宅男| 亚洲444eee在线观看| 中文字幕电影一区| 777午夜精品免费视频| 91老司机福利 在线| 国产一本一道久久香蕉| 婷婷久久综合九色综合绿巨人| 欧美国产一区视频在线观看| 欧美肥大bbwbbw高潮| 91久久奴性调教| 丁香婷婷综合激情五月色|