/***
Copyright (C) 2021 J Reece Wilson (a/k/a "Reece"). All rights reserved.
File: LSWin32.NT.cpp
Date: 2021-10-2
Author: Reece
***/
#include <Source/RuntimeInternal.hpp>
#include "LSWin32.NT.hpp"
namespace Aurora::Loop
{
bool Win32Dummy::IsSignaled()
MSG askers;
return PeekMessageW(&askers, 0, 0, 0, PM_NOREMOVE);
}
ELoopSource Win32Dummy::GetType()
return ELoopSource::eSourceWin32;
AUKN_SYM AuSPtr<ILoopSource> NewLSWin32Source(bool pumping)
AuSPtr<ILoopSource> ret;
if (!(ret = AuMakeShared<Win32Dummy>(pumping)))
return {};
return ret;