mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 11:43:31 +00:00
userenv: Implement ExpandEnvironmentStringsForUser{A,W}.
This commit is contained in:
parent
e79b8b8fcd
commit
0e59ff2592
2 changed files with 26 additions and 0 deletions
|
@ -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 a new issue