mirror of
https://github.com/reactos/reactos.git
synced 2024-10-01 06:57:08 +00:00
Fix MLLoadLibraryA/W prototypes
svn path=/trunk/; revision=22585
This commit is contained in:
parent
d2ced73e52
commit
1f7943c579
|
@ -3419,7 +3419,7 @@ LANGID WINAPI MLGetUILanguage()
|
|||
* 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 +3443,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,0x%08lx) 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 +3461,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,0x%08lx) 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;
|
||||
|
||||
|
|
|
@ -36,7 +36,6 @@
|
|||
#include "shlwapi.h"
|
||||
#include "wine/debug.h"
|
||||
|
||||
HMODULE WINAPI MLLoadLibraryW(LPCWSTR,HMODULE,DWORD);
|
||||
BOOL WINAPI MLFreeLibrary(HMODULE);
|
||||
HRESULT WINAPI MLBuildResURLW(LPCWSTR,HMODULE,DWORD,LPCWSTR,LPWSTR,DWORD);
|
||||
|
||||
|
|
|
@ -551,8 +551,8 @@ WINSHLWAPI int __cdecl wnsprintfW(LPWSTR,int,LPCWSTR,...);
|
|||
WINSHLWAPI int WINAPI wvnsprintfA(LPSTR,int,LPCSTR,va_list);
|
||||
WINSHLWAPI int WINAPI wvnsprintfW(LPWSTR,int,LPCWSTR,va_list);
|
||||
|
||||
HINSTANCE WINAPI MLLoadLibraryA(LPCSTR,HMODULE,DWORD);
|
||||
HINSTANCE WINAPI MLLoadLibraryW(LPCWSTR,HMODULE,DWORD);
|
||||
HINSTANCE WINAPI MLLoadLibraryA(LPCSTR,HMODULE,BOOL);
|
||||
HINSTANCE WINAPI MLLoadLibraryW(LPCWSTR,HMODULE,BOOL);
|
||||
|
||||
HRESULT WINAPI DllInstall(BOOL,LPCWSTR);
|
||||
|
||||
|
|
Loading…
Reference in a new issue