userenv: Implement ExpandEnvironmentStringsForUser{A,W}.
This commit is contained in:
parent
e79b8b8fcd
commit
0e59ff2592
|
@ -1,5 +1,7 @@
|
|||
@ stdcall CreateEnvironmentBlock(ptr ptr long)
|
||||
@ stub DestroyEnvironmentBlock
|
||||
@ stdcall ExpandEnvironmentStringsForUserA(ptr str ptr long)
|
||||
@ stdcall ExpandEnvironmentStringsForUserW(ptr wstr ptr long)
|
||||
@ stdcall GetProfilesDirectoryA(ptr ptr)
|
||||
@ stdcall GetProfilesDirectoryW(ptr ptr)
|
||||
@ stdcall GetProfileType(ptr)
|
||||
|
|
|
@ -53,6 +53,30 @@ BOOL WINAPI CreateEnvironmentBlock( LPVOID* lpEnvironment,
|
|||
return FALSE;
|
||||
}
|
||||
|
||||
BOOL WINAPI ExpandEnvironmentStringsForUserA( HANDLE hToken, LPCSTR lpSrc,
|
||||
LPSTR lpDest, DWORD dwSize )
|
||||
{
|
||||
BOOL ret;
|
||||
|
||||
TRACE("%p %s %p %d\n", hToken, debugstr_a(lpSrc), lpDest, dwSize);
|
||||
|
||||
ret = ExpandEnvironmentStringsA( lpSrc, lpDest, dwSize );
|
||||
TRACE("<- %s\n", debugstr_a(lpDest));
|
||||
return ret;
|
||||
}
|
||||
|
||||
BOOL WINAPI ExpandEnvironmentStringsForUserW( HANDLE hToken, LPCWSTR lpSrc,
|
||||
LPWSTR lpDest, DWORD dwSize )
|
||||
{
|
||||
BOOL ret;
|
||||
|
||||
TRACE("%p %s %p %d\n", hToken, debugstr_w(lpSrc), lpDest, dwSize);
|
||||
|
||||
ret = ExpandEnvironmentStringsW( lpSrc, lpDest, dwSize );
|
||||
TRACE("<- %s\n", debugstr_w(lpDest));
|
||||
return ret;
|
||||
}
|
||||
|
||||
BOOL WINAPI GetUserProfileDirectoryA( HANDLE hToken, LPSTR lpProfileDir,
|
||||
LPDWORD lpcchSize )
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue