Commit 8d006c1d authored by Eric Pouech's avatar Eric Pouech Committed by Alexandre Julliard

inseng: Enable compilation with long types.

parent 03598fa6
EXTRADEFS = -DWINE_NO_LONG_TYPES
MODULE = inseng.dll MODULE = inseng.dll
IMPORTS = uuid ole32 advapi32 IMPORTS = uuid ole32 advapi32
......
...@@ -74,7 +74,7 @@ static ULONG WINAPI InstallEngine_AddRef(IInstallEngine2 *iface) ...@@ -74,7 +74,7 @@ static ULONG WINAPI InstallEngine_AddRef(IInstallEngine2 *iface)
InstallEngine *This = impl_from_IInstallEngine2(iface); InstallEngine *This = impl_from_IInstallEngine2(iface);
LONG ref = InterlockedIncrement(&This->ref); LONG ref = InterlockedIncrement(&This->ref);
TRACE("(%p) ref=%d\n", This, ref); TRACE("(%p) ref=%ld\n", This, ref);
return ref; return ref;
} }
...@@ -84,7 +84,7 @@ static ULONG WINAPI InstallEngine_Release(IInstallEngine2 *iface) ...@@ -84,7 +84,7 @@ static ULONG WINAPI InstallEngine_Release(IInstallEngine2 *iface)
InstallEngine *This = impl_from_IInstallEngine2(iface); InstallEngine *This = impl_from_IInstallEngine2(iface);
LONG ref = InterlockedDecrement(&This->ref); LONG ref = InterlockedDecrement(&This->ref);
TRACE("(%p) ref=%d\n", This, ref); TRACE("(%p) ref=%ld\n", This, ref);
if(!ref) if(!ref)
heap_free(This); heap_free(This);
...@@ -109,14 +109,14 @@ static HRESULT WINAPI InstallEngine_SetCifFile(IInstallEngine2 *iface, const cha ...@@ -109,14 +109,14 @@ static HRESULT WINAPI InstallEngine_SetCifFile(IInstallEngine2 *iface, const cha
static HRESULT WINAPI InstallEngine_DownloadComponents(IInstallEngine2 *iface, DWORD flags) static HRESULT WINAPI InstallEngine_DownloadComponents(IInstallEngine2 *iface, DWORD flags)
{ {
InstallEngine *This = impl_from_IInstallEngine2(iface); InstallEngine *This = impl_from_IInstallEngine2(iface);
FIXME("(%p)->(%x)\n", This, flags); FIXME("(%p)->(%lx)\n", This, flags);
return E_NOTIMPL; return E_NOTIMPL;
} }
static HRESULT WINAPI InstallEngine_InstallComponents(IInstallEngine2 *iface, DWORD flags) static HRESULT WINAPI InstallEngine_InstallComponents(IInstallEngine2 *iface, DWORD flags)
{ {
InstallEngine *This = impl_from_IInstallEngine2(iface); InstallEngine *This = impl_from_IInstallEngine2(iface);
FIXME("(%p)->(%x)\n", This, flags); FIXME("(%p)->(%lx)\n", This, flags);
return E_NOTIMPL; return E_NOTIMPL;
} }
...@@ -158,7 +158,7 @@ static HRESULT WINAPI InstallEngine_UnregisterInstallEngineCallback(IInstallEngi ...@@ -158,7 +158,7 @@ static HRESULT WINAPI InstallEngine_UnregisterInstallEngineCallback(IInstallEngi
static HRESULT WINAPI InstallEngine_SetAction(IInstallEngine2 *iface, const char *id, DWORD action, DWORD priority) static HRESULT WINAPI InstallEngine_SetAction(IInstallEngine2 *iface, const char *id, DWORD action, DWORD priority)
{ {
InstallEngine *This = impl_from_IInstallEngine2(iface); 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; return E_NOTIMPL;
} }
...@@ -207,7 +207,7 @@ static HRESULT WINAPI InstallEngine_SetInstallDrive(IInstallEngine2 *iface, char ...@@ -207,7 +207,7 @@ static HRESULT WINAPI InstallEngine_SetInstallDrive(IInstallEngine2 *iface, char
static HRESULT WINAPI InstallEngine_SetInstallOptions(IInstallEngine2 *iface, DWORD flags) static HRESULT WINAPI InstallEngine_SetInstallOptions(IInstallEngine2 *iface, DWORD flags)
{ {
InstallEngine *This = impl_from_IInstallEngine2(iface); InstallEngine *This = impl_from_IInstallEngine2(iface);
FIXME("(%p)->(%x)\n", This, flags); FIXME("(%p)->(%lx)\n", This, flags);
return E_NOTIMPL; return E_NOTIMPL;
} }
...@@ -228,7 +228,7 @@ static HRESULT WINAPI InstallEngine_SetIStream(IInstallEngine2 *iface, IStream * ...@@ -228,7 +228,7 @@ static HRESULT WINAPI InstallEngine_SetIStream(IInstallEngine2 *iface, IStream *
static HRESULT WINAPI InstallEngine_Abort(IInstallEngine2 *iface, DWORD flags) static HRESULT WINAPI InstallEngine_Abort(IInstallEngine2 *iface, DWORD flags)
{ {
InstallEngine *This = impl_from_IInstallEngine2(iface); InstallEngine *This = impl_from_IInstallEngine2(iface);
FIXME("(%p)->(%x)\n", This, flags); FIXME("(%p)->(%lx)\n", This, flags);
return E_NOTIMPL; return E_NOTIMPL;
} }
......
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