windows-nt/Source/XPSP1/NT/shell/shell32/mtptris.cpp

32 lines
623 B
C++
Raw Normal View History

2020-09-26 03:20:57 -05:00
#include "shellprv.h"
#pragma hdrstop
#include "mtptr.h"
/////////////////////////////////////////////////////////////////////////////
//
/////////////////////////////////////////////////////////////////////////////
BOOL CMtPtRemote::_IsRemote()
{
return TRUE;
}
BOOL CMtPtRemote::_IsSlow()
{
BOOL fRet = FALSE;
DWORD dwSpeed = _GetPathSpeed();
if ((0 != dwSpeed) && (dwSpeed <= SPEED_SLOW))
{
fRet = TRUE;
}
TraceMsg(TF_MOUNTPOINT, "static CMountPoint::_IsSlow: for '%s'", _GetNameDebug());
return fRet;
}
BOOL CMtPtRemote::_IsAutorun()
{
return _pshare->fAutorun;
}