Rev | Line | |
---|
[6327] | 1 | /* $Id: oslibprf.cpp,v 1.2 2001-07-14 08:36:17 sandervl Exp $ */
|
---|
[6072] | 2 | /*
|
---|
| 3 | * Profile API wrappers for OS/2
|
---|
| 4 | *
|
---|
| 5 | *
|
---|
| 6 | * Copyright 2001 Achim Hasenmueller <achimha@innotek.de>
|
---|
| 7 | *
|
---|
| 8 | *
|
---|
| 9 | * Project Odin Software License can be found in LICENSE.TXT
|
---|
| 10 | *
|
---|
| 11 | */
|
---|
| 12 | #define INCL_WIN
|
---|
| 13 | #define INCL_PM
|
---|
| 14 | #define INCL_WINSWITCHLIST
|
---|
| 15 | #include <os2wrap.h>
|
---|
| 16 |
|
---|
| 17 | #include <win32type.h>
|
---|
| 18 | #include <winconst.h>
|
---|
| 19 | #include "oslibprf.h"
|
---|
| 20 |
|
---|
[21916] | 21 | LONG OSLibPrfQueryProfileInt(OSLIB_HINI hini, const char *pszApp, const char *pszKey, LONG sDefault)
|
---|
[6072] | 22 | {
|
---|
| 23 | return PrfQueryProfileInt(hini, pszApp, pszKey, sDefault);
|
---|
| 24 | }
|
---|
[6327] | 25 |
|
---|
[21916] | 26 | LONG OSLibPrfQueryProfileString(OSLIB_HINI hini, const char *pszApp, const char *pszKey, const char *pszDefault, char *buffer, ULONG buflen)
|
---|
[6327] | 27 | {
|
---|
| 28 | return PrfQueryProfileString(hini, pszApp, pszKey, pszDefault, buffer, buflen);
|
---|
| 29 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.