mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 20:59:54 +00:00
userenv: Add a stub implementation for GetProfileType.
This commit is contained in:
parent
cea41b0a0f
commit
3a40b175c4
@ -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)
|
||||
|
@ -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 );
|
||||
|
Loading…
Reference in New Issue
Block a user