| Line | |
|---|
| 1 | /* $Id: oslibprf.cpp,v 1.2 2001-07-14 08:36:17 sandervl Exp $ */
|
|---|
| 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 |
|
|---|
| 21 | LONG OSLibPrfQueryProfileInt(OSLIB_HINI hini, char *pszApp, char *pszKey, LONG sDefault)
|
|---|
| 22 | {
|
|---|
| 23 | return PrfQueryProfileInt(hini, pszApp, pszKey, sDefault);
|
|---|
| 24 | }
|
|---|
| 25 |
|
|---|
| 26 | LONG OSLibPrfQueryProfileString(OSLIB_HINI hini, char *pszApp, char *pszKey, char *pszDefault, char *buffer, ULONG buflen)
|
|---|
| 27 | {
|
|---|
| 28 | return PrfQueryProfileString(hini, pszApp, pszKey, pszDefault, buffer, buflen);
|
|---|
| 29 | }
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.