diff --git a/dlls/kernel32/kernel32.spec b/dlls/kernel32/kernel32.spec index 9c70d56aa5a..79d1720a084 100644 --- a/dlls/kernel32/kernel32.spec +++ b/dlls/kernel32/kernel32.spec @@ -835,7 +835,7 @@ @ stdcall OpenMutexA(long long str) @ stdcall OpenMutexW(long long wstr) @ stdcall OpenProcess(long long long) -@ stub OpenProfileUserMapping +@ stdcall OpenProfileUserMapping() @ stdcall OpenSemaphoreA(long long str) @ stdcall OpenSemaphoreW(long long wstr) @ stdcall OpenThread(long long long) diff --git a/dlls/kernel32/profile.c b/dlls/kernel32/profile.c index 8fe83bb2a03..e0b709c51df 100644 --- a/dlls/kernel32/profile.c +++ b/dlls/kernel32/profile.c @@ -1849,6 +1849,15 @@ void WINAPI WriteOutProfiles16(void) RtlLeaveCriticalSection( &PROFILE_CritSect ); } +/*********************************************************************** + * OpenProfileUserMapping (KERNEL32.@) + */ +BOOL WINAPI OpenProfileUserMapping(void) { + FIXME("(), stub!\n"); + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + /*********************************************************************** * CloseProfileUserMapping (KERNEL32.@) */