userenv: Add a stub for GetDefaultUserProfileDirectoryA/W.

This commit is contained in:
Austin English 2010-09-21 21:53:08 -07:00 committed by Alexandre Julliard
parent 60827da9d5
commit 84972be4aa
2 changed files with 14 additions and 0 deletions

View File

@ -6,6 +6,8 @@
@ stdcall ExpandEnvironmentStringsForUserW(ptr wstr ptr long) @ stdcall ExpandEnvironmentStringsForUserW(ptr wstr ptr long)
@ stdcall GetAllUsersProfileDirectoryA(ptr ptr) @ stdcall GetAllUsersProfileDirectoryA(ptr ptr)
@ stdcall GetAllUsersProfileDirectoryW(ptr ptr) @ stdcall GetAllUsersProfileDirectoryW(ptr ptr)
@ stdcall GetDefaultUserProfileDirectoryA(ptr ptr)
@ stdcall GetDefaultUserProfileDirectoryW(ptr ptr)
@ stdcall GetProfilesDirectoryA(ptr ptr) @ stdcall GetProfilesDirectoryA(ptr ptr)
@ stdcall GetProfilesDirectoryW(ptr ptr) @ stdcall GetProfilesDirectoryW(ptr ptr)
@ stdcall GetProfileType(ptr) @ stdcall GetProfileType(ptr)

View File

@ -100,6 +100,18 @@ BOOL WINAPI ExpandEnvironmentStringsForUserW( HANDLE hToken, LPCWSTR lpSrc,
return ret; return ret;
} }
BOOL WINAPI GetDefaultUserProfileDirectoryA( LPSTR lpProfileDir, LPDWORD lpcchSize )
{
FIXME("%p %p\n", lpProfileDir, lpcchSize );
return FALSE;
}
BOOL WINAPI GetDefaultUserProfileDirectoryW( LPWSTR lpProfileDir, LPDWORD lpcchSize )
{
FIXME("%p %p\n", lpProfileDir, lpcchSize );
return FALSE;
}
BOOL WINAPI GetUserProfileDirectoryA( HANDLE hToken, LPSTR lpProfileDir, BOOL WINAPI GetUserProfileDirectoryA( HANDLE hToken, LPSTR lpProfileDir,
LPDWORD lpcchSize ) LPDWORD lpcchSize )
{ {