Changeset 33 for trunk/include/helpers


Ignore:
Timestamp:
Feb 7, 2001, 7:30:59 PM (25 years ago)
Author:
umoeller
Message:

misc. changes

Location:
trunk/include/helpers
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/helpers/prfh.h

    r22 r33  
    3939    /* common error codes used by the prfh* functions */
    4040
    41     #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
     41    #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
    4848    #define PRFERR_INVALID_FILE_NAME  10008   // profile names don't contain .INI
     49    #define PRFERR_INVALID_KEY  10009
     50    #define PRFERR_KEY_EXISTS   10010
    4951
    5052    PSZ prfhQueryKeysForApp(HINI hIni,
     
    116118                      PSZ pszErrorKey);
    117119
     120    ULONG prfhRenameKey(HINI hini,
     121                        const char *pcszOldApp,
     122                        const char *pcszOldKey,
     123                        const char *pcszNewApp,
     124                        const char *pcszNewKey);
     125
    118126    BOOL prfhSetUserProfile(HAB hab,
    119127                            const char *pcszUserProfile);
  • trunk/include/helpers/threads.h

    r18 r33  
    7070    typedef THREADFUNC *PTHREADFUNC;
    7171
    72     BOOL thrCreate(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);
    7777
    7878    ULONG thrRunSync(HAB hab,
  • trunk/include/helpers/tree.h

    r14 r33  
    107107    // --  -1: t1 < t2
    108108    // --  +1: t1 > t2
    109     typedef int (FNTREE_COMPARE_IDS) (unsigned long id1, unsigned long id2);
    110109    typedef int (FNTREE_COMPARE_NODES) (TREE *t1, TREE *t2);
    111110    typedef int (FNTREE_COMPARE_DATA) (TREE *t1, void *pData);
     
    122121    int treeInsertID(TREE **root,
    123122                     TREE *tree,
    124                      FNTREE_COMPARE_IDS *comp,
    125123                     BOOL fAllowDuplicates);
    126124
     
    132130    int treeDelete(TREE **root,
    133131                   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); */
    141132
    142133    void* treeFindEQNode(TREE **root,
     
    157148
    158149    void* treeFindEQID(TREE **root,
    159                        unsigned long idFind,
    160                        FNTREE_COMPARE_IDS *comp);
     150                       unsigned long idFind);
    161151    void* treeFindLTID(TREE **root,
    162                        unsigned long idFind,
    163                        FNTREE_COMPARE_IDS *comp);
     152                       unsigned long idFind);
    164153    void* treeFindLEID(TREE **root,
    165                        unsigned long idFind,
    166                        FNTREE_COMPARE_IDS *comp);
     154                       unsigned long idFind);
    167155    void* treeFindGTID(TREE **root,
    168                        unsigned long idFind,
    169                        FNTREE_COMPARE_IDS *comp);
     156                       unsigned long idFind);
    170157    void* treeFindGEID(TREE **root,
    171                        unsigned long idFind,
    172                        FNTREE_COMPARE_IDS *comp);
     158                       unsigned long idFind);
    173159
    174160    void* treeFindEQData(TREE **root,
Note: See TracChangeset for help on using the changeset viewer.