Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
0e59ff25
Commit
0e59ff25
authored
Feb 20, 2007
by
Hans Leidekker
Committed by
Alexandre Julliard
Feb 20, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
userenv: Implement ExpandEnvironmentStringsForUser{A,W}.
parent
e79b8b8f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
0 deletions
+26
-0
userenv.spec
dlls/userenv/userenv.spec
+2
-0
userenv_main.c
dlls/userenv/userenv_main.c
+24
-0
No files found.
dlls/userenv/userenv.spec
View file @
0e59ff25
@ 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)
...
...
dlls/userenv/userenv_main.c
View file @
0e59ff25
...
...
@@ -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
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment