40 win_skip(
"GetICMProfileA is not implemented\n" );
43 ok( !
ret,
"GetICMProfileA succeeded\n" );
46 ok( !
ret,
"GetICMProfileA succeeded\n" );
50 ok( !
ret,
"GetICMProfileA succeeded\n" );
55 ok( !
ret,
"GetICMProfileA succeeded\n" );
60 ok( !
ret,
"GetICMProfileA succeeded\n" );
67 ok( !
ret,
"GetICMProfileA succeeded\n" );
68 ok(
size,
"expected size > 0\n" );
69 ok(
filename[0] == 0,
"Expected filename to be empty\n" );
73 ok( !
ret,
"GetICMProfileA succeeded\n" );
92 win_skip(
"GetICMProfileW is not implemented\n" );
95 ok( !
ret,
"GetICMProfileW succeeded\n" );
98 ok( !
ret,
"GetICMProfileW succeeded\n" );
109 ok( !
ret,
"GetICMProfileW succeeded\n" );
113 ok( !
ret,
"GetICMProfileW succeeded\n" );
117 ok( !
ret,
"GetICMProfileW succeeded\n" );
124 ok( !
ret,
"GetICMProfileW succeeded\n" );
125 ok(
size,
"expected size > 0\n" );
142 win_skip(
"On NT4 where SetICMMode is not implemented but this is not advertised\n" );
171 win_skip(
"CreateDCW is not implemented\n" );
197 "expected -1 or 1, got %d\n",
ret);
232 win_skip(
"SetICMProfileA is not implemented\n");
243 ok(!
ret,
"SetICMProfileA succeeded\n");
245 "expected ERROR_INVALID_PARAMETER, got %lu\n",
error);
250 ok(!
ret,
"SetICMProfileA succeeded\n");
252 "expected ERROR_INVALID_HANDLE, got %lu\n",
error);
257 ok(!
ret,
"SetICMProfileA succeeded\n");
259 "expected ERROR_INVALID_PARAMETER, got %lu\n",
error);
275 win_skip(
"SetICMProfileW is not implemented\n");
286 ok(!
ret,
"SetICMProfileW succeeded\n");
292 ok(!
ret,
"SetICMProfileW succeeded\n");
298 ok(!
ret,
"SetICMProfileW succeeded\n");
#define ERROR_INSUFFICIENT_BUFFER
#define ERROR_CALL_NOT_IMPLEMENTED
#define ERROR_INVALID_PARAMETER
#define ERROR_INVALID_HANDLE
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)