userenv: Implement DestroyEnvironmentBlock.
This commit is contained in:
parent
e8fb8fb1a1
commit
83486aaf66
|
@ -1,5 +1,5 @@
|
|||
@ stdcall CreateEnvironmentBlock(ptr ptr long)
|
||||
@ stub DestroyEnvironmentBlock
|
||||
@ stdcall DestroyEnvironmentBlock(ptr)
|
||||
@ stdcall ExpandEnvironmentStringsForUserA(ptr str ptr long)
|
||||
@ stdcall ExpandEnvironmentStringsForUserW(ptr wstr ptr long)
|
||||
@ stdcall GetAllUsersProfileDirectoryA(ptr ptr)
|
||||
|
|
|
@ -65,6 +65,17 @@ BOOL WINAPI CreateEnvironmentBlock( LPVOID* lpEnvironment,
|
|||
return FALSE;
|
||||
}
|
||||
|
||||
BOOL WINAPI DestroyEnvironmentBlock(LPVOID lpEnvironment)
|
||||
{
|
||||
NTSTATUS r;
|
||||
|
||||
TRACE("%p\n", lpEnvironment);
|
||||
r = RtlDestroyEnvironment(lpEnvironment);
|
||||
if (r == STATUS_SUCCESS)
|
||||
return TRUE;
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
BOOL WINAPI ExpandEnvironmentStringsForUserA( HANDLE hToken, LPCSTR lpSrc,
|
||||
LPSTR lpDest, DWORD dwSize )
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue