Ignore:
Timestamp:
Apr 14, 2002, 1:42:05 AM (23 years ago)
Author:
umoeller
Message:

Lots of changes from the last three weeks.

File:
1 edited

Legend:

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

    r113 r153  
    4141     ********************************************************************/
    4242
    43     #define PRFERR_DATASIZE     10001   // couldn't query data size for key
    44     #define PRFERR_READ         10003   // couldn't read data from source (PrfQueryProfileData error)
    45     #define PRFERR_WRITE        10004   // couldn't write data to target (PrfWriteProfileData error)
    46     #define PRFERR_APPSLIST     10005   // couldn't query apps list
    47     #define PRFERR_KEYSLIST     10006   // couldn't query keys list
    48     #define PRFERR_ABORTED      10007   // aborted by user
    49     #define PRFERR_QUERY        10007   // PrfQueryProfile failed
    50     #define PRFERR_INVALID_FILE_NAME  10008   // profile names don't contain .INI
    51     #define PRFERR_INVALID_KEY  10009
    52     #define PRFERR_KEY_EXISTS   10010
     43    #define ERROR_PRF_FIRST             42000
     44
     45    #define PRFERR_DATASIZE             (ERROR_PRF_FIRST + 1)
     46                    // couldn't query data size for key
     47    #define PRFERR_READ                 (ERROR_PRF_FIRST + 2)
     48                    // couldn't read data from source (PrfQueryProfileData error)
     49    #define PRFERR_WRITE                (ERROR_PRF_FIRST + 3)
     50                    // couldn't write data to target (PrfWriteProfileData error)
     51    #define PRFERR_APPSLIST             (ERROR_PRF_FIRST + 4)
     52                    // couldn't query apps list
     53    #define PRFERR_KEYSLIST             (ERROR_PRF_FIRST + 5)
     54                    // couldn't query keys list
     55    #define PRFERR_ABORTED              (ERROR_PRF_FIRST + 6)
     56                    // aborted by user
     57    #define PRFERR_QUERY                (ERROR_PRF_FIRST + 7)
     58                    // PrfQueryProfile failed
     59    #define PRFERR_INVALID_FILE_NAME    (ERROR_PRF_FIRST + 8)
     60                    // profile names don't contain .INI
     61    #define PRFERR_INVALID_KEY          (ERROR_PRF_FIRST + 9)
     62    #define PRFERR_KEY_EXISTS           (ERROR_PRF_FIRST + 10)
     63
     64    #define PRFERR_RESET                (ERROR_PRF_FIRST + 11)
     65                    // PrfReset failed V0.9.19 (2002-04-02) [umoeller]
     66
     67    #define ERROR_PRF_LAST              (ERROR_PRF_FIRST + 11)
    5368
    5469    /* ******************************************************************
     
    218233                        const char *pcszNewKey);
    219234
    220     BOOL prfhSetUserProfile(HAB hab,
    221                             const char *pcszUserProfile);
     235    APIRET prfhSetUserProfile(HAB hab,
     236                              const char *pcszUserProfile);
    222237
    223238    ULONG prfhINIError(ULONG ulOptions,
Note: See TracChangeset for help on using the changeset viewer.