uiautomationcore: 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:
parent
62877d4d97
commit
0077d80bd2
|
@ -1,4 +1,3 @@
|
||||||
EXTRADEFS = -DWINE_NO_LONG_TYPES
|
|
||||||
MODULE = uiautomationcore.dll
|
MODULE = uiautomationcore.dll
|
||||||
IMPORTLIB = uiautomationcore
|
IMPORTLIB = uiautomationcore
|
||||||
IMPORTS = uuid ole32 oleaut32 user32
|
IMPORTS = uuid ole32 oleaut32 user32
|
||||||
|
|
|
@ -52,7 +52,7 @@ static ULONG WINAPI uia_object_wrapper_AddRef(IUnknown *iface)
|
||||||
struct uia_object_wrapper *wrapper = impl_uia_object_wrapper_from_IUnknown(iface);
|
struct uia_object_wrapper *wrapper = impl_uia_object_wrapper_from_IUnknown(iface);
|
||||||
ULONG refcount = InterlockedIncrement(&wrapper->refcount);
|
ULONG refcount = InterlockedIncrement(&wrapper->refcount);
|
||||||
|
|
||||||
TRACE("%p, refcount %d\n", iface, refcount);
|
TRACE("%p, refcount %ld\n", iface, refcount);
|
||||||
|
|
||||||
return refcount;
|
return refcount;
|
||||||
}
|
}
|
||||||
|
@ -62,7 +62,7 @@ static ULONG WINAPI uia_object_wrapper_Release(IUnknown *iface)
|
||||||
struct uia_object_wrapper *wrapper = impl_uia_object_wrapper_from_IUnknown(iface);
|
struct uia_object_wrapper *wrapper = impl_uia_object_wrapper_from_IUnknown(iface);
|
||||||
ULONG refcount = InterlockedDecrement(&wrapper->refcount);
|
ULONG refcount = InterlockedDecrement(&wrapper->refcount);
|
||||||
|
|
||||||
TRACE("%p, refcount %d\n", iface, refcount);
|
TRACE("%p, refcount %ld\n", iface, refcount);
|
||||||
if (!refcount)
|
if (!refcount)
|
||||||
{
|
{
|
||||||
IUnknown_Release(wrapper->marshaler);
|
IUnknown_Release(wrapper->marshaler);
|
||||||
|
@ -178,7 +178,7 @@ ULONG WINAPI hwnd_host_provider_AddRef(IRawElementProviderSimple *iface)
|
||||||
struct hwnd_host_provider *host_prov = impl_from_hwnd_host_provider(iface);
|
struct hwnd_host_provider *host_prov = impl_from_hwnd_host_provider(iface);
|
||||||
ULONG refcount = InterlockedIncrement(&host_prov->refcount);
|
ULONG refcount = InterlockedIncrement(&host_prov->refcount);
|
||||||
|
|
||||||
TRACE("%p, refcount %d\n", iface, refcount);
|
TRACE("%p, refcount %ld\n", iface, refcount);
|
||||||
|
|
||||||
return refcount;
|
return refcount;
|
||||||
}
|
}
|
||||||
|
@ -188,7 +188,7 @@ ULONG WINAPI hwnd_host_provider_Release(IRawElementProviderSimple *iface)
|
||||||
struct hwnd_host_provider *host_prov = impl_from_hwnd_host_provider(iface);
|
struct hwnd_host_provider *host_prov = impl_from_hwnd_host_provider(iface);
|
||||||
ULONG refcount = InterlockedDecrement(&host_prov->refcount);
|
ULONG refcount = InterlockedDecrement(&host_prov->refcount);
|
||||||
|
|
||||||
TRACE("%p, refcount %d\n", iface, refcount);
|
TRACE("%p, refcount %ld\n", iface, refcount);
|
||||||
|
|
||||||
if (!refcount)
|
if (!refcount)
|
||||||
heap_free(host_prov);
|
heap_free(host_prov);
|
||||||
|
@ -311,7 +311,7 @@ int WINAPI UiaLookupId(enum AutomationIdentifierType type, const GUID *guid)
|
||||||
LRESULT WINAPI UiaReturnRawElementProvider(HWND hwnd, WPARAM wParam,
|
LRESULT WINAPI UiaReturnRawElementProvider(HWND hwnd, WPARAM wParam,
|
||||||
LPARAM lParam, IRawElementProviderSimple *elprov)
|
LPARAM lParam, IRawElementProviderSimple *elprov)
|
||||||
{
|
{
|
||||||
FIXME("(%p, %lx, %lx, %p) stub!\n", hwnd, wParam, lParam, elprov);
|
FIXME("(%p, %Ix, %Ix, %p) stub!\n", hwnd, wParam, lParam, elprov);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue