28#if defined(_WIN32) && !defined(WIN32)
32#ifdef MSVCDISABLEWARNINGS
33#pragma warning( disable : 4229 )
37#define _WIN32_WINNT 0x0400
39#define WIN32_LEAN_AND_MEAN
50#define _LPCWAVEFORMATEX_DEFINED
53#if defined(WINAPI_FAMILY) && !defined(WINRT)
54 #if WINAPI_FAMILY != WINAPI_FAMILY_DESKTOP_APP
56 #error "WINRT needs to be defined for non-desktop"
62#define WM_MOUSEWHEEL 0x020A
65#define WM_APPCOMMAND 0x0319
68#define WM_USER_SPEECHTOTEXT (WM_USER+0)
69#define WM_USER_VIDSHUTDOWN (WM_USER+4)
70#define WM_USER_VKPRESENT (WM_USER+7)
71#define WM_USER_NVVKPRESENT (WM_USER+8)
99extern LPITEMIDLIST (STDAPICALLTYPE *pSHBrowseForFolderW)(LPBROWSEINFOW lpbi);
100extern BOOL (STDAPICALLTYPE *pSHGetPathFromIDListW)(LPCITEMIDLIST pidl, LPWSTR
pszPath);
102extern BOOL (STDAPICALLTYPE *pShell_NotifyIconW)(
DWORD dwMessage, PNOTIFYICONDATAW
lpData);
unsigned int width
Definition: bymorphed.h:4
unsigned int height
Definition: bymorphed.h:5
unsigned char qbyte
Definition: common.h:127
static EGLSurface EGLSurface EGLContext ctx
Definition: gl_videgl.c:47
static UINT
Definition: gl_vidnt.c:220
GLenum format
Definition: glsupp.h:502
struct Window * window
Definition: gl_vidmorphos.c:72
LONG(WINAPI *qAVIStreamStart)(PAVISTREAM pavi)
PAVISTREAM FAR DWORD LONG lParam
Definition: m_mp3.c:1578
DWORD
Definition: net_ssl_winsspi.c:99
char ** data
Definition: p_script.c:63
int b
Definition: pr_lua.c:242
UINT uMsg
Definition: qccgui.c:1080
HWND hwnd
Definition: qccgui.c:1027
enum uploadfmt uploadfmt_t
netadr_t a
Definition: sv_master.c:141
int WPARAM wParam
Definition: sys_win.c:1021
unsigned int sys_parentleft
Definition: sys_linux.c:73
LPWSTR int csidl
Definition: winquake.h:101
void WIN_DestroyCursor(void *cursor)
Definition: sys_win.c:4591
void INS_RestoreOriginalMouseState(void)
Definition: in_win.c:688
qboolean WIN_SetCursor(void *cursor)
Definition: sys_win.c:4578
HCURSOR hCustomCursor
Definition: winquake.h:130
unsigned int sys_parentwidth
Definition: sys_linux.c:75
void INS_UpdateClipCursor(void)
Definition: in_win.c:404
unsigned int sys_parentheight
Definition: sys_linux.c:76
BOOL(STDAPICALLTYPE *pSHGetPathFromIDListW)(LPCITEMIDLIST pidl
qboolean winsock_lib_initialized
qboolean Minimized
Definition: sys_win.c:576
LPWSTR int BOOL fCreate
Definition: winquake.h:101
void S_UnblockSound(void)
Definition: snd_win.c:73
RECT window_rect
Definition: in_win.c:122
void VID_SetDefaultMode(void)
void S_BlockSound(void)
Definition: snd_win.c:48
void INS_SetQuakeMouseState(void)
Definition: in_win.c:675
void CenterWindow(HWND hWndCenter, int width, int height, BOOL lefttopjustify)
void * WIN_CreateCursor(const qbyte *imagedata, int width, int height, uploadfmt_t format, float hotx, float hoty, float scale)
Definition: sys_win.c:4492
HINSTANCE global_hInstance
Definition: sys_plugfte.c:926
PNOTIFYICONDATAW lpData
Definition: winquake.h:102
void INS_DeviceChanged(void *ctx, void *data, size_t a, size_t b)
Definition: in_win.c:2058
void INS_UpdateGrabs(int fullscreen, int activeapp)
Definition: in_win.c:705
int window_center_x
Definition: in_win.c:121
int INS_AppCommand(LPARAM lParam)
Definition: in_win.c:2497
unsigned int sys_parenttop
Definition: sys_linux.c:74
void INS_MouseEvent(int mstate)
Definition: in_win.c:1409
qboolean WinNT
Definition: sys_win.c:577
LONG CDAudio_MessageHandler(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
Definition: cd_null.c:8
void INS_RawInput_Read(HANDLE in_device_handle)
Definition: in_win.c:1751
int global_nCmdShow
Definition: sys_win.c:2502
qboolean mouseinitialized
Definition: in_win.c:149
LPITEMIDLIST(STDAPICALLTYPE *pSHBrowseForFolderW)(LPBROWSEINFOW lpbi)
LPWSTR pszPath
Definition: winquake.h:100
HCURSOR hArrowCursor
Definition: sys_win.c:4491
HWND sys_parentwindow
Definition: sys_linux.c:77
int window_center_y
Definition: winquake.h:123
void WIN_WindowCreated(HWND window)
Definition: sys_win.c:4632
void GLVID_Crashed(void)
Definition: gl_vidnt.c:2292
HWND mainwindow
Definition: in_win.c:120
void INS_TranslateKeyEvent(WPARAM wParam, LPARAM lParam, qboolean down, int pnum, qboolean genkeystate)
Definition: in_win.c:2357