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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? intrface.cpp

?? zip壓縮
?? CPP
?? 第 1 頁 / 共 4 頁
字號:
   // flush the file.  We need to flush, because any unsaved data that is   // written to the file during CloseHandle() will step on the work done   // by SetFileTime().   HANDLE hFile = (HANDLE)pG->outfile;   FlushFileBuffers(hFile);#else   // Close the file and then re-open it using the Win32 CreateFile() call.   // SetFileTime() requires a Win32 file HANDLE created with GENERIC_WRITE   // access.   fclose(pG->outfile);   HANDLE hFile = CreateFile(szFile, GENERIC_WRITE, FILE_SHARE_WRITE, NULL,                             OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL);#endif   // Set the file's date and time.   if (hFile != INVALID_HANDLE_VALUE) {      // Make sure we retrieved some valid time stamp(s)      if (timeFlags) {         // Set the various date and time fields.         if (!SetFileTime(hFile,                 (timeFlags & EB_UT_FL_CTIME) ? &ftCreated  : NULL,                 (timeFlags & EB_UT_FL_ATIME) ? &ftAccessed : NULL,                 (timeFlags & EB_UT_FL_MTIME) ? &ftModified : NULL))         {            DebugOut(TEXT("SetFileTime() failed [%u]"), GetLastError());         }      } else {         DebugOut(TEXT("GetFileTimes() failed"));      }      // Close out file.      CloseHandle(hFile);   } else {      DebugOut(TEXT("CreateFile() failed [%u]"), GetLastError());   }   // If the file was successfully written, then set the attributes.   if (!pG->disk_full && !g_pExtractInfo->fAbort) {      if (!SetFileAttributes(szFile, G.pInfo->file_attr & 0x7F)) {         DebugOut(TEXT("SetFileAttributes() failed [%u]"), GetLastError());      }   }   // Clear outfile so we know it is closed.   pG->outfile = 0;   return;}//******************************************************************************// Called by PROCESS.Cchar* do_wild(Uz_Globs *pG, ZCONST char *wildspec) {   // This is a very slimmed down version of do_wild() taken from WIN32.C.   // Since we don't support wildcards, we basically just return the wildspec   // passed in as the filename.   // First call - must initialize everything.   if (!pG->notfirstcall) {      pG->notfirstcall = TRUE;      return strcpy(pG->matchname, wildspec);   }   // Last time through - reset for new wildspec.   pG->notfirstcall = FALSE;   return (char*)NULL;}//******************************************************************************// Called from EXTRACT.C//// returns://  MPN_OK          - no problem detected//  MPN_INF_TRUNC   - (on APPEND_NAME) truncated filename//  MPN_INF_SKIP    - path doesn't exist, not allowed to create//  MPN_ERR_SKIP    - path doesn't exist, tried to create and failed; or path//                    exists and is not a directory, but is supposed to be//  MPN_ERR_TOOLONG - path is too long//  MPN_NOMEM       - can't allocate memory for filename buffers////  MPN_VOL_LABEL   - Path was a volume label, skip it.//  MPN_CREATED_DIR - Created a directory.//int mapname(Uz_Globs *pG, int renamed) {   int error = MPN_OK;   // mapname() is a great place to reset all our status counters for the next   // file to be processed since it is called for every zip file member before   // any work is done with that member.   SetCurrentFile(pG);   // If Volume Label, skip the "extraction" quietly   if (pG->pInfo->vollabel) {      return MPN_VOL_LABEL;   }   CHAR szBuffer[countof(pG->filename)] = "", *pIn, *pOut, *pLastSemi = NULL;   CHAR *pPathComp;   int killed_ddot = FALSE;   // Initialize file path buffer with our "extract to" path.   strcpy(szBuffer, g_szExtractToDirectory);   pOut = szBuffer + strlen(szBuffer);   pPathComp = pOut;   // Point pIn to beginning of our internal pathname.   // If we are junking paths, then locate the file portion of the path.   pIn = (pG->UzO.jflag) ? (CHAR*)GetFileFromPath(pG->filename) : pG->filename;   // Begin main loop through characters in filename.   for ( ; *pIn; INCSTR(pIn)) {      // Make sure we don't overflow our output buffer.      if (pOut >= (szBuffer + countof(szBuffer) - 2)) {         Info(slide, 1, ((char*)slide, "path too long: %s\n",           FnFilter1(pG->filename)));         return MPN_ERR_TOOLONG;      }      // Examine the next character in our input buffer.      switch (*pIn) {         // Check for a directory wack.         case '/':         case '\\':            *pOut = '\0';            if (!SmartCreateDirectory(pG, szBuffer)) {               Info(slide, 1, ((char*)slide, "failure extracting: %s\n",                    FnFilter1(pG->filename)));               return MPN_ERR_SKIP;            }            *(pOut++) = '\\';            pPathComp = pOut;  // Remember start pos of new path component            pLastSemi = NULL;  // Leave any directory semi-colons alone            break;         // Check for dir traversals and skip them unless explicitely allowed.         case '.':             if (pOut == pPathComp) {   // nothing appended yet...               if (pIn[1] == '/') {     // don't bother appending "./" to                  ++pIn;                //  the path: skip behind the '/'                  break;               } else if (!uO.ddotflag && pIn[1] == '.' && pIn[2] == '/') {                  /* "../" dir traversal detected */                  pIn += 2;             //  skip over behind the '/'                  killed_ddot = TRUE;   //  set "show message" flag                  break;               }            }            *(pOut++) = '.';            break;         // Check for illegal characters and replace with underscore.         case ':':         case '*':         case '?':         case '"':         case '<':         case '>':         case '|':            *(pOut++) = '_';            break;         // Check for start of VMS version.         case ';':            pLastSemi = pOut;  // Make note as to where we are.            *(pOut++) = *pIn;  // Leave the semi-colon alone for now.            break;         default:            // Allow European characters and spaces in filenames.#ifdef _MBCS            if ((UCHAR)*pIn >= 0x20) {                memcpy(pOut, pIn, CLEN(pIn));                INCSTR(pOut);            } else {                *(pOut++) = '_';            }#else            *(pOut++) = (((UCHAR)*pIn >= 0x20) ? *pIn : '_');#endif      }   }   // Done with output buffer, terminate it.   *pOut = '\0';   // Remove any VMS version numbers if found (appended ";###").   if (pLastSemi) {      // Walk over all digits following the semi-colon.      for (pOut = pLastSemi + 1; (*pOut >= '0') && (*pOut <= '9'); pOut++) {      }      // If we reached the end, then nuke the semi-colon and digits.      if (!*pOut) {         *pLastSemi = '\0';      }   }    // Show warning when stripping insecure "parent dir" path components    if (killed_ddot && QCOND2) {        Info(slide, 0, ((char *)slide,          "warning:  skipped \"../\" path component(s) in %s\n",          FnFilter1(G.filename)));        if (!(error & ~MPN_MASK))            error = (error & MPN_MASK) | PK_WARN;    }   // Copy the mapped name back to the internal path buffer   strcpy(pG->filename, szBuffer);   // Fill in the mapped name buffer if the original caller requested us to.   if (g_pExtractInfo->szMappedPath) {      strcpy(g_pExtractInfo->szMappedPath, szBuffer);   }   // If it is a directory, then display the "creating" status text.   if ((pOut > szBuffer) && (lastchar(szBuffer, pOut-szBuffer) == '\\')) {      Info(slide, 0, ((char *)slide, "creating: %s\n",        FnFilter1(pG->filename)));      return (error & ~MPN_MASK) | MPN_CREATED_DIR;   }   return error;}//******************************************************************************// Called from EXTRACT.Cint test_NT(Uz_Globs *pG, uch *eb, unsigned eb_size) {   // This function is called when an NT security descriptor is found in the   // extra field.  We have nothing to do, so we just return success.   return PK_OK;}//******************************************************************************// Called from PROCESS.Cint checkdir(Uz_Globs *pG, char *pathcomp, int flag) {   // This function is only called by free_G_buffers() from PROCESS.C with the   // flag set to END.  We have nothing to do, so we just return success.   return MPN_OK;}//******************************************************************************// Called from EXTRACT.C and LIST.Cint match(ZCONST char *string, ZCONST char *pattern, int ignore_case) {   // match() for the other ports compares a file in the Zip file with some   // command line file pattern.  In our case, we always pass in exact matches,   // so we can simply do a string compare to see if we have a match.   return (strcmp(string, pattern) == 0);}//******************************************************************************// Called from PROCESS.Cint iswild(ZCONST char *pattern) {   // Our file patterns never contain wild characters.  They are always exact   // matches of file names in our Zip file.   return FALSE;}//******************************************************************************//***** Functions to correct time stamp bugs on old file systems.//******************************************************************************//******************************************************************************// Borrowed/Modified from win32.cBOOL IsOldFileSystem(char *szPath) {#ifdef _WIN32_WCE   char szRoot[10];   // Get the first nine characters of the path.   strncpy(szRoot, szPath, 9);   szRoot[9] = '\0';   // Convert to uppercase to help with compare.   _strupr(szRoot);   // PC Cards are mounted off the root in a directory called "\PC Cards".   // PC Cards are FAT, no CEOS.  We need to check if the file is being   // extracted to the PC card.   return !strcmp(szRoot, "\\PC CARD\\");#else   char szRoot[_MAX_PATH] = "\0\0\0", szFS[64];   // Check to see if our path contains a drive letter.   if (isalpha(szPath[0]) && (szPath[1] == ':') && (szPath[2] == '\\')) {      // If so, then just copy the drive letter, colon, and wack to our root path.      strncpy(szRoot, szPath, 3);   } else {      // Expand the path so we can get a drive letter.      GetFullPathNameA(szPath, sizeof(szRoot), szRoot, NULL);      // Make sure we actually got a drive letter back in our root path buffer..      if (!isalpha(szRoot[0]) || (szRoot[1] != ':') || (szRoot[2] != '\\')) {         // When in doubt, return TRUE.         return TRUE;      }   }   // NULL terminate after the wack to ensure we have just the root path.   szRoot[3] = '\0';   // Get the file system type string.   GetVolumeInformationA(szRoot, NULL, 0, NULL, NULL, NULL, szFS, sizeof(szFS));   // Ensure that the file system type string is uppercase.   _strupr(szFS);   // Return true for (V)FAT and (OS/2) HPFS format.   return !strncmp(szFS, "FAT",  3) ||          !strncmp(szFS, "VFAT", 4) ||          !strncmp(szFS, "HPFS", 4);#endif // _WIN32_WCE}//******************************************************************************//***** Functions to supply timezone information from the Windows registry to//***** Info-ZIP's private RTL "localtime() et al." replacements in timezone.c.//******************************************************************************//******************************************************************************// Copied from win32.c#ifdef W32_USE_IZ_TIMEZONE#include "timezone.h"#define SECSPERMIN      60#define MINSPERHOUR     60#define SECSPERHOUR     (SECSPERMIN * MINSPERHOUR)static void conv_to_rule(LPSYSTEMTIME lpw32tm, struct rule * ZCONST ptrule);static void conv_to_rule(LPSYSTEMTIME lpw32tm, struct rule * ZCONST ptrule){    if (lpw32tm->wYear != 0) {        ptrule->r_type = JULIAN_DAY;        ptrule->r_day = ydays[lpw32tm->wMonth - 1] + lpw32tm->wDay;    } else {        ptrule->r_type = MONTH_NTH_DAY_OF_WEEK;        ptrule->r_mon = lpw32tm->wMonth;        ptrule->r_day = lpw32tm->wDayOfWeek;        ptrule->r_week = lpw32tm->wDay;    }    ptrule->r_time = (long)lpw32tm->wHour * SECSPERHOUR +                     (long)(lpw32tm->wMinute * SECSPERMIN) +                     (long)lpw32tm->wSecond;}int GetPlatformLocalTimezone(register struct state * ZCONST sp,        void (*fill_tzstate_from_rules)(struct state * ZCONST sp_res,                                        ZCONST struct rule * ZCONST start,                                        ZCONST struct rule * ZCONST end)){    TIME_ZONE_INFORMATION tzinfo;    DWORD res;    /* read current timezone settings from registry if TZ envvar missing */    res = GetTimeZoneInformation(&tzinfo);    if (res != TIME_ZONE_ID_INVALID)    {        struct rule startrule, stoprule;        conv_to_rule(&(tzinfo.StandardDate), &stoprule);        conv_to_rule(&(tzinfo.DaylightDate), &startrule);        sp->timecnt = 0;        sp->ttis[0].tt_abbrind = 0;        if ((sp->charcnt =             WideCharToMultiByte(CP_ACP, 0, tzinfo.StandardName, -1,                                 sp->chars, sizeof(sp->chars), NULL, NULL))            == 0)            sp->chars[sp->charcnt++] = '\0';        sp->ttis[1].tt_abbrind = sp->charcnt;        sp->charcnt +=            WideCharToMultiByte(CP_ACP, 0, tzinfo.DaylightName, -1,                                sp->chars + sp->charcnt,                                sizeof(sp->chars) - sp->charcnt, NULL, NULL);        if ((sp->charcnt - sp->ttis[1].tt_abbrind) == 0)            sp->chars[sp->charcnt++] = '\0';        sp->ttis[0].tt_gmtoff = - (tzinfo.Bias + tzinfo.StandardBias)                                * MINSPERHOUR;        sp->ttis[1].tt_gmtoff = - (tzinfo.Bias + tzinfo.DaylightBias)                                * MINSPERHOUR;        sp->ttis[0].tt_isdst = 0;        sp->ttis[1].tt_isdst = 1;        sp->typecnt = (startrule.r_mon == 0 && stoprule.r_mon == 0) ? 1 : 2;        if (sp->typecnt > 1)            (*fill_tzstate_from_rules)(sp, &startrule, &stoprule);        return TRUE;    }    return FALSE;}#endif /* W32_USE_IZ_TIMEZONE */

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲精品视频在线观看网站| 日日嗨av一区二区三区四区| 欧美美女一区二区在线观看| 国产成人免费av在线| 日韩黄色小视频| 亚洲精品一二三四区| 国产欧美一区二区精品仙草咪| 欧美日韩综合在线| 成人av一区二区三区| 国产一区二区三区四| 美女视频黄免费的久久| 亚洲一级二级三级| 亚洲美女在线国产| 中文字幕一区二区三中文字幕| 欧美tickling网站挠脚心| 欧美性xxxxx极品少妇| 99久久精品久久久久久清纯| 国产露脸91国语对白| 美女在线观看视频一区二区| 亚洲国产aⅴ天堂久久| 亚洲精品水蜜桃| 国产精品不卡在线观看| 欧美国产日产图区| 久久女同精品一区二区| 欧美精品一区视频| 精品久久久久99| 日韩免费电影网站| 在线不卡中文字幕| 欧美日韩国产bt| 欧美日韩免费一区二区三区视频| 91丨九色丨蝌蚪丨老版| 成人免费视频caoporn| 成人永久aaa| 不卡视频免费播放| 91污在线观看| 色综合久久88色综合天天| 99久久99久久精品免费观看| 99久久夜色精品国产网站| 色综合中文字幕国产| 色婷婷久久一区二区三区麻豆| 97久久精品人人爽人人爽蜜臀| 99久久免费精品高清特色大片| 91在线视频观看| 91国内精品野花午夜精品| 色噜噜狠狠色综合中国| 欧美在线色视频| 欧美日韩国产精选| 日韩一区二区不卡| 久久人人超碰精品| 国产精品免费看片| 亚洲六月丁香色婷婷综合久久| 亚洲综合无码一区二区| 天天色图综合网| 激情综合五月天| www.性欧美| 精品视频一区三区九区| 91精品国产丝袜白色高跟鞋| 欧美大片国产精品| 国产精品麻豆视频| 一级女性全黄久久生活片免费| 亚洲成a人片在线不卡一二三区| 蜜臀a∨国产成人精品| 国产成人在线影院| 91蝌蚪porny| 欧美一区日本一区韩国一区| 久久久久国产精品人| ㊣最新国产の精品bt伙计久久| 亚洲一区二区在线播放相泽| 日本va欧美va瓶| 成人av在线网| 欧美图片一区二区三区| 精品国产一区二区亚洲人成毛片| 久久精品亚洲麻豆av一区二区 | 99久久99久久久精品齐齐| 91成人网在线| 日韩精品一区二| 亚洲三级小视频| 蜜桃视频一区二区| 99精品国产91久久久久久| 91精品国产一区二区人妖| 国产精品九色蝌蚪自拍| 亚洲成人动漫一区| 粉嫩绯色av一区二区在线观看| 在线欧美小视频| 精品乱人伦小说| 中文字幕五月欧美| 91久久免费观看| av在线不卡网| 91精品在线麻豆| 亚洲区小说区图片区qvod| 久久精品国产色蜜蜜麻豆| 色悠悠久久综合| 久久久久久久久蜜桃| 亚洲成a人v欧美综合天堂| 国产a区久久久| 欧美一卡二卡三卡四卡| 亚洲欧美另类图片小说| 国产精品资源在线看| 欧美电影一区二区| 亚洲人成亚洲人成在线观看图片 | 国产91丝袜在线18| 日韩一级黄色片| 一区二区三区在线视频免费观看| 国内精品免费在线观看| 欧美日韩国产一级| 亚洲欧美另类综合偷拍| 大白屁股一区二区视频| 欧美一区二区三区系列电影| 亚洲欧美日韩中文播放| 国产成人在线视频播放| 精品美女在线播放| 日本va欧美va精品发布| 欧美日韩一区二区电影| 一区二区三区国产精品| 91亚洲精品久久久蜜桃网站| 亚洲国产精品精华液ab| 国产综合色在线| 欧美videos大乳护士334| 日韩 欧美一区二区三区| 欧美三级中文字幕| 亚洲一区二区三区四区不卡| 91老师片黄在线观看| 国产精品灌醉下药二区| 成人免费毛片片v| 国产三区在线成人av| 韩国毛片一区二区三区| 日韩久久免费av| 久久国产日韩欧美精品| 91精品国产黑色紧身裤美女| 亚洲一区av在线| 欧美视频中文字幕| 一区二区三区波多野结衣在线观看 | 国产精品自拍在线| 久久久久久久久久久久久久久99| 韩国一区二区在线观看| 国产亚洲人成网站| 国产电影精品久久禁18| 久久久久久久电影| www.亚洲国产| 亚洲久本草在线中文字幕| 在线这里只有精品| 调教+趴+乳夹+国产+精品| 欧美一级高清大全免费观看| 久久精品久久99精品久久| 久久尤物电影视频在线观看| 国内国产精品久久| 国产精品美女久久福利网站| jvid福利写真一区二区三区| 中文字幕字幕中文在线中不卡视频| 色综合久久88色综合天天| 亚洲电影一级黄| 日韩精品一区二区三区中文精品| 黄色资源网久久资源365| 久久嫩草精品久久久精品一| 欧美日韩国产另类一区| 日本不卡123| 国产欧美精品在线观看| av不卡一区二区三区| 五月婷婷综合激情| 久久免费午夜影院| 色综合激情五月| 日本欧美韩国一区三区| 久久影院午夜论| 99国产精品视频免费观看| 亚洲综合一区二区精品导航| 欧美久久久影院| 国产在线精品一区二区| 亚洲视频一区在线观看| 91精品欧美久久久久久动漫| 久久精品国产成人一区二区三区| 中文字幕欧美激情| 欧美午夜理伦三级在线观看| 久久福利资源站| 亚洲欧美视频在线观看视频| 555www色欧美视频| 国产aⅴ综合色| 亚洲成a人片在线观看中文| 久久久99久久| 欧美日韩免费一区二区三区视频| 国产伦理精品不卡| 亚洲国产视频网站| 亚洲国产激情av| 91麻豆精品国产综合久久久久久 | 91国产福利在线| 久久国产精品72免费观看| 1000部国产精品成人观看| 欧美videos大乳护士334| 欧洲国产伦久久久久久久| 国产成人精品亚洲日本在线桃色| 亚洲国产日产av| 中文字幕一区二区三区精华液 | 国产91精品欧美| 五月婷婷久久丁香| 国产精品乱人伦| 日韩精品一区二区三区视频| 91久久久免费一区二区| 高清国产午夜精品久久久久久| 日本中文字幕一区| 亚洲影视在线播放| 亚洲色图视频网|