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
38 winDrvMsgVerb(int scrnIndex
,
39 MessageType type
, int verb
, const char *format
, ...)
40 _X_ATTRIBUTE_PRINTF(4, 5);
42 winDrvMsg(int scrnIndex
, MessageType type
, const char *format
, ...)
43 _X_ATTRIBUTE_PRINTF(3, 4);
45 winMsgVerb(MessageType type
, int verb
, const char *format
, ...)
46 _X_ATTRIBUTE_PRINTF(3, 4);
48 winMsg(MessageType type
, const char *format
, ...)
49 _X_ATTRIBUTE_PRINTF(2, 3);
51 winDebug(const char *format
, ...)
52 _X_ATTRIBUTE_PRINTF(1, 2);
54 winTrace(const char *format
, ...)
55 _X_ATTRIBUTE_PRINTF(1, 2);
58 winErrorFVerb(int verb
, const char *format
, ...)
59 _X_ATTRIBUTE_PRINTF(2, 3);
60 void winW32Error(int verb
, const char *message
);
61 void winW32ErrorEx(int verb
, const char *message
, DWORD errorcode
);
62 void winDebugWin32Message(const char *function
, HWND hwnd
, UINT message
,
63 WPARAM wParam
, LPARAM lParam
);