mscms: Set the last error code to an unusual value.
This commit is contained in:
parent
55f7f8b999
commit
dc2cdf13a4
|
@ -495,7 +495,7 @@ static void enum_registered_color_profiles(void)
|
|||
#define fail_GSCSPA(pMachName, dwProfID, pProfName, pdwSz, dwSz, GLE_OK) \
|
||||
do { \
|
||||
size = dwSz; \
|
||||
SetLastError(0); \
|
||||
SetLastError(0xfaceabad); \
|
||||
ret = pGetStandardColorSpaceProfileA(pMachName, dwProfID, pProfName, pdwSz);\
|
||||
GLE = GetLastError(); \
|
||||
ok( !ret && GLE_OK, \
|
||||
|
@ -562,7 +562,7 @@ static void test_GetStandardColorSpaceProfileA(void)
|
|||
#define fail_GSCSPW(pMachName, dwProfID, pProfName, pdwSz, dwSz, GLE_OK) \
|
||||
do { \
|
||||
size = dwSz; \
|
||||
SetLastError(0); \
|
||||
SetLastError(0xfaceabad); \
|
||||
ret = pGetStandardColorSpaceProfileW(pMachName, dwProfID, pProfName, pdwSz);\
|
||||
GLE = GetLastError(); \
|
||||
ok( !ret && GLE_OK, \
|
||||
|
|
Loading…
Reference in New Issue