aboutsummaryrefslogtreecommitdiff
path: root/mp/src/public/unicode/unicode.h
blob: 7c3522e2dc6f50383beae7c500c36a2e981a3f5a (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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose: 
//
//=============================================================================//

#ifndef UNICODE_H
#define UNICODE_H
#ifdef _WIN32
#pragma once
#endif

#include "interface.h"

#ifndef WIN32_LEAN_AND_MEAN
#define WIN32_LEAN_AND_MEAN
#endif

#if !defined( _X360 )
#include <windows.h>
#endif
#if defined( _X360 )
#include "xbox/xbox_win32stubs.h"
#endif

class IUnicodeWindows : public IBaseInterface
{
public:
	virtual LRESULT DefWindowProcW
	(
		HWND hWnd,
		UINT Msg,
		WPARAM wParam,
		LPARAM lParam 
	) = 0;

	virtual HWND CreateWindowExW
	(          
		DWORD dwExStyle,
	    LPCWSTR lpClassName,
	    LPCWSTR lpWindowName,
	    DWORD dwStyle,
	    int x,
	    int y,
	    int nWidth,
	    int nHeight,
	    HWND hWndParent,
	    HMENU hMenu,
	    HINSTANCE hInstance,
	    LPVOID lpParam
	) = 0;

	virtual ATOM RegisterClassW
	( 
		CONST WNDCLASSW *lpWndClass
	) = 0;

	virtual BOOL UnregisterClassW
	( 
		LPCWSTR lpClassName,
		HINSTANCE hInstance
	) = 0;
};

#define VENGINE_UNICODEINTERFACE_VERSION	"VENGINEUNICODE001"


#endif // UNICODE_H