msvcp140: Add __crtFreeLibraryWhenCallbackReturns.
Signed-off-by: Daniel Lehman <dlehman@esri.com> Signed-off-by: Piotr Caban <piotr@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
5fb502b06e
commit
e54654ef3f
|
@ -3763,7 +3763,7 @@
|
||||||
@ cdecl __crtCreateThreadpoolTimer(ptr ptr ptr) MSVCP__crtCreateThreadpoolTimer
|
@ cdecl __crtCreateThreadpoolTimer(ptr ptr ptr) MSVCP__crtCreateThreadpoolTimer
|
||||||
@ cdecl __crtCreateThreadpoolWait(ptr ptr ptr) MSVCP__crtCreateThreadpoolWait
|
@ cdecl __crtCreateThreadpoolWait(ptr ptr ptr) MSVCP__crtCreateThreadpoolWait
|
||||||
@ stub __crtFlushProcessWriteBuffers
|
@ stub __crtFlushProcessWriteBuffers
|
||||||
@ stub __crtFreeLibraryWhenCallbackReturns
|
@ cdecl __crtFreeLibraryWhenCallbackReturns(ptr ptr) MSVCP__crtFreeLibraryWhenCallbackReturns
|
||||||
@ stub __crtGetCurrentProcessorNumber
|
@ stub __crtGetCurrentProcessorNumber
|
||||||
@ stub __crtGetFileInformationByHandleEx
|
@ stub __crtGetFileInformationByHandleEx
|
||||||
@ stub __crtGetLocaleInfoEx
|
@ stub __crtGetLocaleInfoEx
|
||||||
|
|
|
@ -1332,6 +1332,15 @@ VOID CDECL MSVCP__crtSetThreadpoolWait(TP_WAIT *wait, HANDLE handle, FILETIME *d
|
||||||
return SetThreadpoolWait(wait, handle, due_time);
|
return SetThreadpoolWait(wait, handle, due_time);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*********************************************************************
|
||||||
|
* __crtFreeLibraryWhenCallbackReturns (MSVCP140.@)
|
||||||
|
*/
|
||||||
|
VOID CDECL MSVCP__crtFreeLibraryWhenCallbackReturns(PTP_CALLBACK_INSTANCE instance, HMODULE mod)
|
||||||
|
{
|
||||||
|
TRACE("(%p %p)\n", instance, mod);
|
||||||
|
FreeLibraryWhenCallbackReturns(instance, mod);
|
||||||
|
}
|
||||||
|
|
||||||
/* ?_Execute_once@std@@YAHAAUonce_flag@1@P6GHPAX1PAPAX@Z1@Z */
|
/* ?_Execute_once@std@@YAHAAUonce_flag@1@P6GHPAX1PAPAX@Z1@Z */
|
||||||
/* ?_Execute_once@std@@YAHAEAUonce_flag@1@P6AHPEAX1PEAPEAX@Z1@Z */
|
/* ?_Execute_once@std@@YAHAEAUonce_flag@1@P6AHPEAX1PEAPEAX@Z1@Z */
|
||||||
BOOL __cdecl _Execute_once(INIT_ONCE *flag, PINIT_ONCE_FN func, void *param)
|
BOOL __cdecl _Execute_once(INIT_ONCE *flag, PINIT_ONCE_FN func, void *param)
|
||||||
|
|
|
@ -1994,6 +1994,7 @@ WINBASEAPI BOOL WINAPI FreeEnvironmentStringsW(LPWSTR);
|
||||||
#define FreeEnvironmentStrings WINELIB_NAME_AW(FreeEnvironmentStrings)
|
#define FreeEnvironmentStrings WINELIB_NAME_AW(FreeEnvironmentStrings)
|
||||||
WINBASEAPI BOOL WINAPI FreeLibrary(HMODULE);
|
WINBASEAPI BOOL WINAPI FreeLibrary(HMODULE);
|
||||||
WINBASEAPI VOID DECLSPEC_NORETURN WINAPI FreeLibraryAndExitThread(HINSTANCE,DWORD);
|
WINBASEAPI VOID DECLSPEC_NORETURN WINAPI FreeLibraryAndExitThread(HINSTANCE,DWORD);
|
||||||
|
WINBASEAPI VOID WINAPI FreeLibraryWhenCallbackReturns(PTP_CALLBACK_INSTANCE,HMODULE);
|
||||||
#define FreeModule(handle) FreeLibrary(handle)
|
#define FreeModule(handle) FreeLibrary(handle)
|
||||||
#define FreeProcInstance(proc) /*nothing*/
|
#define FreeProcInstance(proc) /*nothing*/
|
||||||
WINBASEAPI BOOL WINAPI FreeResource(HGLOBAL);
|
WINBASEAPI BOOL WINAPI FreeResource(HGLOBAL);
|
||||||
|
|
Loading…
Reference in New Issue