DirFile.h
上传用户:hbzxgg2
上传日期:2009-03-28
资源大小:291k
文件大小:1k
- #pragma once
- #include "global.h"
- DLL_INTERNAL int WriteDataToFile(LPCTSTR filename,void* data,long size,LPCTSTR mode, int nStartPos=-1 );
- DLL_INTERNAL int ReadDataFromFile(LPCTSTR filename,void* data,long size, int nStartPos=-1);
- DLL_INTERNAL CString StandardizationFileForPathName ( LPCTSTR lpszFileOrPathName, BOOL bIsFileName, char cReplaceChar=_T('_') );
- DLL_INTERNAL void StandardizationPathBuffer ( LPTSTR szPath, int nSize, TCHAR cFlagChar=_T('\') );
- DLL_INTERNAL CString StandardizationPathBuffer ( LPTSTR lpszPath, TCHAR cFlagChar=_T('\') );
- DLL_INTERNAL BOOL PartFileAndPathByFullPath (
- IN LPCTSTR lpszFilePath,
- OUT TCHAR *szOnlyFileName,
- int nFileNameSize,
- OUT TCHAR *szOnlyPath =NULL,
- int nPathSize=0
- );
- DLL_INTERNAL int hwGetFileAttr ( LPCTSTR lpFileName, DWORD *p_dwCreateTime=NULL );