MEMORYSTATUSEX memStatus;
DWORD maxMemoryCacheSize;
-#if 0
- /*
- * For now disable the memory extent interface because there
- * have been reports of data corruption.
- */
memStatus.dwLength = sizeof(memStatus);
if (GlobalMemoryStatusEx(&memStatus)) {
/*
*/
maxMemoryCacheSize = 65536;
}
-#else
- maxMemoryCacheSize = 0;
-#endif
*pRedirInitInfoLen = (DWORD) (sizeof(AFSRedirectorInitInfo) + (cm_CachePathLen + TempPathLen) * sizeof(WCHAR));
*ppRedirInitInfo = (AFSRedirectorInitInfo *)malloc(*pRedirInitInfoLen);
*/
StringCchCopyNW(wszName, cbName, _C(CM_PREFIX_VOL), CM_PREFIX_VOL_CCH);
StringCbCatNW(wszName, cbName, FileName, FileNameLength);
- cm_strlwr_utf16(wszName);
bVol = TRUE;
code = cm_EvaluateVolumeReference(wszName, CM_FLAG_CHECKPATH, userp, &req, &scp);