Commit cacc9ae8 authored by Sebastian Lackner's avatar Sebastian Lackner Committed by Alexandre Julliard

psapi: Implement semi-stub for K32EnumProcessModulesEx.

parent 8df27741
...@@ -803,6 +803,7 @@ ...@@ -803,6 +803,7 @@
@ stdcall K32EnumPageFilesA(ptr ptr) @ stdcall K32EnumPageFilesA(ptr ptr)
@ stdcall K32EnumPageFilesW(ptr ptr) @ stdcall K32EnumPageFilesW(ptr ptr)
@ stdcall K32EnumProcessModules(long ptr long ptr) @ stdcall K32EnumProcessModules(long ptr long ptr)
@ stdcall K32EnumProcessModulesEx(long ptr long ptr long)
@ stdcall K32EnumProcesses(ptr long ptr) @ stdcall K32EnumProcesses(ptr long ptr)
@ stdcall K32GetDeviceDriverBaseNameA(ptr ptr long) @ stdcall K32GetDeviceDriverBaseNameA(ptr ptr long)
@ stdcall K32GetDeviceDriverBaseNameW(ptr ptr long) @ stdcall K32GetDeviceDriverBaseNameW(ptr ptr long)
......
...@@ -1247,6 +1247,20 @@ BOOL WINAPI K32EnumProcessModules(HANDLE process, HMODULE *lphModule, ...@@ -1247,6 +1247,20 @@ BOOL WINAPI K32EnumProcessModules(HANDLE process, HMODULE *lphModule,
} }
/*********************************************************************** /***********************************************************************
* K32EnumProcessModulesEx (KERNEL32.@)
*
* NOTES
* Returned list is in load order.
*/
BOOL WINAPI K32EnumProcessModulesEx(HANDLE process, HMODULE *lphModule,
DWORD cb, DWORD *needed, DWORD filter)
{
FIXME("(%p, %p, %d, %p, %d) semi-stub\n",
process, lphModule, cb, needed, filter);
return K32EnumProcessModules(process, lphModule, cb, needed);
}
/***********************************************************************
* K32GetModuleBaseNameW (KERNEL32.@) * K32GetModuleBaseNameW (KERNEL32.@)
*/ */
DWORD WINAPI K32GetModuleBaseNameW(HANDLE process, HMODULE module, DWORD WINAPI K32GetModuleBaseNameW(HANDLE process, HMODULE module,
......
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
@ stdcall EnumPageFilesA(ptr ptr) kernel32.K32EnumPageFilesA @ stdcall EnumPageFilesA(ptr ptr) kernel32.K32EnumPageFilesA
@ stdcall EnumPageFilesW(ptr ptr) kernel32.K32EnumPageFilesW @ stdcall EnumPageFilesW(ptr ptr) kernel32.K32EnumPageFilesW
@ stdcall EnumProcessModules(long ptr long ptr) kernel32.K32EnumProcessModules @ stdcall EnumProcessModules(long ptr long ptr) kernel32.K32EnumProcessModules
@ stdcall EnumProcessModulesEx(long ptr long ptr long) kernel32.K32EnumProcessModulesEx
@ stdcall EnumProcesses(ptr long ptr) kernel32.K32EnumProcesses @ stdcall EnumProcesses(ptr long ptr) kernel32.K32EnumProcesses
@ stdcall GetDeviceDriverBaseNameA(ptr ptr long) kernel32.K32GetDeviceDriverBaseNameA @ stdcall GetDeviceDriverBaseNameA(ptr ptr long) kernel32.K32GetDeviceDriverBaseNameA
@ stdcall GetDeviceDriverBaseNameW(ptr ptr long) kernel32.K32GetDeviceDriverBaseNameW @ stdcall GetDeviceDriverBaseNameW(ptr ptr long) kernel32.K32GetDeviceDriverBaseNameW
......
...@@ -81,6 +81,7 @@ extern "C" { ...@@ -81,6 +81,7 @@ extern "C" {
BOOL WINAPI EnumProcesses(DWORD*, DWORD, DWORD*); BOOL WINAPI EnumProcesses(DWORD*, DWORD, DWORD*);
BOOL WINAPI EnumProcessModules(HANDLE, HMODULE*, DWORD, LPDWORD); BOOL WINAPI EnumProcessModules(HANDLE, HMODULE*, DWORD, LPDWORD);
BOOL WINAPI EnumProcessModulesEx(HANDLE, HMODULE*, DWORD, LPDWORD, DWORD);
DWORD WINAPI GetModuleBaseNameA(HANDLE, HMODULE, LPSTR, DWORD); DWORD WINAPI GetModuleBaseNameA(HANDLE, HMODULE, LPSTR, DWORD);
DWORD WINAPI GetModuleBaseNameW(HANDLE, HMODULE, LPWSTR, DWORD); DWORD WINAPI GetModuleBaseNameW(HANDLE, HMODULE, LPWSTR, DWORD);
#define GetModuleBaseName WINELIB_NAME_AW(GetModuleBaseName) #define GetModuleBaseName WINELIB_NAME_AW(GetModuleBaseName)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment