Refactor FALSE -> false

This commit is contained in:
Aaron Culliney 2015-06-07 12:21:33 -07:00
parent f89c734996
commit 994e1a4568
2 changed files with 5 additions and 12 deletions

View File

@ -1095,7 +1095,7 @@ static unsigned long SSI263Thread(void *lpParameter)
unsigned long dwWaitResult = WaitForMultipleObjects(
g_nNumEvents, // number of handles in array
g_hSSI263Event, // array of event handles
FALSE, // wait until any one is signaled
false, // wait until any one is signaled
0);
if((dwWaitResult < 0x0L) || (dwWaitResult > 0x0L+g_nNumEvents-1))
@ -1350,14 +1350,14 @@ static bool MB_DSInit()
}
#else
g_hSSI263Event[0] = CreateEvent(NULL, // lpEventAttributes
FALSE, // bManualReset (FALSE = auto-reset)
FALSE, // bInitialState (FALSE = non-signaled)
false, // bManualReset (false = auto-reset)
false, // bInitialState (false = non-signaled)
NULL); // lpName
LOG("MB_DSInit: CreateEvent(), g_hSSI263Event[0]=0x%08X\n", (uint32_t)g_hSSI263Event[0]);
g_hSSI263Event[1] = CreateEvent(NULL, // lpEventAttributes
FALSE, // bManualReset (FALSE = auto-reset)
FALSE, // bInitialState (FALSE = non-signaled)
false, // bManualReset (false = auto-reset)
false, // bInitialState (false = non-signaled)
NULL); // lpName
LOG("MB_DSInit: CreateEvent(), g_hSSI263Event[1]=0x%08X\n", (uint32_t)g_hSSI263Event[1]);

View File

@ -25,13 +25,6 @@
// 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 *(*LPTHREAD_START_ROUTINE)(void *unused);