quartz: Use BOOL type where appropriate.

This commit is contained in:
Frédéric Delanoy 2013-10-10 21:52:46 +02:00 committed by Alexandre Julliard
parent d12c0d67ae
commit bd961941e0
1 changed files with 4 additions and 4 deletions

View File

@ -117,7 +117,7 @@ static int EventsQueue_PutEvent(EventsQueue* omr, const Event* evt)
return TRUE;
}
static int EventsQueue_GetEvent(EventsQueue* omr, Event* evt, LONG msTimeOut)
static BOOL EventsQueue_GetEvent(EventsQueue* omr, Event* evt, LONG msTimeOut)
{
if (WaitForSingleObject(omr->msg_event, msTimeOut) != WAIT_OBJECT_0)
return FALSE;
@ -377,7 +377,7 @@ static HRESULT WINAPI FilterGraph2_AddFilter(IFilterGraph2 *iface, IBaseFilter *
HRESULT hr;
int i,j;
WCHAR* wszFilterName = NULL;
int duplicate_name = FALSE;
BOOL duplicate_name = FALSE;
TRACE("(%p/%p)->(%p, %s (%p))\n", This, iface, pFilter, debugstr_w(pName), pName);
@ -490,7 +490,7 @@ static HRESULT WINAPI FilterGraph2_RemoveFilter(IFilterGraph2 *iface, IBaseFilte
if (This->defaultclock && This->refClockProvider == pFilter)
{
IMediaFilter_SetSyncSource(&This->IMediaFilter_iface, NULL);
This->defaultclock = 1;
This->defaultclock = TRUE;
}
TRACE("Removing filter %s\n", debugstr_w(This->pFilterNames[i]));
@ -1502,7 +1502,7 @@ static HRESULT WINAPI FilterGraph2_RenderFile(IFilterGraph2 *iface, LPCWSTR lpcw
IEnumPins* penumpins = NULL;
HRESULT hr;
BOOL partial = FALSE;
HRESULT any = FALSE;
BOOL any = FALSE;
TRACE("(%p/%p)->(%s, %s)\n", This, iface, debugstr_w(lpcwstrFile), debugstr_w(lpcwstrPlayList));