Commit 5c414922 authored by Zebediah Figura's avatar Zebediah Figura Committed by Alexandre Julliard

winecrt0: Make __wine_(un)register_resources() cdecl.

This fixes a bug where 64-bit winegstreamer.dll would fail to (un)register CLSID_VideoProcessorMFT when run manually with regsvr32. Signed-off-by: 's avatarZebediah Figura <zfigura@codeweavers.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent 6a3f4b8e
......@@ -94,7 +94,7 @@ static BOOL CALLBACK register_resource( HMODULE module, LPCWSTR type, LPWSTR nam
return SUCCEEDED(info->result);
}
HRESULT __wine_register_resources( HMODULE module )
HRESULT __cdecl __wine_register_resources( HMODULE module )
{
struct reg_info info;
......@@ -106,7 +106,7 @@ HRESULT __wine_register_resources( HMODULE module )
return info.result;
}
HRESULT __wine_unregister_resources( HMODULE module )
HRESULT __cdecl __wine_unregister_resources( HMODULE module )
{
struct reg_info info;
......
......@@ -203,8 +203,8 @@ RPCRTAPI HRESULT RPC_ENTRY
RPCRTAPI HRESULT RPC_ENTRY
NdrDllUnregisterProxy( HMODULE hDll, const ProxyFileInfo **pProxyFileList, const CLSID *pclsid );
HRESULT __wine_register_resources( HMODULE module ) DECLSPEC_HIDDEN;
HRESULT __wine_unregister_resources( HMODULE module ) DECLSPEC_HIDDEN;
HRESULT __cdecl __wine_register_resources( HMODULE module ) DECLSPEC_HIDDEN;
HRESULT __cdecl __wine_unregister_resources( HMODULE module ) DECLSPEC_HIDDEN;
#define CSTDSTUBBUFFERRELEASE(pFactory) \
ULONG WINAPI CStdStubBuffer_Release(IRpcStubBuffer *This) \
......
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