inseng: Enable compilation with long types.

Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Eric Pouech 2022-02-11 08:40:47 +01:00 committed by Alexandre Julliard
parent 03598fa6f6
commit 8d006c1db7
2 changed files with 7 additions and 8 deletions

View File

@ -1,4 +1,3 @@
EXTRADEFS = -DWINE_NO_LONG_TYPES
MODULE = inseng.dll
IMPORTS = uuid ole32 advapi32

View File

@ -74,7 +74,7 @@ static ULONG WINAPI InstallEngine_AddRef(IInstallEngine2 *iface)
InstallEngine *This = impl_from_IInstallEngine2(iface);
LONG ref = InterlockedIncrement(&This->ref);
TRACE("(%p) ref=%d\n", This, ref);
TRACE("(%p) ref=%ld\n", This, ref);
return ref;
}
@ -84,7 +84,7 @@ static ULONG WINAPI InstallEngine_Release(IInstallEngine2 *iface)
InstallEngine *This = impl_from_IInstallEngine2(iface);
LONG ref = InterlockedDecrement(&This->ref);
TRACE("(%p) ref=%d\n", This, ref);
TRACE("(%p) ref=%ld\n", This, ref);
if(!ref)
heap_free(This);
@ -109,14 +109,14 @@ static HRESULT WINAPI InstallEngine_SetCifFile(IInstallEngine2 *iface, const cha
static HRESULT WINAPI InstallEngine_DownloadComponents(IInstallEngine2 *iface, DWORD flags)
{
InstallEngine *This = impl_from_IInstallEngine2(iface);
FIXME("(%p)->(%x)\n", This, flags);
FIXME("(%p)->(%lx)\n", This, flags);
return E_NOTIMPL;
}
static HRESULT WINAPI InstallEngine_InstallComponents(IInstallEngine2 *iface, DWORD flags)
{
InstallEngine *This = impl_from_IInstallEngine2(iface);
FIXME("(%p)->(%x)\n", This, flags);
FIXME("(%p)->(%lx)\n", This, flags);
return E_NOTIMPL;
}
@ -158,7 +158,7 @@ static HRESULT WINAPI InstallEngine_UnregisterInstallEngineCallback(IInstallEngi
static HRESULT WINAPI InstallEngine_SetAction(IInstallEngine2 *iface, const char *id, DWORD action, DWORD priority)
{
InstallEngine *This = impl_from_IInstallEngine2(iface);
FIXME("(%p)->(%s %d %d)\n", This, debugstr_a(id), action, priority);
FIXME("(%p)->(%s %ld %ld)\n", This, debugstr_a(id), action, priority);
return E_NOTIMPL;
}
@ -207,7 +207,7 @@ static HRESULT WINAPI InstallEngine_SetInstallDrive(IInstallEngine2 *iface, char
static HRESULT WINAPI InstallEngine_SetInstallOptions(IInstallEngine2 *iface, DWORD flags)
{
InstallEngine *This = impl_from_IInstallEngine2(iface);
FIXME("(%p)->(%x)\n", This, flags);
FIXME("(%p)->(%lx)\n", This, flags);
return E_NOTIMPL;
}
@ -228,7 +228,7 @@ static HRESULT WINAPI InstallEngine_SetIStream(IInstallEngine2 *iface, IStream *
static HRESULT WINAPI InstallEngine_Abort(IInstallEngine2 *iface, DWORD flags)
{
InstallEngine *This = impl_from_IInstallEngine2(iface);
FIXME("(%p)->(%x)\n", This, flags);
FIXME("(%p)->(%lx)\n", This, flags);
return E_NOTIMPL;
}