Last change
on this file since 10367 was 9854, checked in by sandervl, 23 years ago |
made profile functions extern C
|
File size:
796 bytes
|
Line | |
---|
1 | /* $Id: oslibprf.h,v 1.3 2003-02-25 11:57:49 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 |
|
---|
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 |
|
---|
23 | extern "C" {
|
---|
24 |
|
---|
25 | LONG OSLibPrfQueryProfileInt(OSLIB_HINI hini, char *pszApp, char *pszKey, LONG sDefault);
|
---|
26 | LONG OSLibPrfQueryProfileString(OSLIB_HINI hini, char *pszApp, char *pszKey, char *pszDefault, char *buffer, ULONG buflen);
|
---|
27 |
|
---|
28 | }
|
---|
29 |
|
---|
30 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.