source: trunk/src/user32/winmouse.h@ 2246

Last change on this file since 2246 was 2201, checked in by sandervl, 26 years ago

Message handling rewrite

File size: 512 bytes
Line 
1/* $Id: winmouse.h,v 1.2 1999-12-24 18:51:55 sandervl Exp $ */
2/*
3 * Mouse handler for DINPUT
4 *
5 * Copyright 1999 Sander van Leeuwen
6 *
7 *
8 * Project Odin Software License can be found in LICENSE.TXT
9 *
10 */
11#ifndef __WINMOUSE_H__
12#define __WINMOUSE_H__
13
14#include <win\mouse.h>
15
16extern LPMOUSE_EVENT_PROC mouseHandler;
17
18#define ISMOUSE_CAPTURED() (mouseHandler!=NULL)
19
20#define MOUSEMSG_BUTTON 0
21#define MOUSEMSG_MOVE 1
22
23BOOL DInputMouseHandler(HWND hwnd, ULONG msg, ULONG x, ULONG y);
24
25#endif //__WINMOUSE_H__
Note: See TracBrowser for help on using the repository browser.