TABLE.H
资源名称:MSDN_VC98.zip [点击查看]
上传用户:bangxh
上传日期:2007-01-31
资源大小:42235k
文件大小:1k
源码类别:
Windows编程
开发平台:
Visual C++
- // TABLE.H
- #ifndef TABLE_INCLUDED
- #define TABLE_INCLUDED
- typedef struct elem {
- LPTSTR displayed;
- LPTSTR hidden;
- struct elem *next;
- } ELEM;
- typedef struct table {
- ELEM *pCurrentFiles;
- INT iNumElems;
- } *TABLE;
- TABLE TableNew (VOID);
- BOOL TableFree (TABLE);
- BOOL TableAdd (TABLE, LPTSTR, LPTSTR);
- BOOL TableInsert (TABLE, LPTSTR, LPTSTR, INT);
- BOOL TableRemove (TABLE, INT);
- BOOL TableSort (TABLE, INT compare(LPCTSTR, LPCTSTR));
- BOOL TableSend (TABLE, HWND);
- BOOL TableGetHidden (TABLE, INT, LPTSTR);
- BOOL SimplifyFileName (LPTSTR, LPTSTR);
- VOID CheckHeap (LPTSTR);
- INT CFilerlstrcmp (LPCTSTR, LPCTSTR);
- INT GetSize (TABLE);
- BOOL ReplaceEscapeCharacters (LPTSTR, LPTSTR);
- BOOL TableFind (TABLE, LPTSTR);
- #endif