psapi: Implement semi-stub for K32EnumProcessModulesEx.

This commit is contained in:
Sebastian Lackner 2014-11-29 23:00:53 +01:00 committed by Alexandre Julliard
parent 8df2774124
commit cacc9ae888
4 changed files with 17 additions and 0 deletions

View File

@ -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)

View File

@ -1246,6 +1246,20 @@ BOOL WINAPI K32EnumProcessModules(HANDLE process, HMODULE *lphModule,
return ret == 0; return ret == 0;
} }
/***********************************************************************
* 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.@)
*/ */

View File

@ -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

View File

@ -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)