userenv: Add a stub implementation for GetProfileType.

This commit is contained in:
Hans Leidekker 2006-06-27 15:28:45 +02:00 committed by Alexandre Julliard
parent cea41b0a0f
commit 3a40b175c4
2 changed files with 13 additions and 0 deletions

View File

@ -2,6 +2,7 @@
@ stub DestroyEnvironmentBlock
@ stdcall GetProfilesDirectoryA(ptr ptr)
@ stdcall GetProfilesDirectoryW(ptr ptr)
@ stdcall GetProfileType(ptr)
@ stdcall GetUserProfileDirectoryA(ptr ptr ptr)
@ stdcall GetUserProfileDirectoryW(ptr ptr ptr)
@ stdcall LoadUserProfileA(ptr ptr)

View File

@ -79,6 +79,18 @@ BOOL WINAPI GetProfilesDirectoryW( LPWSTR lpProfilesDir, LPDWORD lpcchSize )
return FALSE;
}
/* FIXME: these belong in userenv.h */
#define PT_TEMPORARY 0x00000001
#define PT_ROAMING 0x00000002
#define PT_MANDATORY 0x00000004
BOOL WINAPI GetProfileType( LPDWORD pdwFlags )
{
FIXME("%p\n", pdwFlags );
*pdwFlags = PT_MANDATORY | PT_ROAMING | PT_TEMPORARY;
return TRUE;
}
BOOL WINAPI LoadUserProfileA( HANDLE hToken, LPPROFILEINFOA lpProfileInfo )
{
FIXME("%p %p\n", hToken, lpProfileInfo );