forked from Mirrors/wine-wine
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: Zebediah Figura <zfigura@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>feature/deterministic
parent
6a3f4b8ee3
commit
5c414922b4
|
@ -94,7 +94,7 @@ static BOOL CALLBACK register_resource( HMODULE module, LPCWSTR type, LPWSTR nam
|
||||||
return SUCCEEDED(info->result);
|
return SUCCEEDED(info->result);
|
||||||
}
|
}
|
||||||
|
|
||||||
HRESULT __wine_register_resources( HMODULE module )
|
HRESULT __cdecl __wine_register_resources( HMODULE module )
|
||||||
{
|
{
|
||||||
struct reg_info info;
|
struct reg_info info;
|
||||||
|
|
||||||
|
@ -106,7 +106,7 @@ HRESULT __wine_register_resources( HMODULE module )
|
||||||
return info.result;
|
return info.result;
|
||||||
}
|
}
|
||||||
|
|
||||||
HRESULT __wine_unregister_resources( HMODULE module )
|
HRESULT __cdecl __wine_unregister_resources( HMODULE module )
|
||||||
{
|
{
|
||||||
struct reg_info info;
|
struct reg_info info;
|
||||||
|
|
||||||
|
|
|
@ -203,8 +203,8 @@ RPCRTAPI HRESULT RPC_ENTRY
|
||||||
RPCRTAPI HRESULT RPC_ENTRY
|
RPCRTAPI HRESULT RPC_ENTRY
|
||||||
NdrDllUnregisterProxy( HMODULE hDll, const ProxyFileInfo **pProxyFileList, const CLSID *pclsid );
|
NdrDllUnregisterProxy( HMODULE hDll, const ProxyFileInfo **pProxyFileList, const CLSID *pclsid );
|
||||||
|
|
||||||
HRESULT __wine_register_resources( HMODULE module ) DECLSPEC_HIDDEN;
|
HRESULT __cdecl __wine_register_resources( HMODULE module ) DECLSPEC_HIDDEN;
|
||||||
HRESULT __wine_unregister_resources( HMODULE module ) DECLSPEC_HIDDEN;
|
HRESULT __cdecl __wine_unregister_resources( HMODULE module ) DECLSPEC_HIDDEN;
|
||||||
|
|
||||||
#define CSTDSTUBBUFFERRELEASE(pFactory) \
|
#define CSTDSTUBBUFFERRELEASE(pFactory) \
|
||||||
ULONG WINAPI CStdStubBuffer_Release(IRpcStubBuffer *This) \
|
ULONG WINAPI CStdStubBuffer_Release(IRpcStubBuffer *This) \
|
||||||
|
|
Loading…
Reference in New Issue