mirror of
https://github.com/mauiaaron/apple2.git
synced 2024-07-04 23:28:58 +00:00
Refactor FALSE -> false
This commit is contained in:
parent
f89c734996
commit
994e1a4568
@ -1095,7 +1095,7 @@ static unsigned long SSI263Thread(void *lpParameter)
|
|||||||
unsigned long dwWaitResult = WaitForMultipleObjects(
|
unsigned long dwWaitResult = WaitForMultipleObjects(
|
||||||
g_nNumEvents, // number of handles in array
|
g_nNumEvents, // number of handles in array
|
||||||
g_hSSI263Event, // array of event handles
|
g_hSSI263Event, // array of event handles
|
||||||
FALSE, // wait until any one is signaled
|
false, // wait until any one is signaled
|
||||||
0);
|
0);
|
||||||
|
|
||||||
if((dwWaitResult < 0x0L) || (dwWaitResult > 0x0L+g_nNumEvents-1))
|
if((dwWaitResult < 0x0L) || (dwWaitResult > 0x0L+g_nNumEvents-1))
|
||||||
@ -1350,14 +1350,14 @@ static bool MB_DSInit()
|
|||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
g_hSSI263Event[0] = CreateEvent(NULL, // lpEventAttributes
|
g_hSSI263Event[0] = CreateEvent(NULL, // lpEventAttributes
|
||||||
FALSE, // bManualReset (FALSE = auto-reset)
|
false, // bManualReset (false = auto-reset)
|
||||||
FALSE, // bInitialState (FALSE = non-signaled)
|
false, // bInitialState (false = non-signaled)
|
||||||
NULL); // lpName
|
NULL); // lpName
|
||||||
LOG("MB_DSInit: CreateEvent(), g_hSSI263Event[0]=0x%08X\n", (uint32_t)g_hSSI263Event[0]);
|
LOG("MB_DSInit: CreateEvent(), g_hSSI263Event[0]=0x%08X\n", (uint32_t)g_hSSI263Event[0]);
|
||||||
|
|
||||||
g_hSSI263Event[1] = CreateEvent(NULL, // lpEventAttributes
|
g_hSSI263Event[1] = CreateEvent(NULL, // lpEventAttributes
|
||||||
FALSE, // bManualReset (FALSE = auto-reset)
|
false, // bManualReset (false = auto-reset)
|
||||||
FALSE, // bInitialState (FALSE = non-signaled)
|
false, // bInitialState (false = non-signaled)
|
||||||
NULL); // lpName
|
NULL); // lpName
|
||||||
LOG("MB_DSInit: CreateEvent(), g_hSSI263Event[1]=0x%08X\n", (uint32_t)g_hSSI263Event[1]);
|
LOG("MB_DSInit: CreateEvent(), g_hSSI263Event[1]=0x%08X\n", (uint32_t)g_hSSI263Event[1]);
|
||||||
|
|
||||||
|
@ -25,13 +25,6 @@
|
|||||||
|
|
||||||
// 2013/09/19 - http://msdn.microsoft.com/en-us/library/windows/desktop/aa383751(v=vs.85).aspx
|
// 2013/09/19 - http://msdn.microsoft.com/en-us/library/windows/desktop/aa383751(v=vs.85).aspx
|
||||||
|
|
||||||
#if !defined(TRUE)
|
|
||||||
#define TRUE true
|
|
||||||
#endif
|
|
||||||
#if !defined(FALSE)
|
|
||||||
#define FALSE false
|
|
||||||
#endif
|
|
||||||
|
|
||||||
typedef void *IUnknown;
|
typedef void *IUnknown;
|
||||||
|
|
||||||
typedef void *(*LPTHREAD_START_ROUTINE)(void *unused);
|
typedef void *(*LPTHREAD_START_ROUTINE)(void *unused);
|
||||||
|
Loading…
Reference in New Issue
Block a user