Fix the calling convention of DllCanUnloadNow.
This commit is contained in:
parent
35c65cf731
commit
23805995a6
|
@ -473,7 +473,7 @@ static void COMPOBJ_DLLList_Add(HANDLE hLibrary)
|
|||
static void COMPOBJ_DllList_FreeUnused(int Timeout)
|
||||
{
|
||||
OpenDll *curr, *next, *prev = NULL;
|
||||
typedef HRESULT(*DllCanUnloadNowFunc)(void);
|
||||
typedef HRESULT (WINAPI *DllCanUnloadNowFunc)(void);
|
||||
DllCanUnloadNowFunc DllCanUnloadNow;
|
||||
|
||||
TRACE("\n");
|
||||
|
|
Loading…
Reference in New Issue