AppleWin/source/linux/libwindows/winuser.cpp
Andrea Odetti d6aa407076 Fix a couple of warnings / Pi issues.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-12-18 18:26:30 +00:00

41 lines
610 B
C++

#include "winuser.h"
#include <sstream>
HCURSOR LoadCursor(HINSTANCE hInstance, LPCSTR lpCursorName)
{
return nullptr;
}
HCURSOR SetCursor(HCURSOR hCursor)
{
return nullptr;
}
UINT_PTR SetTimer(HWND,UINT_PTR,UINT,TIMERPROC)
{
return 0;
}
BOOL KillTimer(HWND hWnd, UINT uIDEvent)
{
return TRUE;
}
HWND WINAPI GetDlgItem(HWND,INT)
{
return nullptr;
}
LRESULT WINAPI SendMessage(HWND,UINT,WPARAM,LPARAM)
{
return 0;
}
void WINAPI PostQuitMessage(INT status)
{
std::ostringstream buffer("PostQuitMessage: ");
buffer << status;
throw std::runtime_error(buffer.str());
}