diff options
Diffstat (limited to 'src/osd/windows/winutf8.h')
-rw-r--r-- | src/osd/windows/winutf8.h | 23 |
1 files changed, 17 insertions, 6 deletions
diff --git a/src/osd/windows/winutf8.h b/src/osd/windows/winutf8.h index a8d072ed2cc..1ec5429cfab 100644 --- a/src/osd/windows/winutf8.h +++ b/src/osd/windows/winutf8.h @@ -6,11 +6,15 @@ // //============================================================ -#ifndef __WINUTF8__ -#define __WINUTF8__ +#ifndef MAME_OSD_WINDOWS_WINUTF8_H +#define MAME_OSD_WINDOWS_WINUTF8_H + +#pragma once #include "osdcore.h" +#include <windows.h> + // wrappers for kernel32.dll void win_output_debug_string_utf8(const char *string); @@ -18,8 +22,15 @@ void win_output_debug_string_utf8(const char *string); int win_message_box_utf8(HWND window, const char *text, const char *caption, UINT type); BOOL win_set_window_text_utf8(HWND window, const char *text); std::string win_get_window_text_utf8(HWND window); -HWND win_create_window_ex_utf8(DWORD exstyle, const char* classname, const char* windowname, DWORD style, - int x, int y, int width, int height, HWND wndparent, HMENU menu, - HINSTANCE instance, void* param); +HWND win_create_window_ex_utf8( + DWORD exstyle, + const char *classname, + const char *windowname, + DWORD style, + int x, int y, int width, int height, + HWND wndparent, + HMENU menu, + HINSTANCE instance, + void *param); -#endif // __WINUTF8__ +#endif // MAME_OSD_WINDOWS_WINUTF8_H |