mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-07 05:44:05 +00:00
windows.devices.enumeration: 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
fe017525a8
commit
de20523464
|
@ -1,4 +1,3 @@
|
||||||
EXTRADEFS = -DWINE_NO_LONG_TYPES
|
|
||||||
MODULE = windows.devices.enumeration.dll
|
MODULE = windows.devices.enumeration.dll
|
||||||
IMPORTS = combase uuid
|
IMPORTS = combase uuid
|
||||||
|
|
||||||
|
|
|
@ -82,7 +82,7 @@ static ULONG STDMETHODCALLTYPE windows_devices_enumeration_AddRef(
|
||||||
{
|
{
|
||||||
struct windows_devices_enumeration *impl = impl_from_IActivationFactory(iface);
|
struct windows_devices_enumeration *impl = impl_from_IActivationFactory(iface);
|
||||||
ULONG ref = InterlockedIncrement(&impl->ref);
|
ULONG ref = InterlockedIncrement(&impl->ref);
|
||||||
TRACE("iface %p, ref %u.\n", iface, ref);
|
TRACE("iface %p, ref %lu.\n", iface, ref);
|
||||||
return ref;
|
return ref;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -91,7 +91,7 @@ static ULONG STDMETHODCALLTYPE windows_devices_enumeration_Release(
|
||||||
{
|
{
|
||||||
struct windows_devices_enumeration *impl = impl_from_IActivationFactory(iface);
|
struct windows_devices_enumeration *impl = impl_from_IActivationFactory(iface);
|
||||||
ULONG ref = InterlockedDecrement(&impl->ref);
|
ULONG ref = InterlockedDecrement(&impl->ref);
|
||||||
TRACE("iface %p, ref %u.\n", iface, ref);
|
TRACE("iface %p, ref %lu.\n", iface, ref);
|
||||||
return ref;
|
return ref;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue