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
8076d1cf
Commit
8076d1cf
authored
Jun 20, 2006
by
Juan Lang
Committed by
Alexandre Julliard
Jun 20, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shlwapi: Small cleanups.
- forward MLGetUILanguage to kernel32 - correct type of parameter to MLLoadLibrary
parent
35d24315
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
20 deletions
+8
-20
ordinal.c
dlls/shlwapi/ordinal.c
+7
-19
shlwapi.spec
dlls/shlwapi/shlwapi.spec
+1
-1
No files found.
dlls/shlwapi/ordinal.c
View file @
8076d1cf
...
...
@@ -3394,32 +3394,20 @@ HICON WINAPI ExtractIconWrapW(HINSTANCE hInstance, LPCWSTR lpszExeFileName,
}
/*************************************************************************
* @ [SHLWAPI.376]
*/
LANGID
WINAPI
MLGetUILanguage
(
void
)
{
FIXME
(
"() stub
\n
"
);
/* FIXME: This should be a forward in the .spec file to the win2k function
* kernel32.GetUserDefaultUILanguage, however that function isn't there yet.
*/
return
GetUserDefaultLangID
();
}
/*************************************************************************
* @ [SHLWAPI.377]
*
* Load a library from the directory of a particular process.
*
* PARAMS
* new_mod [I] Library name
* inst_hwnd [I] Module whose directory is to be used
*
dwFlags [I] Flags controlling the load
* new_mod
[I] Library name
* inst_hwnd
[I] Module whose directory is to be used
*
bCrossCodePage [I] Should be FALSE (currently ignored)
*
* RETURNS
* Success: A handle to the loaded module
* Failure: A NULL handle.
*/
HMODULE
WINAPI
MLLoadLibraryA
(
LPCSTR
new_mod
,
HMODULE
inst_hwnd
,
DWORD
dwFlags
)
HMODULE
WINAPI
MLLoadLibraryA
(
LPCSTR
new_mod
,
HMODULE
inst_hwnd
,
BOOL
bCrossCodePage
)
{
/* FIXME: Native appears to do DPA_Create and a DPA_InsertPtr for
* each call here.
...
...
@@ -3443,7 +3431,7 @@ HMODULE WINAPI MLLoadLibraryA(LPCSTR new_mod, HMODULE inst_hwnd, DWORD dwFlags)
LPSTR
ptr
;
DWORD
len
;
FIXME
(
"(%s,%p,
0x%08lx) semi-stub!
\n
"
,
debugstr_a
(
new_mod
),
inst_hwnd
,
dwFlags
);
FIXME
(
"(%s,%p,
%d) semi-stub!
\n
"
,
debugstr_a
(
new_mod
),
inst_hwnd
,
bCrossCodePage
);
len
=
GetModuleFileNameA
(
inst_hwnd
,
mod_path
,
sizeof
(
mod_path
));
if
(
!
len
||
len
>=
sizeof
(
mod_path
))
return
NULL
;
...
...
@@ -3461,13 +3449,13 @@ HMODULE WINAPI MLLoadLibraryA(LPCSTR new_mod, HMODULE inst_hwnd, DWORD dwFlags)
*
* Unicode version of MLLoadLibraryA.
*/
HMODULE
WINAPI
MLLoadLibraryW
(
LPCWSTR
new_mod
,
HMODULE
inst_hwnd
,
DWORD
dwFlags
)
HMODULE
WINAPI
MLLoadLibraryW
(
LPCWSTR
new_mod
,
HMODULE
inst_hwnd
,
BOOL
bCrossCodePage
)
{
WCHAR
mod_path
[
2
*
MAX_PATH
];
LPWSTR
ptr
;
DWORD
len
;
FIXME
(
"(%s,%p,
0x%08lx) semi-stub!
\n
"
,
debugstr_w
(
new_mod
),
inst_hwnd
,
dwFlags
);
FIXME
(
"(%s,%p,
%d) semi-stub!
\n
"
,
debugstr_w
(
new_mod
),
inst_hwnd
,
bCrossCodePage
);
len
=
GetModuleFileNameW
(
inst_hwnd
,
mod_path
,
sizeof
(
mod_path
)
/
sizeof
(
WCHAR
));
if
(
!
len
||
len
>=
sizeof
(
mod_path
)
/
sizeof
(
WCHAR
))
return
NULL
;
...
...
dlls/shlwapi/shlwapi.spec
View file @
8076d1cf
...
...
@@ -373,7 +373,7 @@
373 stdcall -noname DdeQueryStringWrapW(long ptr wstr long long) user32.DdeQueryStringW
374 stub -noname SHCheckDiskForMediaA
375 stub -noname SHCheckDiskForMediaW
376 stdcall -noname MLGetUILanguage()
#
kernel32.GetUserDefaultUILanguage
376 stdcall -noname MLGetUILanguage() kernel32.GetUserDefaultUILanguage
377 stdcall MLLoadLibraryA(str long long)
378 stdcall MLLoadLibraryW(wstr long long)
379 stub -noname Shell_GetCachedImageIndexWrapW
...
...
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