userenv: Added a few more stubs.

This commit is contained in:
Jacek Caban 2013-07-23 11:06:31 +02:00 committed by Alexandre Julliard
parent 80e70a8271
commit 1c721e7164
2 changed files with 23 additions and 0 deletions

View File

@ -2,10 +2,12 @@
@ stdcall CreateEnvironmentBlock(ptr ptr long)
@ stdcall DestroyEnvironmentBlock(ptr)
@ stdcall EnterCriticalPolicySection(long)
@ stdcall ExpandEnvironmentStringsForUserA(ptr str ptr long)
@ stdcall ExpandEnvironmentStringsForUserW(ptr wstr ptr long)
@ stdcall GetAllUsersProfileDirectoryA(ptr ptr)
@ stdcall GetAllUsersProfileDirectoryW(ptr ptr)
@ stdcall GetAppliedGPOListW(long wstr ptr ptr ptr)
@ stdcall GetDefaultUserProfileDirectoryA(ptr ptr)
@ stdcall GetDefaultUserProfileDirectoryW(ptr ptr)
@ stdcall GetProfilesDirectoryA(ptr ptr)
@ -13,6 +15,7 @@
@ stdcall GetProfileType(ptr)
@ stdcall GetUserProfileDirectoryA(ptr ptr ptr)
@ stdcall GetUserProfileDirectoryW(ptr ptr ptr)
@ stdcall LeaveCriticalPolicySection(ptr)
@ stdcall LoadUserProfileA(ptr ptr)
@ stdcall LoadUserProfileW(ptr ptr)
@ stdcall RegisterGPNotification(long long)

View File

@ -732,6 +732,26 @@ BOOL WINAPI UnloadUserProfile( HANDLE hToken, HANDLE hProfile )
return FALSE;
}
HANDLE WINAPI EnterCriticalPolicySection(BOOL bMachine)
{
FIXME("(%x)\n", bMachine);
SetLastError(ERROR_ACCESS_DENIED);
return NULL;
}
BOOL WINAPI LeaveCriticalPolicySection(HANDLE hSection)
{
FIXME("(%p)\n", hSection);
return TRUE;
}
DWORD WINAPI GetAppliedGPOListW(DWORD dwFlags, LPCWSTR pMachineName, PSID pSidUser, GUID *pGuidExtension,
PGROUP_POLICY_OBJECTW *ppGPOList)
{
FIXME("(%x %s %p %s %p)\n", dwFlags, debugstr_w(pMachineName), pSidUser, debugstr_guid(pGuidExtension), ppGPOList);
return ERROR_ACCESS_DENIED;
}
/******************************************************************************
* USERENV.138
*