summaryrefslogtreecommitdiffstats
path: root/src/base/base_platform_win32.h
blob: 8dc93cb36d2b22aff41a10a68f9c81d05500c7d1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#ifndef BASE_PLATFORM_WIN32_H
#define BASE_PLATFORM_WIN32_H

typedef struct Win32WindowHandle Win32WindowHandle;
struct Win32WindowHandle
{
    HWND window_handle;
    HINSTANCE instance;
    HDC dc;
};

#define Win32CreateWindow(instance, height, width, display_x, display_y)  win32_create_window(instance, height, width, display_x, display_y)
#define Win32FileExists(path) win32_file_exists(path)

// TODO: ...
#if 0
win32_log(messages)
win32_os_exit()
win32_file_write(data, path)
win32_file_load(arena, file)
win32_load_library()
win32_library_get_proc()
win32_window_proc(handle, messages, wparam, lparam)
#endif

#endif // BASE_PLATFORM_WI32_H