00001 #ifndef MemoryCardDriverThreaded_Windows_H 00002 #define MemoryCardDriverThreaded_Windows_H 1 00003 00004 #include "MemoryCardDriverThreaded.h" 00005 #include <windows.h> 00006 00007 class MemoryCardDriverThreaded_Windows : public MemoryCardDriverThreaded 00008 { 00009 public: 00010 MemoryCardDriverThreaded_Windows(); 00011 virtual ~MemoryCardDriverThreaded_Windows(); 00012 00013 virtual void Unmount( UsbStorageDevice* pDevice, CString sMountPoint ); 00014 virtual void Flush( UsbStorageDevice* pDevice ); 00015 protected: 00016 virtual void Mount( UsbStorageDevice* pDevice, CString sMountPoint ); 00017 virtual void ResetUsbStorage(); 00018 virtual void MountThreadDoOneUpdate(); 00019 virtual bool MountThreadWaitForUpdate(); 00020 00021 DWORD m_dwLastLogicalDrives; 00022 }; 00023 00024 #endif 00025 00026 /* 00027 * (c) 2003-2004 Chris Danford 00028 * All rights reserved. 00029 * 00030 * Permission is hereby granted, free of charge, to any person obtaining a 00031 * copy of this software and associated documentation files (the 00032 * "Software"), to deal in the Software without restriction, including 00033 * without limitation the rights to use, copy, modify, merge, publish, 00034 * distribute, and/or sell copies of the Software, and to permit persons to 00035 * whom the Software is furnished to do so, provided that the above 00036 * copyright notice(s) and this permission notice appear in all copies of 00037 * the Software and that both the above copyright notice(s) and this 00038 * permission notice appear in supporting documentation. 00039 * 00040 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 00041 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 00042 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF 00043 * THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS 00044 * INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT 00045 * OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS 00046 * OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR 00047 * OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 00048 * PERFORMANCE OF THIS SOFTWARE. 00049 */