F FIRE_FOX Unregistered / Unconfirmed GUEST, unregistred user! 2000-08-29 #1 即使“破产”我也要问这个问题了,肯请各位同仁帮忙! 在WINDOWS98中如何检测文件夹的属性?如果用WINDOWS API函数,是哪一个?我 找了许多资料,均以失败告终。
B brightangel Unregistered / Unconfirmed GUEST, unregistred user! 2000-08-30 #2 GetFileAttributes( LPCTSTR lpFileName // address of the name of a file or directory );
宋 宋远午 Unregistered / Unconfirmed GUEST, unregistred user! 2000-08-30 #4 WINSHELLAPI DWORD WINAPI SHGetFileInfo( LPCSTR pszPath, DWORD dwFileAttributes, SHFILEINFO FAR *psfi, UINT cbFileInfo, UINT uFlags ); Retrieves information about an object in the file system, such as a file, a folder, a directory, or a drive root.
WINSHELLAPI DWORD WINAPI SHGetFileInfo( LPCSTR pszPath, DWORD dwFileAttributes, SHFILEINFO FAR *psfi, UINT cbFileInfo, UINT uFlags ); Retrieves information about an object in the file system, such as a file, a folder, a directory, or a drive root.