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:
Eric Pouech 2022-03-09 08:21:19 +01:00 committed by Alexandre Julliard
parent e9ef4df8c8
commit b228b914fd
2 changed files with 6 additions and 7 deletions

View File

@ -1,4 +1,3 @@
EXTRADEFS = -DWINE_NO_LONG_TYPES
TESTDLL = windowscodecsext.dll
IMPORTS = windowscodecsext ole32

View File

@ -32,28 +32,28 @@ static void test_WICCreateColorTransform_Proxy(void)
IWICColorTransform *transform;
hr = WICCreateColorTransform_Proxy( NULL );
ok( hr == E_INVALIDARG, "got %08x\n", hr );
ok( hr == E_INVALIDARG, "got %08lx\n", hr );
transform = NULL;
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 );
hr = CoInitializeEx( NULL, COINIT_APARTMENTTHREADED );
ok( hr == S_OK, "got %08x\n", hr );
ok( hr == S_OK, "got %08lx\n", hr );
transform = NULL;
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 );
CoUninitialize();
hr = CoInitializeEx( NULL, COINIT_MULTITHREADED );
ok( hr == S_OK, "got %08x\n", hr );
ok( hr == S_OK, "got %08lx\n", hr );
transform = NULL;
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 );
CoUninitialize();
}