Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 #ifndef UT_Win32OS_H
00022 #define UT_Win32OS_H
00023
00024 #include <windows.h>
00025 #include "ut_types.h"
00026 #include <wchar.h>
00027
00028 OSVERSIONINFOW& UT_GetWinVersion(void);
00029 bool UT_IsWinVista(void);
00030 bool UT_IsWinNT(void);
00031 bool UT_IsWin2K(void);
00032 bool UT_IsWin95(void);
00033
00034 DLGTEMPLATE * WINAPI UT_LockDlgRes(HINSTANCE hinst, LPCWSTR lpszResName);
00035
00036 wchar_t * UT_GetDefaultPrinterName();
00037
00038 HDC UT_GetDefaultPrinterDC();
00039
00040
00041 ATOM UT_RegisterClassEx(UINT style, WNDPROC wndproc, HINSTANCE hInstance,
00042 HICON hIcon, HCURSOR hCursor, HBRUSH hbrBackground, HICON hIconSm,
00043 const wchar_t * menu, const wchar_t * name);
00044
00045
00046
00047
00048 HWND UT_CreateWindowEx(DWORD dwExStyle, const wchar_t* lpClassName, const wchar_t* lpWindowName, DWORD dwStyle,
00049 int x, int y, int nWidth, int nHeight,
00050 HWND hWndParent, HMENU hMenu, HINSTANCE hInstance, LPVOID lpParam);
00051
00052
00053 LRESULT UT_DefWindowProc(HWND hWnd, UINT Msg, WPARAM wParam,LPARAM lParam);
00054 BOOL UT_SetWindowText(HWND hWnd, const wchar_t * lpString);
00055
00056 BOOL UT_GetMessage(LPMSG lpMsg,HWND hWnd,UINT wMsgFilterMin,UINT wMsgFilterMax);
00057
00058 LRESULT UT_DispatchMessage(const MSG *lpmsg);
00059 #endif