1#ifndef __WIN_MSG_H__ 2#define __WIN_MSG_H__ 3/* 4 *Copyright (C) 1994-2000 The XFree86 Project, Inc. All Rights Reserved. 5 * 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: 13 * 14 *The above copyright notice and this permission notice shall be 15 *included in all copies or substantial portions of the Software. 16 * 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. 24 * 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. 29 * 30 * Authors: Alexander Gottwald 31 */ 32 33/* 34 * Function prototypes 35 */ 36 37void winDrvMsgVerb (int scrnIndex, 38 MessageType type, int verb, const char *format, ...); 39void winDrvMsg (int scrnIndex, MessageType type, const char *format, ...); 40void winMsgVerb (MessageType type, int verb, const char *format, ...); 41void winMsg (MessageType type, const char *format, ...); 42void winDebug (const char *format, ...); 43void winTrace (const char *format, ...); 44 45void winErrorFVerb (int verb, const char *format, ...); 46void winW32Error(int verb, const char *message); 47void winW32ErrorEx(int verb, const char *message, DWORD errorcode); 48void winDebugWin32Message(const char* function, HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam); 49 50#endif 51