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
baf86a13
Commit
baf86a13
authored
Mar 02, 2010
by
Andrey Turkin
Committed by
Alexandre Julliard
Mar 02, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
userenv: Implement stubbed userenv.dll.138.
parent
6ee4a87a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
39 additions
and
0 deletions
+39
-0
userenv.spec
dlls/userenv/userenv.spec
+2
-0
userenv_main.c
dlls/userenv/userenv_main.c
+37
-0
No files found.
dlls/userenv/userenv.spec
View file @
baf86a13
138 stdcall @(long str str str str long str long long str str long) USERENV_138
@ stdcall CreateEnvironmentBlock(ptr ptr long)
@ stdcall DestroyEnvironmentBlock(ptr)
@ stdcall ExpandEnvironmentStringsForUserA(ptr str ptr long)
...
...
dlls/userenv/userenv_main.c
View file @
baf86a13
...
...
@@ -176,3 +176,40 @@ BOOL WINAPI UnloadUserProfile( HANDLE hToken, HANDLE hProfile )
FIXME
(
"(%p, %p): stub
\n
"
,
hToken
,
hProfile
);
return
FALSE
;
}
/******************************************************************************
* USERENV.138
*
* Create .lnk file
*
* PARAMETERS
* int csidl [in] well-known directory location to create link in
* LPCSTR lnk_dir [in] directory (relative to directory specified by csidl) to create link in
* LPCSTR lnk_filename [in] filename of the link file without .lnk extension
* LPCSTR lnk_target [in] file/directory pointed to by link
* LPCSTR lnk_iconfile [in] link icon resource filename
* DWORD lnk_iconid [in] link icon resource id in file referred by lnk_iconfile
* LPCSTR work_directory [in] link target's work directory
* WORD hotkey [in] link hotkey (virtual key id)
* DWORD win_state [in] initial window size (SW_SHOWMAXIMIZED to start maximized,
* SW_SHOWMINNOACTIVE to start minimized, everything else is default state)
* LPCSTR comment [in] comment - link's comment
* LPCSTR loc_filename_resfile [in] resource file which holds localized filename for this link file
* DWORD loc_filename_resid [in] resource id for this link file's localized filename
*
* RETURNS
* TRUE: Link file was successfully created
* FALSE: Link file was not created
*/
BOOL
WINAPI
USERENV_138
(
int
csidl
,
LPCSTR
lnk_dir
,
LPCSTR
lnk_filename
,
LPCSTR
lnk_target
,
LPCSTR
lnk_iconfile
,
DWORD
lnk_iconid
,
LPCSTR
work_directory
,
WORD
hotkey
,
DWORD
win_state
,
LPCSTR
comment
,
LPCSTR
loc_filename_resfile
,
DWORD
loc_filename_resid
)
{
FIXME
(
"(%d,%s,%s,%s,%s,%d,%s,0x%x,%d,%s,%s,%d) - stub
\n
"
,
csidl
,
debugstr_a
(
lnk_dir
),
debugstr_a
(
lnk_filename
),
debugstr_a
(
lnk_target
),
debugstr_a
(
lnk_iconfile
),
lnk_iconid
,
debugstr_a
(
work_directory
),
hotkey
,
win_state
,
debugstr_a
(
comment
),
debugstr_a
(
loc_filename_resfile
),
loc_filename_resid
);
return
FALSE
;
}
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