Saulius Krasuckas : mscms: Set the last error code to an unusual
value.
Alexandre Julliard
julliard at wine.codeweavers.com
Wed Jan 11 05:35:26 CST 2006
Module: wine
Branch: refs/heads/master
Commit: dc2cdf13a4e480f16b7f1c27f25b19920e6f7d6e
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=dc2cdf13a4e480f16b7f1c27f25b19920e6f7d6e
Author: Saulius Krasuckas <saulius.krasuckas at gmail.com>
Date: Wed Jan 11 12:10:56 2006 +0100
mscms: Set the last error code to an unusual value.
---
dlls/mscms/tests/profile.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/mscms/tests/profile.c b/dlls/mscms/tests/profile.c
index 8fd572c..830d6fb 100644
--- a/dlls/mscms/tests/profile.c
+++ b/dlls/mscms/tests/profile.c
@@ -495,7 +495,7 @@ static void enum_registered_color_profil
#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_GetStandardColorSpacePr
#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, \
More information about the wine-cvs
mailing list