Searched refs:BOOLToWRes (Results 1 – 1 of 1) sorted by relevance
19 WRes BOOLToWRes(BOOL v) { return v ? 0 : GetError(); } in BOOLToWRes() function58 WRes Event_Set(CEvent *p) { return BOOLToWRes(SetEvent(*p)); } in Event_Set()59 WRes Event_Reset(CEvent *p) { return BOOLToWRes(ResetEvent(*p)); } in Event_Reset()74 { return BOOLToWRes(ReleaseSemaphore(*p, releaseCount, previousCount)); } in Semaphore_Release()