Commit 45a1aae0 authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

d3d8/tests: Use explicit A calls.

parent f7067233
TESTDLL = d3d8.dll TESTDLL = d3d8.dll
IMPORTS = user32 IMPORTS = user32
EXTRADEFS = -U__WINESRC__ -DWINE_STRICT_PROTOTYPES -DWINE_NO_NAMELESS_EXTENSION -DWIDL_C_INLINE_WRAPPERS
C_SRCS = \ C_SRCS = \
device.c \ device.c \
......
...@@ -25,12 +25,12 @@ static DWORD texture_stages; ...@@ -25,12 +25,12 @@ static DWORD texture_stages;
static HWND create_window(void) static HWND create_window(void)
{ {
WNDCLASS wc = {0}; WNDCLASSA wc = {0};
wc.lpfnWndProc = DefWindowProc; wc.lpfnWndProc = DefWindowProcA;
wc.lpszClassName = "d3d8_test_wc"; wc.lpszClassName = "d3d8_test_wc";
RegisterClass(&wc); RegisterClassA(&wc);
return CreateWindow("d3d8_test_wc", "d3d8_test", 0, 0, 0, 0, 0, 0, 0, 0, 0); return CreateWindowA("d3d8_test_wc", "d3d8_test", 0, 0, 0, 0, 0, 0, 0, 0, 0);
} }
static HRESULT init_d3d8(HMODULE d3d8_module, IDirect3DDevice8 **device, D3DPRESENT_PARAMETERS *device_pparams) static HRESULT init_d3d8(HMODULE d3d8_module, IDirect3DDevice8 **device, D3DPRESENT_PARAMETERS *device_pparams)
......
...@@ -37,14 +37,14 @@ struct vec4 ...@@ -37,14 +37,14 @@ struct vec4
static HWND create_window(void) static HWND create_window(void)
{ {
WNDCLASS wc = {0}; WNDCLASSA wc = {0};
HWND ret; HWND ret;
wc.lpfnWndProc = DefWindowProc; wc.lpfnWndProc = DefWindowProcA;
wc.lpszClassName = "d3d8_test_wc"; wc.lpszClassName = "d3d8_test_wc";
RegisterClass(&wc); RegisterClassA(&wc);
ret = CreateWindow("d3d8_test_wc", "d3d8_test", ret = CreateWindowA("d3d8_test_wc", "d3d8_test", WS_POPUP | WS_SYSMENU,
WS_POPUP | WS_SYSMENU , 20, 20, 640, 480, 0, 0, 0, 0); 20, 20, 640, 480, 0, 0, 0, 0);
ShowWindow(ret, SW_SHOW); ShowWindow(ret, SW_SHOW);
return ret; return ret;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment