Team Fortress 2 Source Code as on 22/4/2020
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

68 lines
1.1 KiB

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. //=============================================================================//
  6. #ifndef UNICODE_H
  7. #define UNICODE_H
  8. #ifdef _WIN32
  9. #pragma once
  10. #endif
  11. #include "interface.h"
  12. #ifndef WIN32_LEAN_AND_MEAN
  13. #define WIN32_LEAN_AND_MEAN
  14. #endif
  15. #if !defined( _X360 )
  16. #include <windows.h>
  17. #endif
  18. #if defined( _X360 )
  19. #include "xbox/xbox_win32stubs.h"
  20. #endif
  21. class IUnicodeWindows : public IBaseInterface
  22. {
  23. public:
  24. virtual LRESULT DefWindowProcW
  25. (
  26. HWND hWnd,
  27. UINT Msg,
  28. WPARAM wParam,
  29. LPARAM lParam
  30. ) = 0;
  31. virtual HWND CreateWindowExW
  32. (
  33. DWORD dwExStyle,
  34. LPCWSTR lpClassName,
  35. LPCWSTR lpWindowName,
  36. DWORD dwStyle,
  37. int x,
  38. int y,
  39. int nWidth,
  40. int nHeight,
  41. HWND hWndParent,
  42. HMENU hMenu,
  43. HINSTANCE hInstance,
  44. LPVOID lpParam
  45. ) = 0;
  46. virtual ATOM RegisterClassW
  47. (
  48. CONST WNDCLASSW *lpWndClass
  49. ) = 0;
  50. virtual BOOL UnregisterClassW
  51. (
  52. LPCWSTR lpClassName,
  53. HINSTANCE hInstance
  54. ) = 0;
  55. };
  56. #define VENGINE_UNICODEINTERFACE_VERSION "VENGINEUNICODE001"
  57. #endif // UNICODE_H