-/* $Id: profile.c,v 1.2 2001/05/27 15:40:31 ekohl Exp $
+/* $Id: profile.c,v 1.3 2001/06/07 21:27:45 ekohl Exp $
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS system libraries
*/
#include <ddk/ntddk.h>
-#include <kernel32/proc.h>
-#include <kernel32/thread.h>
+#include <windows.h>
#include <wchar.h>
#include <string.h>
//#include <stdlib.h>
+
+/* FUNCTIONS *****************************************************************/
+
BOOL STDCALL
-CloseProfileUserMapping (VOID)
+CloseProfileUserMapping(VOID)
{
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return FALSE;
}
-UINT
-STDCALL
+
+UINT STDCALL
GetPrivateProfileIntW (
LPCWSTR lpAppName,
LPCWSTR lpKeyName,
}
-UINT
-STDCALL
+UINT STDCALL
GetPrivateProfileIntA (
LPCSTR lpAppName,
LPCSTR lpKeyName,
}
-DWORD
-STDCALL
+DWORD STDCALL
GetPrivateProfileSectionW (
LPCWSTR lpAppName,
LPWSTR lpReturnedString,
}
-DWORD
-STDCALL
+DWORD STDCALL
GetPrivateProfileSectionA (
LPCSTR lpAppName,
LPSTR lpReturnedString,
}
-DWORD
-STDCALL
+DWORD STDCALL
GetPrivateProfileSectionNamesW (
DWORD Unknown0,
DWORD Unknown1,
}
-DWORD
-STDCALL
+DWORD STDCALL
GetPrivateProfileSectionNamesA (
DWORD Unknown0,
DWORD Unknown1,
}
-DWORD
-STDCALL
+DWORD STDCALL
GetPrivateProfileStringW (
LPCWSTR lpAppName,
LPCWSTR lpKeyName,
}
-DWORD
-STDCALL
+DWORD STDCALL
GetPrivateProfileStringA (
LPCSTR lpAppName,
LPCSTR lpKeyName,
}
-DWORD
-STDCALL
+DWORD STDCALL
GetPrivateProfileStructW (
DWORD Unknown0,
DWORD Unknown1,
}
-DWORD
-STDCALL
+DWORD STDCALL
GetPrivateProfileStructA (
DWORD Unknown0,
DWORD Unknown1,
return 0;
}
-UINT
-STDCALL
-GetProfileIntW (
- LPCWSTR lpAppName,
- LPCWSTR lpKeyName,
- INT nDefault
- )
+UINT STDCALL
+GetProfileIntW(LPCWSTR lpAppName,
+ LPCWSTR lpKeyName,
+ INT nDefault)
{
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
- return 0;
+ return GetPrivateProfileIntW(lpAppName,
+ lpKeyName,
+ nDefault,
+ NULL);
}
-UINT
-STDCALL
-GetProfileIntA (
- LPCSTR lpAppName,
- LPCSTR lpKeyName,
- INT nDefault
- )
+UINT STDCALL
+GetProfileIntA(LPCSTR lpAppName,
+ LPCSTR lpKeyName,
+ INT nDefault)
{
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
- return 0;
+ return GetPrivateProfileIntA(lpAppName,
+ lpKeyName,
+ nDefault,
+ NULL);
}
-DWORD
-STDCALL
-GetProfileSectionW (
- LPCWSTR lpAppName,
- LPWSTR lpReturnedString,
- DWORD nSize
- )
+DWORD STDCALL
+GetProfileSectionW(LPCWSTR lpAppName,
+ LPWSTR lpReturnedString,
+ DWORD nSize)
{
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
- return 0;
+ return GetPrivateProfileSectionW(lpAppName,
+ lpReturnedString,
+ nSize,
+ NULL);
}
-DWORD
-STDCALL
-GetProfileSectionA (
- LPCSTR lpAppName,
- LPSTR lpReturnedString,
- DWORD nSize
- )
+DWORD STDCALL
+GetProfileSectionA(LPCSTR lpAppName,
+ LPSTR lpReturnedString,
+ DWORD nSize)
{
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
- return 0;
+ return GetPrivateProfileSectionA(lpAppName,
+ lpReturnedString,
+ nSize,
+ NULL);
}
-DWORD
-STDCALL
-GetProfileStringW (
- LPCWSTR lpAppName,
- LPCWSTR lpKeyName,
- LPCWSTR lpDefault,
- LPWSTR lpReturnedString,
- DWORD nSize
- )
+DWORD STDCALL
+GetProfileStringW(LPCWSTR lpAppName,
+ LPCWSTR lpKeyName,
+ LPCWSTR lpDefault,
+ LPWSTR lpReturnedString,
+ DWORD nSize)
{
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
- return 0;
+ return GetPrivateProfileStringW(lpAppName,
+ lpKeyName,
+ lpDefault,
+ lpReturnedString,
+ nSize,
+ NULL);
}
-DWORD
-STDCALL
-GetProfileStringA (
- LPCSTR lpAppName,
- LPCSTR lpKeyName,
- LPCSTR lpDefault,
- LPSTR lpReturnedString,
- DWORD nSize
- )
+DWORD STDCALL
+GetProfileStringA(LPCSTR lpAppName,
+ LPCSTR lpKeyName,
+ LPCSTR lpDefault,
+ LPSTR lpReturnedString,
+ DWORD nSize)
{
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
- return 0;
+ return GetPrivateProfileStringA(lpAppName,
+ lpKeyName,
+ lpDefault,
+ lpReturnedString,
+ nSize,
+ NULL);
}
-DWORD
-STDCALL
+
+BOOL STDCALL
OpenProfileUserMapping (VOID)
{
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return 0;
}
-WINBOOL
-STDCALL
+
+WINBOOL STDCALL
QueryWin31IniFilesMappedToRegistry (
DWORD Unknown0,
DWORD Unknown1,
return FALSE;
}
-WINBOOL
-STDCALL
+
+WINBOOL STDCALL
WritePrivateProfileSectionA (
LPCSTR lpAppName,
LPCSTR lpString,
}
-WINBOOL
-STDCALL
+WINBOOL STDCALL
WritePrivateProfileSectionW (
LPCWSTR lpAppName,
LPCWSTR lpString,
}
-WINBOOL
-STDCALL
-WritePrivateProfileStringA (
- LPCSTR lpAppName,
- LPCSTR lpKeyName,
- LPCSTR lpString,
- LPCSTR lpFileName
- )
+WINBOOL STDCALL
+WritePrivateProfileStringA(LPCSTR lpAppName,
+ LPCSTR lpKeyName,
+ LPCSTR lpString,
+ LPCSTR lpFileName)
{
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return FALSE;
}
-WINBOOL
-STDCALL
-WritePrivateProfileStringW (
- LPCWSTR lpAppName,
- LPCWSTR lpKeyName,
- LPCWSTR lpString,
- LPCWSTR lpFileName
- )
+WINBOOL STDCALL
+WritePrivateProfileStringW(LPCWSTR lpAppName,
+ LPCWSTR lpKeyName,
+ LPCWSTR lpString,
+ LPCWSTR lpFileName)
{
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return FALSE;
}
-WINBOOL
-STDCALL
+WINBOOL STDCALL
WritePrivateProfileStructA (
DWORD Unknown0,
DWORD Unknown1,
}
-WINBOOL
-STDCALL
+WINBOOL STDCALL
WritePrivateProfileStructW (
DWORD Unknown0,
DWORD Unknown1,
}
-
-
-WINBOOL
-STDCALL
-WriteProfileSectionA (
- LPCSTR lpAppName,
- LPCSTR lpString
- )
+WINBOOL STDCALL
+WriteProfileSectionA(LPCSTR lpAppName,
+ LPCSTR lpString)
{
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
- return FALSE;
+ return WritePrivateProfileSectionA(lpAppName,
+ lpString,
+ NULL);
}
-WINBOOL
-STDCALL
-WriteProfileSectionW (
- LPCWSTR lpAppName,
- LPCWSTR lpString
- )
+WINBOOL STDCALL
+WriteProfileSectionW(LPCWSTR lpAppName,
+ LPCWSTR lpString)
{
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
- return FALSE;
+ return WritePrivateProfileSectionW(lpAppName,
+ lpString,
+ NULL);
}
-WINBOOL
-STDCALL
-WriteProfileStringA (
- LPCSTR lpAppName,
- LPCSTR lpKeyName,
- LPCSTR lpString
- )
+WINBOOL STDCALL
+WriteProfileStringA(LPCSTR lpAppName,
+ LPCSTR lpKeyName,
+ LPCSTR lpString)
{
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
- return FALSE;
+ return WritePrivateProfileStringA(lpAppName,
+ lpKeyName,
+ lpString,
+ NULL);
}
-WINBOOL
-STDCALL
-WriteProfileStringW (
- LPCWSTR lpAppName,
- LPCWSTR lpKeyName,
- LPCWSTR lpString
- )
+WINBOOL STDCALL
+WriteProfileStringW(LPCWSTR lpAppName,
+ LPCWSTR lpKeyName,
+ LPCWSTR lpString)
{
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
- return FALSE;
+ return WritePrivateProfileStringW(lpAppName,
+ lpKeyName,
+ lpString,
+ NULL);
}
-
-
/* EOF */