Updated Windows CE/PocketPC support...adds GAPI driver, landscape mode,
updated project files, VS2005 support, VGA mode, more device support, etc, etc, etc. Fixes Bugzilla #47 and #28. --ryan. --HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401254
This commit is contained in:
parent
e691b06188
commit
f2d9ddec98
19 changed files with 1457 additions and 10 deletions
|
@ -201,9 +201,9 @@ static SYNCHHANDLE CleanUp (SYNCHHANDLE hSynch, DWORD Flags)
|
|||
BOOL ok = TRUE;
|
||||
|
||||
if (hSynch == NULL) return NULL;
|
||||
if (Flags & 4 == 1 && hSynch->hEvent == NULL) ok = FALSE;
|
||||
if (Flags & 2 == 1 && hSynch->hMutex == NULL) ok = FALSE;
|
||||
if (Flags & 1 == 1 && hSynch->hEvent == NULL) ok = FALSE;
|
||||
if ((Flags & 4) == 1 && (hSynch->hEvent == NULL)) ok = FALSE;
|
||||
if ((Flags & 2) == 1 && (hSynch->hMutex == NULL)) ok = FALSE;
|
||||
if ((Flags & 1) == 1 && (hSynch->hEvent == NULL)) ok = FALSE;
|
||||
if (!ok)
|
||||
{
|
||||
CloseSynchHandle (hSynch);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue