Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
83486aaf
Commit
83486aaf
authored
Feb 01, 2010
by
Maarten Lankhorst
Committed by
Alexandre Julliard
Feb 02, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
userenv: Implement DestroyEnvironmentBlock.
parent
e8fb8fb1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
1 deletion
+12
-1
userenv.spec
dlls/userenv/userenv.spec
+1
-1
userenv_main.c
dlls/userenv/userenv_main.c
+11
-0
No files found.
dlls/userenv/userenv.spec
View file @
83486aaf
@ stdcall CreateEnvironmentBlock(ptr ptr long)
@ stdcall CreateEnvironmentBlock(ptr ptr long)
@ st
ub DestroyEnvironmentBlock
@ st
dcall DestroyEnvironmentBlock(ptr)
@ 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)
...
...
dlls/userenv/userenv_main.c
View file @
83486aaf
...
@@ -65,6 +65,17 @@ BOOL WINAPI CreateEnvironmentBlock( LPVOID* lpEnvironment,
...
@@ -65,6 +65,17 @@ BOOL WINAPI CreateEnvironmentBlock( LPVOID* lpEnvironment,
return
FALSE
;
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
,
BOOL
WINAPI
ExpandEnvironmentStringsForUserA
(
HANDLE
hToken
,
LPCSTR
lpSrc
,
LPSTR
lpDest
,
DWORD
dwSize
)
LPSTR
lpDest
,
DWORD
dwSize
)
{
{
...
...
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