Changeset 33 for trunk/include/helpers
- Timestamp:
- Feb 7, 2001, 7:30:59 PM (25 years ago)
- Location:
- trunk/include/helpers
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/helpers/prfh.h
r22 r33 39 39 /* common error codes used by the prfh* functions */ 40 40 41 #define PRFERR_DATASIZE 10001 // couldn't query data size for key42 #define PRFERR_READ 10003 // couldn't read data from source (PrfQueryProfileData error)43 #define PRFERR_WRITE 10004 // couldn't write data to target (PrfWriteProfileData error)44 #define PRFERR_APPSLIST 10005 // couldn't query apps list45 #define PRFERR_KEYSLIST 10006 // couldn't query keys list46 #define PRFERR_ABORTED 10007 // aborted by user47 #define PRFERR_QUERY 10007 // PrfQueryProfile failed41 #define PRFERR_DATASIZE 10001 // couldn't query data size for key 42 #define PRFERR_READ 10003 // couldn't read data from source (PrfQueryProfileData error) 43 #define PRFERR_WRITE 10004 // couldn't write data to target (PrfWriteProfileData error) 44 #define PRFERR_APPSLIST 10005 // couldn't query apps list 45 #define PRFERR_KEYSLIST 10006 // couldn't query keys list 46 #define PRFERR_ABORTED 10007 // aborted by user 47 #define PRFERR_QUERY 10007 // PrfQueryProfile failed 48 48 #define PRFERR_INVALID_FILE_NAME 10008 // profile names don't contain .INI 49 #define PRFERR_INVALID_KEY 10009 50 #define PRFERR_KEY_EXISTS 10010 49 51 50 52 PSZ prfhQueryKeysForApp(HINI hIni, … … 116 118 PSZ pszErrorKey); 117 119 120 ULONG prfhRenameKey(HINI hini, 121 const char *pcszOldApp, 122 const char *pcszOldKey, 123 const char *pcszNewApp, 124 const char *pcszNewKey); 125 118 126 BOOL prfhSetUserProfile(HAB hab, 119 127 const char *pcszUserProfile); -
trunk/include/helpers/threads.h
r18 r33 70 70 typedef THREADFUNC *PTHREADFUNC; 71 71 72 BOOLthrCreate(PTHREADINFO pti,73 PTHREADFUNC pfn,74 PBOOL pfRunning,75 ULONG flFlags,76 ULONG ulData);72 ULONG thrCreate(PTHREADINFO pti, 73 PTHREADFUNC pfn, 74 PBOOL pfRunning, 75 ULONG flFlags, 76 ULONG ulData); 77 77 78 78 ULONG thrRunSync(HAB hab, -
trunk/include/helpers/tree.h
r14 r33 107 107 // -- -1: t1 < t2 108 108 // -- +1: t1 > t2 109 typedef int (FNTREE_COMPARE_IDS) (unsigned long id1, unsigned long id2);110 109 typedef int (FNTREE_COMPARE_NODES) (TREE *t1, TREE *t2); 111 110 typedef int (FNTREE_COMPARE_DATA) (TREE *t1, void *pData); … … 122 121 int treeInsertID(TREE **root, 123 122 TREE *tree, 124 FNTREE_COMPARE_IDS *comp,125 123 BOOL fAllowDuplicates); 126 124 … … 132 130 int treeDelete(TREE **root, 133 131 TREE *tree); 134 135 /* void *treeFindEQID (TREE **root,136 TREE *tree,137 TREE_COMPARE *comp); */138 /* void *treeFindGEID (TREE **root,139 TREE *tree,140 FNTREE_COMPARE_IDS *comp); */141 132 142 133 void* treeFindEQNode(TREE **root, … … 157 148 158 149 void* treeFindEQID(TREE **root, 159 unsigned long idFind, 160 FNTREE_COMPARE_IDS *comp); 150 unsigned long idFind); 161 151 void* treeFindLTID(TREE **root, 162 unsigned long idFind, 163 FNTREE_COMPARE_IDS *comp); 152 unsigned long idFind); 164 153 void* treeFindLEID(TREE **root, 165 unsigned long idFind, 166 FNTREE_COMPARE_IDS *comp); 154 unsigned long idFind); 167 155 void* treeFindGTID(TREE **root, 168 unsigned long idFind, 169 FNTREE_COMPARE_IDS *comp); 156 unsigned long idFind); 170 157 void* treeFindGEID(TREE **root, 171 unsigned long idFind, 172 FNTREE_COMPARE_IDS *comp); 158 unsigned long idFind); 173 159 174 160 void* treeFindEQData(TREE **root,
Note:
See TracChangeset
for help on using the changeset viewer.