Commit 1c721e71 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

userenv: Added a few more stubs.

parent 80e70a82
...@@ -2,10 +2,12 @@ ...@@ -2,10 +2,12 @@
@ stdcall CreateEnvironmentBlock(ptr ptr long) @ stdcall CreateEnvironmentBlock(ptr ptr long)
@ stdcall DestroyEnvironmentBlock(ptr) @ stdcall DestroyEnvironmentBlock(ptr)
@ stdcall EnterCriticalPolicySection(long)
@ stdcall ExpandEnvironmentStringsForUserA(ptr str ptr long) @ stdcall ExpandEnvironmentStringsForUserA(ptr str ptr long)
@ 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 GetAppliedGPOListW(long wstr ptr ptr ptr)
@ stdcall GetDefaultUserProfileDirectoryA(ptr ptr) @ stdcall GetDefaultUserProfileDirectoryA(ptr ptr)
@ stdcall GetDefaultUserProfileDirectoryW(ptr ptr) @ stdcall GetDefaultUserProfileDirectoryW(ptr ptr)
@ stdcall GetProfilesDirectoryA(ptr ptr) @ stdcall GetProfilesDirectoryA(ptr ptr)
...@@ -13,6 +15,7 @@ ...@@ -13,6 +15,7 @@
@ stdcall GetProfileType(ptr) @ stdcall GetProfileType(ptr)
@ stdcall GetUserProfileDirectoryA(ptr ptr ptr) @ stdcall GetUserProfileDirectoryA(ptr ptr ptr)
@ stdcall GetUserProfileDirectoryW(ptr ptr ptr) @ stdcall GetUserProfileDirectoryW(ptr ptr ptr)
@ stdcall LeaveCriticalPolicySection(ptr)
@ stdcall LoadUserProfileA(ptr ptr) @ stdcall LoadUserProfileA(ptr ptr)
@ stdcall LoadUserProfileW(ptr ptr) @ stdcall LoadUserProfileW(ptr ptr)
@ stdcall RegisterGPNotification(long long) @ stdcall RegisterGPNotification(long long)
......
...@@ -732,6 +732,26 @@ BOOL WINAPI UnloadUserProfile( HANDLE hToken, HANDLE hProfile ) ...@@ -732,6 +732,26 @@ BOOL WINAPI UnloadUserProfile( HANDLE hToken, HANDLE hProfile )
return FALSE; 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 * USERENV.138
* *
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment