Removed INVALID_HANDLE_VALUE.

This commit is contained in:
Armin Novak 2015-03-27 08:09:46 +01:00 committed by Bernhard Miklautz
parent bd55b0df80
commit 853ac63afd

View File

@ -49,7 +49,7 @@ static BOOL TimerIsHandled(HANDLE handle)
{
WINPR_TIMER* pTimer = (WINPR_TIMER*) handle;
if (!pTimer || (pTimer->Type != HANDLE_TYPE_TIMER) || (pTimer == INVALID_HANDLE_VALUE))
if (!pTimer || (pTimer->Type != HANDLE_TYPE_TIMER))
{
SetLastError(ERROR_INVALID_HANDLE);
return FALSE;