#include <stdarg.h>
#include "windef.h"
#include "winbase.h"
#include "winuser.h"
#include "wingdi.h"
#include "wine/test.h"
Go to the source code of this file.
◆ enum_profiles_callbackA()
◆ enum_profiles_callbackW()
◆ START_TEST()
Definition at line 307 of file icm.c.
HDC WINAPI GetDC(_In_opt_ HWND)
static void test_SetICMProfileA(HDC dc)
static void test_EnumICMProfilesA(HDC dc)
int WINAPI ReleaseDC(_In_opt_ HWND, _In_ HDC)
static void test_GetICMProfileA(HDC dc)
static void test_EnumICMProfilesW(HDC dc)
static void test_GetICMProfileW(HDC dc)
static void test_SetICMMode(HDC dc)
static void test_SetICMProfileW(HDC dc)
◆ test_EnumICMProfilesA()
static void test_EnumICMProfilesA |
( |
HDC |
dc | ) |
|
|
static |
Definition at line 190 of file icm.c.
199 "expected -1 or 1, got %d\n",
ret);
static INT CALLBACK enum_profiles_callbackA(LPSTR filename, LPARAM lparam)
int WINAPI EnumICMProfilesA(HDC a0, ICMENUMPROCA a1, LPARAM a2)
Referenced by START_TEST().
◆ test_EnumICMProfilesW()
static void test_EnumICMProfilesW |
( |
HDC |
dc | ) |
|
|
static |
Definition at line 210 of file icm.c.
int WINAPI EnumICMProfilesW(HDC hDC, ICMENUMPROCW lpEnumICMProfilesFunc, LPARAM lParam)
static INT CALLBACK enum_profiles_callbackW(LPWSTR filename, LPARAM lparam)
Referenced by START_TEST().
◆ test_GetICMProfileA()
static void test_GetICMProfileA |
( |
HDC |
dc | ) |
|
|
static |
Definition at line 32 of file icm.c.
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" );
DWORD WINAPI GetLastError(VOID)
BOOL WINAPI GetICMProfileA(HDC hdc, LPDWORD pBufSize, LPSTR pszFilename)
#define ERROR_CALL_NOT_IMPLEMENTED
#define ERROR_INSUFFICIENT_BUFFER
Referenced by START_TEST().
◆ test_GetICMProfileW()
static void test_GetICMProfileW |
( |
HDC |
dc | ) |
|
|
static |
Definition at line 84 of file icm.c.
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" );
DWORD WINAPI GetLastError(VOID)
BOOL WINAPI GetICMProfileW(HDC hdc, LPDWORD size, LPWSTR filename)
#define ERROR_CALL_NOT_IMPLEMENTED
#define ERROR_INSUFFICIENT_BUFFER
Referenced by START_TEST().
◆ test_SetICMMode()
static void test_SetICMMode |
( |
HDC |
dc | ) |
|
|
static |
Definition at line 135 of file icm.c.
144 win_skip(
"On NT4 where SetICMMode is not implemented but this is not advertised\n" );
173 win_skip(
"CreateDCW is not implemented\n" );
DWORD WINAPI GetLastError(VOID)
int WINAPI SetICMMode(HDC hdc, int iEnableICM)
BOOL WINAPI GetICMProfileA(HDC hdc, LPDWORD pBufSize, LPSTR pszFilename)
static const WCHAR displayW[]
BOOL WINAPI DeleteDC(_In_ HDC)
HDC WINAPI CreateDCW(_In_opt_ LPCWSTR pszDriver, _In_opt_ LPCWSTR pszDevice, _In_opt_ LPCWSTR psz, _In_opt_ const DEVMODEW *pdmInit)
#define ERROR_CALL_NOT_IMPLEMENTED
Referenced by START_TEST().
◆ test_SetICMProfileA()
static void test_SetICMProfileA |
( |
HDC |
dc | ) |
|
|
static |
Definition at line 224 of file icm.c.
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);
#define ERROR_INVALID_PARAMETER
#define ERROR_INVALID_HANDLE
DWORD WINAPI GetLastError(VOID)
BOOL WINAPI SetICMProfileA(HDC a0, LPSTR a1)
BOOL WINAPI GetICMProfileA(HDC hdc, LPDWORD pBufSize, LPSTR pszFilename)
#define ERROR_CALL_NOT_IMPLEMENTED
Referenced by START_TEST().
◆ test_SetICMProfileW()
static void test_SetICMProfileW |
( |
HDC |
dc | ) |
|
|
static |
Definition at line 267 of file icm.c.
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_INVALID_PARAMETER
#define ERROR_INVALID_HANDLE
DWORD WINAPI GetLastError(VOID)
BOOL WINAPI GetICMProfileW(HDC hdc, LPDWORD size, LPWSTR filename)
BOOL WINAPI SetICMProfileW(HDC a0, LPWSTR a1)
#define ERROR_CALL_NOT_IMPLEMENTED
Referenced by START_TEST().
◆ displayW