1 /* $Id: profile.c,v 1.4 2002/09/07 15:12:27 chorns Exp $
3 * COPYRIGHT: See COPYING in the top level directory
4 * PROJECT: ReactOS system libraries
5 * FILE: lib/kernel32/misc/profile.c
6 * PURPOSE: Profiles functions
7 * PROGRAMMER: Ariadne ( ariadne@xs4all.nl)
8 * modified from WINE [ Onno Hovers, (onno@stack.urc.tue.nl) ]
14 #define NTOS_USER_MODE
20 /* FUNCTIONS *****************************************************************/
23 CloseProfileUserMapping(VOID
)
25 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
31 GetPrivateProfileIntW (
38 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
44 GetPrivateProfileIntA (
51 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
57 GetPrivateProfileSectionW (
59 LPWSTR lpReturnedString
,
64 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
70 GetPrivateProfileSectionA (
72 LPSTR lpReturnedString
,
77 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
83 GetPrivateProfileSectionNamesW (
84 LPWSTR lpszReturnBuffer
,
89 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
95 GetPrivateProfileSectionNamesA (
96 LPSTR lpszReturnBuffer
,
101 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
107 GetPrivateProfileStringW (
111 LPWSTR lpReturnedString
,
116 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
122 GetPrivateProfileStringA (
126 LPSTR lpReturnedString
,
131 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
136 GetPrivateProfileStructW (
144 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
150 GetPrivateProfileStructA (
158 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
163 GetProfileIntW(LPCWSTR lpAppName
,
167 return GetPrivateProfileIntW(lpAppName
,
175 GetProfileIntA(LPCSTR lpAppName
,
179 return GetPrivateProfileIntA(lpAppName
,
187 GetProfileSectionW(LPCWSTR lpAppName
,
188 LPWSTR lpReturnedString
,
191 return GetPrivateProfileSectionW(lpAppName
,
199 GetProfileSectionA(LPCSTR lpAppName
,
200 LPSTR lpReturnedString
,
203 return GetPrivateProfileSectionA(lpAppName
,
211 GetProfileStringW(LPCWSTR lpAppName
,
214 LPWSTR lpReturnedString
,
217 return GetPrivateProfileStringW(lpAppName
,
227 GetProfileStringA(LPCSTR lpAppName
,
230 LPSTR lpReturnedString
,
233 return GetPrivateProfileStringA(lpAppName
,
243 OpenProfileUserMapping (VOID
)
245 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
251 QueryWin31IniFilesMappedToRegistry (
258 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
264 WritePrivateProfileSectionA (
270 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
276 WritePrivateProfileSectionW (
282 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
288 WritePrivateProfileStringA(LPCSTR lpAppName
,
293 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
299 WritePrivateProfileStringW(LPCWSTR lpAppName
,
304 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
310 WritePrivateProfileStructA(
318 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
324 WritePrivateProfileStructW(
332 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
338 WriteProfileSectionA(LPCSTR lpAppName
,
341 return WritePrivateProfileSectionA(lpAppName
,
348 WriteProfileSectionW(LPCWSTR lpAppName
,
351 return WritePrivateProfileSectionW(lpAppName
,
358 WriteProfileStringA(LPCSTR lpAppName
,
362 return WritePrivateProfileStringA(lpAppName
,
370 WriteProfileStringW(LPCWSTR lpAppName
,
374 return WritePrivateProfileStringW(lpAppName
,