diff options
| author | Joe Ludwig <[email protected]> | 2013-06-26 15:22:04 -0700 |
|---|---|---|
| committer | Joe Ludwig <[email protected]> | 2013-06-26 15:22:04 -0700 |
| commit | 39ed87570bdb2f86969d4be821c94b722dc71179 (patch) | |
| tree | abc53757f75f40c80278e87650ea92808274aa59 /mp/src/public/unicode | |
| download | source-sdk-2013-39ed87570bdb2f86969d4be821c94b722dc71179.tar.xz source-sdk-2013-39ed87570bdb2f86969d4be821c94b722dc71179.zip | |
First version of the SOurce SDK 2013
Diffstat (limited to 'mp/src/public/unicode')
| -rw-r--r-- | mp/src/public/unicode/unicode.h | 68 |
1 files changed, 68 insertions, 0 deletions
diff --git a/mp/src/public/unicode/unicode.h b/mp/src/public/unicode/unicode.h new file mode 100644 index 00000000..069edfbe --- /dev/null +++ b/mp/src/public/unicode/unicode.h @@ -0,0 +1,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
|