windowscodecsext/tests: Enable compilation with long types.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com> Signed-off-by: Esme Povirk <esme@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
e9ef4df8c8
commit
b228b914fd
|
@ -1,4 +1,3 @@
|
||||||
EXTRADEFS = -DWINE_NO_LONG_TYPES
|
|
||||||
TESTDLL = windowscodecsext.dll
|
TESTDLL = windowscodecsext.dll
|
||||||
IMPORTS = windowscodecsext ole32
|
IMPORTS = windowscodecsext ole32
|
||||||
|
|
||||||
|
|
|
@ -32,28 +32,28 @@ static void test_WICCreateColorTransform_Proxy(void)
|
||||||
IWICColorTransform *transform;
|
IWICColorTransform *transform;
|
||||||
|
|
||||||
hr = WICCreateColorTransform_Proxy( NULL );
|
hr = WICCreateColorTransform_Proxy( NULL );
|
||||||
ok( hr == E_INVALIDARG, "got %08x\n", hr );
|
ok( hr == E_INVALIDARG, "got %08lx\n", hr );
|
||||||
|
|
||||||
transform = NULL;
|
transform = NULL;
|
||||||
hr = WICCreateColorTransform_Proxy( &transform );
|
hr = WICCreateColorTransform_Proxy( &transform );
|
||||||
ok( hr == S_OK, "got %08x\n", hr );
|
ok( hr == S_OK, "got %08lx\n", hr );
|
||||||
if (transform) IWICColorTransform_Release( transform );
|
if (transform) IWICColorTransform_Release( transform );
|
||||||
|
|
||||||
hr = CoInitializeEx( NULL, COINIT_APARTMENTTHREADED );
|
hr = CoInitializeEx( NULL, COINIT_APARTMENTTHREADED );
|
||||||
ok( hr == S_OK, "got %08x\n", hr );
|
ok( hr == S_OK, "got %08lx\n", hr );
|
||||||
|
|
||||||
transform = NULL;
|
transform = NULL;
|
||||||
hr = WICCreateColorTransform_Proxy( &transform );
|
hr = WICCreateColorTransform_Proxy( &transform );
|
||||||
ok( hr == S_OK, "got %08x\n", hr );
|
ok( hr == S_OK, "got %08lx\n", hr );
|
||||||
if (transform) IWICColorTransform_Release( transform );
|
if (transform) IWICColorTransform_Release( transform );
|
||||||
CoUninitialize();
|
CoUninitialize();
|
||||||
|
|
||||||
hr = CoInitializeEx( NULL, COINIT_MULTITHREADED );
|
hr = CoInitializeEx( NULL, COINIT_MULTITHREADED );
|
||||||
ok( hr == S_OK, "got %08x\n", hr );
|
ok( hr == S_OK, "got %08lx\n", hr );
|
||||||
|
|
||||||
transform = NULL;
|
transform = NULL;
|
||||||
hr = WICCreateColorTransform_Proxy( &transform );
|
hr = WICCreateColorTransform_Proxy( &transform );
|
||||||
ok( hr == S_OK, "got %08x\n", hr );
|
ok( hr == S_OK, "got %08lx\n", hr );
|
||||||
if (transform) IWICColorTransform_Release( transform );
|
if (transform) IWICColorTransform_Release( transform );
|
||||||
CoUninitialize();
|
CoUninitialize();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue