Ignore:
Timestamp:
Nov 7, 2008, 1:21:54 AM (17 years ago)
Author:
pr
Message:

Add missing xprf() functions. Fix broken ones also.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/branch-1-0/include/helpers/xprf.h

    r229 r372  
    1414 */
    1515
    16 /*      Copyright (C) 2000 Ulrich M”ller.
     16/*      Copyright (C) 2000-2008 Ulrich M”ller.
    1717 *      This file is part of the "XWorkplace helpers" source package.
    1818 *      This is free software; you can redistribute it and/or modify
     
    168168    #endif
    169169
    170     APIRET xprfOpenProfile(const char *pcszFilename,
     170    APIRET xprfOpenProfile(PCSZ pcszFilename,
    171171                           PXINI *ppxini);
    172172
     
    184184                                PULONG pulBufferMax);
    185185
     186    LONG xprfQueryProfileInt(PXINI pXIni,
     187                             PCSZ pcszApp,
     188                             PCSZ pcszKey,
     189                             LONG lDefault);
     190
    186191    APIRET xprfWriteProfileData(PXINI hIni,
    187                                 const char *pcszApp,
    188                                 const char *pcszKey,
     192                                PCSZ pcszApp,
     193                                PCSZ pcszKey,
    189194                                PVOID pData,
    190195                                ULONG ulDataLen);
     196
     197    APIRET xprfWriteProfileString(PXINI pXIni,
     198                                  PCSZ pcszApp,
     199                                  PCSZ pcszKey,
     200                                  PCSZ pcszString);
    191201
    192202    APIRET xprfQueryKeysForApp(PXINI hIni,
    193203                               PCSZ pcszApp,
    194204                               PSZ *ppszKeys);
     205
     206    PSZ xprfhQueryProfileData(PXINI pXIni,
     207                              PCSZ pcszApp,
     208                              PCSZ pcszKey,
     209                              PULONG pcbBuf);
    195210
    196211    /* ******************************************************************
Note: See TracChangeset for help on using the changeset viewer.