Rev | Line | |
---|
[9854] | 1 | /* $Id: oslibprf.h,v 1.3 2003-02-25 11:57:49 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 |
|
---|
| 13 | #ifndef __OSLIBPRF_H__
|
---|
| 14 | #define __OSLIBPRF_H__
|
---|
| 15 |
|
---|
| 16 | typedef ULONG OSLIB_HINI;
|
---|
| 17 | #define OSLIB_HINI_PROFILE NULL
|
---|
| 18 | #define OSLIB_HINI_USERPROFILE -1L
|
---|
| 19 | #define OSLIB_HINI_SYSTEMPROFILE -2L
|
---|
| 20 | #define OSLIB_HINI_USER OSLIB_HINI_USERPROFILE
|
---|
| 21 | #define OSLIB_HINI_SYSTEM OSLIB_HINI_SYSTEMPROFILE
|
---|
| 22 |
|
---|
[9854] | 23 | extern "C" {
|
---|
| 24 |
|
---|
[21916] | 25 | LONG OSLibPrfQueryProfileInt(OSLIB_HINI hini, const char *pszApp, const char *pszKey, LONG sDefault);
|
---|
| 26 | LONG OSLibPrfQueryProfileString(OSLIB_HINI hini, const char *pszApp, const char *pszKey, const char *pszDefault, char *buffer, ULONG buflen);
|
---|
[6072] | 27 |
|
---|
[9854] | 28 | }
|
---|
| 29 |
|
---|
[6072] | 30 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.