forked from len0rd/rockbox
Roland's fix for running simulator on NT
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3805 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
6cb7b15be8
commit
827aad3b87
1 changed files with 7 additions and 7 deletions
|
@ -50,12 +50,12 @@ char having_new_lcd=true; // Used for player simulator
|
||||||
|
|
||||||
// GUIWndProc
|
// GUIWndProc
|
||||||
// window proc for GUI simulator
|
// window proc for GUI simulator
|
||||||
LRESULT GUIWndProc (
|
LRESULT CALLBACK GUIWndProc (
|
||||||
HWND hWnd,
|
HWND hWnd,
|
||||||
UINT uMsg,
|
UINT uMsg,
|
||||||
WPARAM wParam,
|
WPARAM wParam,
|
||||||
LPARAM lParam
|
LPARAM lParam
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
static HBITMAP hBkgnd;
|
static HBITMAP hBkgnd;
|
||||||
static HDC hMemDc;
|
static HDC hMemDc;
|
||||||
|
@ -234,7 +234,7 @@ BOOL GUIStartup ()
|
||||||
wc.hbrBackground = GetSysColorBrush (COLOR_WINDOW);
|
wc.hbrBackground = GetSysColorBrush (COLOR_WINDOW);
|
||||||
wc.hCursor = LoadCursor (NULL, IDC_ARROW);
|
wc.hCursor = LoadCursor (NULL, IDC_ARROW);
|
||||||
wc.hInstance = GetModuleHandle (NULL);
|
wc.hInstance = GetModuleHandle (NULL);
|
||||||
wc.lpfnWndProc = (WNDPROC)GUIWndProc;
|
wc.lpfnWndProc = GUIWndProc;
|
||||||
wc.lpszClassName = "RockBoxUISimulator";
|
wc.lpszClassName = "RockBoxUISimulator";
|
||||||
wc.style = CS_HREDRAW | CS_VREDRAW;
|
wc.style = CS_HREDRAW | CS_VREDRAW;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue