mscms: Set the last error code to an unusual value.

This commit is contained in:
Saulius Krasuckas 2006-01-11 12:10:56 +01:00 committed by Alexandre Julliard
parent 55f7f8b999
commit dc2cdf13a4
1 changed files with 2 additions and 2 deletions

View File

@ -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, \