First import
[xorg_rtime.git] / xorg-server-1.4 / hw / xwin / winmsg.h
blob611dd69628615d9314cbdd915f239b70a9de159f
1 #ifndef __WIN_MSG_H__
2 #define __WIN_MSG_H__
3 /*
4 *Copyright (C) 1994-2000 The XFree86 Project, Inc. All Rights Reserved.
6 *Permission is hereby granted, free of charge, to any person obtaining
7 * a copy of this software and associated documentation files (the
8 *"Software"), to deal in the Software without restriction, including
9 *without limitation the rights to use, copy, modify, merge, publish,
10 *distribute, sublicense, and/or sell copies of the Software, and to
11 *permit persons to whom the Software is furnished to do so, subject to
12 *the following conditions:
14 *The above copyright notice and this permission notice shall be
15 *included in all copies or substantial portions of the Software.
17 *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
18 *EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
19 *MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
20 *NONINFRINGEMENT. IN NO EVENT SHALL THE XFREE86 PROJECT BE LIABLE FOR
21 *ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
22 *CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
23 *WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
25 *Except as contained in this notice, the name of the XFree86 Project
26 *shall not be used in advertising or otherwise to promote the sale, use
27 *or other dealings in this Software without prior written authorization
28 *from the XFree86 Project.
30 * Authors: Alexander Gottwald
34 * Function prototypes
37 void winDrvMsgVerb (int scrnIndex,
38 MessageType type, int verb, const char *format, ...);
39 void winDrvMsg (int scrnIndex, MessageType type, const char *format, ...);
40 void winMsgVerb (MessageType type, int verb, const char *format, ...);
41 void winMsg (MessageType type, const char *format, ...);
42 void winDebug (const char *format, ...);
43 void winTrace (const char *format, ...);
45 void winErrorFVerb (int verb, const char *format, ...);
46 void winW32Error(int verb, const char *message);
47 void winW32ErrorEx(int verb, const char *message, DWORD errorcode);
48 void winDebugWin32Message(const char* function, HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam);
50 #endif