Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
623 B

  1. #include "shellprv.h"
  2. #pragma hdrstop
  3. #include "mtptr.h"
  4. /////////////////////////////////////////////////////////////////////////////
  5. //
  6. /////////////////////////////////////////////////////////////////////////////
  7. BOOL CMtPtRemote::_IsRemote()
  8. {
  9. return TRUE;
  10. }
  11. BOOL CMtPtRemote::_IsSlow()
  12. {
  13. BOOL fRet = FALSE;
  14. DWORD dwSpeed = _GetPathSpeed();
  15. if ((0 != dwSpeed) && (dwSpeed <= SPEED_SLOW))
  16. {
  17. fRet = TRUE;
  18. }
  19. TraceMsg(TF_MOUNTPOINT, "static CMountPoint::_IsSlow: for '%s'", _GetNameDebug());
  20. return fRet;
  21. }
  22. BOOL CMtPtRemote::_IsAutorun()
  23. {
  24. return _pshare->fAutorun;
  25. }