42 win_skip(
"GetICMProfileA is not implemented\n" );
45 ok( !
ret,
"GetICMProfileA succeeded\n" );
48 ok( !
ret,
"GetICMProfileA succeeded\n" );
52 ok( !
ret,
"GetICMProfileA succeeded\n" );
57 ok( !
ret,
"GetICMProfileA succeeded\n" );
62 ok( !
ret,
"GetICMProfileA succeeded\n" );
69 ok( !
ret,
"GetICMProfileA succeeded\n" );
70 ok(
size,
"expected size > 0\n" );
71 ok(
filename[0] == 0,
"Expected filename to be empty\n" );
75 ok( !
ret,
"GetICMProfileA succeeded\n" );
94 win_skip(
"GetICMProfileW is not implemented\n" );
97 ok( !
ret,
"GetICMProfileW succeeded\n" );
100 ok( !
ret,
"GetICMProfileW succeeded\n" );
111 ok( !
ret,
"GetICMProfileW succeeded\n" );
115 ok( !
ret,
"GetICMProfileW succeeded\n" );
119 ok( !
ret,
"GetICMProfileW succeeded\n" );
126 ok( !
ret,
"GetICMProfileW succeeded\n" );
127 ok(
size,
"expected size > 0\n" );
144 win_skip(
"On NT4 where SetICMMode is not implemented but this is not advertised\n" );
173 win_skip(
"CreateDCW is not implemented\n" );
199 "expected -1 or 1, got %d\n",
ret);
234 win_skip(
"SetICMProfileA is not implemented\n");
245 ok(!
ret,
"SetICMProfileA succeeded\n");
247 "expected ERROR_INVALID_PARAMETER, got %u\n",
error);
252 ok(!
ret,
"SetICMProfileA succeeded\n");
254 "expected ERROR_INVALID_HANDLE, got %u\n",
error);
259 ok(!
ret,
"SetICMProfileA succeeded\n");
261 "expected ERROR_INVALID_PARAMETER, got %u\n",
error);
277 win_skip(
"SetICMProfileW is not implemented\n");
288 ok(!
ret,
"SetICMProfileW succeeded\n");
294 ok(!
ret,
"SetICMProfileW succeeded\n");
300 ok(!
ret,
"SetICMProfileW succeeded\n");
#define ERROR_INSUFFICIENT_BUFFER
#define ERROR_CALL_NOT_IMPLEMENTED
#define ERROR_INVALID_PARAMETER
#define ERROR_INVALID_HANDLE
static const WCHAR displayW[]
static void test_SetICMMode(HDC dc)
static void test_GetICMProfileA(HDC dc)
static void test_SetICMProfileW(HDC dc)
static void test_EnumICMProfilesA(HDC dc)
static void test_GetICMProfileW(HDC dc)
static INT CALLBACK enum_profiles_callbackW(LPWSTR filename, LPARAM lparam)
static void test_SetICMProfileA(HDC dc)
static INT CALLBACK enum_profiles_callbackA(LPSTR filename, LPARAM lparam)
static void test_EnumICMProfilesW(HDC dc)
DWORD WINAPI GetLastError(void)
int WINAPI EnumICMProfilesW(_In_ HDC, _In_ ICMENUMPROCW, _In_opt_ LPARAM)
int WINAPI SetICMMode(_In_ HDC, _In_ int)
BOOL WINAPI GetICMProfileA(_In_ HDC hdc, _Inout_ LPDWORD pBufSize, _Out_writes_opt_(*pBufSize) LPSTR pszFilename)
BOOL WINAPI SetICMProfileW(_In_ HDC, _In_ LPWSTR)
BOOL WINAPI SetICMProfileA(_In_ HDC, _In_ LPSTR)
BOOL WINAPI DeleteDC(_In_ HDC)
BOOL WINAPI GetICMProfileW(_In_ HDC hdc, _Inout_ LPDWORD pBufSize, _Out_writes_opt_(*pBufSize) LPWSTR pszFilename)
int WINAPI EnumICMProfilesA(_In_ HDC, _In_ ICMENUMPROCA, _In_opt_ LPARAM)
HDC WINAPI CreateDCW(_In_opt_ LPCWSTR pszDriver, _In_opt_ LPCWSTR pszDevice, _In_opt_ LPCWSTR psz, _In_opt_ const DEVMODEW *pdmInit)
int WINAPI ReleaseDC(_In_opt_ HWND, _In_ HDC)
HDC WINAPI GetDC(_In_opt_ HWND)