winmsg.h revision 706f2543
1706f2543Smrg#ifndef __WIN_MSG_H__ 2706f2543Smrg#define __WIN_MSG_H__ 3706f2543Smrg/* 4706f2543Smrg *Copyright (C) 1994-2000 The XFree86 Project, Inc. All Rights Reserved. 5706f2543Smrg * 6706f2543Smrg *Permission is hereby granted, free of charge, to any person obtaining 7706f2543Smrg * a copy of this software and associated documentation files (the 8706f2543Smrg *"Software"), to deal in the Software without restriction, including 9706f2543Smrg *without limitation the rights to use, copy, modify, merge, publish, 10706f2543Smrg *distribute, sublicense, and/or sell copies of the Software, and to 11706f2543Smrg *permit persons to whom the Software is furnished to do so, subject to 12706f2543Smrg *the following conditions: 13706f2543Smrg * 14706f2543Smrg *The above copyright notice and this permission notice shall be 15706f2543Smrg *included in all copies or substantial portions of the Software. 16706f2543Smrg * 17706f2543Smrg *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 18706f2543Smrg *EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 19706f2543Smrg *MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 20706f2543Smrg *NONINFRINGEMENT. IN NO EVENT SHALL THE XFREE86 PROJECT BE LIABLE FOR 21706f2543Smrg *ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF 22706f2543Smrg *CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 23706f2543Smrg *WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 24706f2543Smrg * 25706f2543Smrg *Except as contained in this notice, the name of the XFree86 Project 26706f2543Smrg *shall not be used in advertising or otherwise to promote the sale, use 27706f2543Smrg *or other dealings in this Software without prior written authorization 28706f2543Smrg *from the XFree86 Project. 29706f2543Smrg * 30706f2543Smrg * Authors: Alexander Gottwald 31706f2543Smrg */ 32706f2543Smrg 33706f2543Smrg/* 34706f2543Smrg * Function prototypes 35706f2543Smrg */ 36706f2543Smrg 37706f2543Smrgvoid winDrvMsgVerb (int scrnIndex, 38706f2543Smrg MessageType type, int verb, const char *format, ...); 39706f2543Smrgvoid winDrvMsg (int scrnIndex, MessageType type, const char *format, ...); 40706f2543Smrgvoid winMsgVerb (MessageType type, int verb, const char *format, ...); 41706f2543Smrgvoid winMsg (MessageType type, const char *format, ...); 42706f2543Smrgvoid winDebug (const char *format, ...); 43706f2543Smrgvoid winTrace (const char *format, ...); 44706f2543Smrg 45706f2543Smrgvoid winErrorFVerb (int verb, const char *format, ...); 46706f2543Smrgvoid winW32Error(int verb, const char *message); 47706f2543Smrgvoid winW32ErrorEx(int verb, const char *message, DWORD errorcode); 48706f2543Smrgvoid winDebugWin32Message(const char* function, HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam); 49706f2543Smrg 50706f2543Smrg#endif 51