userenv: Add a stub for LoadUserProfileW.

This commit is contained in:
Austin English 2009-07-25 18:52:58 -05:00 committed by Alexandre Julliard
parent 66e83d2156
commit 4814d67ed5
2 changed files with 8 additions and 1 deletions

View File

@ -8,7 +8,7 @@
@ stdcall GetUserProfileDirectoryA(ptr ptr ptr)
@ stdcall GetUserProfileDirectoryW(ptr ptr ptr)
@ stdcall LoadUserProfileA(ptr ptr)
@ stub LoadUserProfileW
@ stdcall LoadUserProfileW(ptr ptr)
@ stdcall RegisterGPNotification(long long)
@ stdcall UnloadUserProfile(ptr ptr)
@ stdcall UnregisterGPNotification(long)

View File

@ -129,6 +129,13 @@ BOOL WINAPI LoadUserProfileA( HANDLE hToken, LPPROFILEINFOA lpProfileInfo )
return TRUE;
}
BOOL WINAPI LoadUserProfileW( HANDLE hToken, LPPROFILEINFOW lpProfileInfo )
{
FIXME("%p %p\n", hToken, lpProfileInfo );
lpProfileInfo->hProfile = HKEY_CURRENT_USER;
return TRUE;
}
BOOL WINAPI RegisterGPNotification( HANDLE event, BOOL machine )
{
FIXME("%p %d\n", event, machine );