winmsg.h revision 05b261ec
105b261ecSmrg#ifndef __WIN_MSG_H__ 205b261ecSmrg#define __WIN_MSG_H__ 305b261ecSmrg/* 405b261ecSmrg *Copyright (C) 1994-2000 The XFree86 Project, Inc. All Rights Reserved. 505b261ecSmrg * 605b261ecSmrg *Permission is hereby granted, free of charge, to any person obtaining 705b261ecSmrg * a copy of this software and associated documentation files (the 805b261ecSmrg *"Software"), to deal in the Software without restriction, including 905b261ecSmrg *without limitation the rights to use, copy, modify, merge, publish, 1005b261ecSmrg *distribute, sublicense, and/or sell copies of the Software, and to 1105b261ecSmrg *permit persons to whom the Software is furnished to do so, subject to 1205b261ecSmrg *the following conditions: 1305b261ecSmrg * 1405b261ecSmrg *The above copyright notice and this permission notice shall be 1505b261ecSmrg *included in all copies or substantial portions of the Software. 1605b261ecSmrg * 1705b261ecSmrg *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 1805b261ecSmrg *EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 1905b261ecSmrg *MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 2005b261ecSmrg *NONINFRINGEMENT. IN NO EVENT SHALL THE XFREE86 PROJECT BE LIABLE FOR 2105b261ecSmrg *ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF 2205b261ecSmrg *CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 2305b261ecSmrg *WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 2405b261ecSmrg * 2505b261ecSmrg *Except as contained in this notice, the name of the XFree86 Project 2605b261ecSmrg *shall not be used in advertising or otherwise to promote the sale, use 2705b261ecSmrg *or other dealings in this Software without prior written authorization 2805b261ecSmrg *from the XFree86 Project. 2905b261ecSmrg * 3005b261ecSmrg * Authors: Alexander Gottwald 3105b261ecSmrg */ 3205b261ecSmrg 3305b261ecSmrg/* 3405b261ecSmrg * Function prototypes 3505b261ecSmrg */ 3605b261ecSmrg 3705b261ecSmrgvoid winDrvMsgVerb (int scrnIndex, 3805b261ecSmrg MessageType type, int verb, const char *format, ...); 3905b261ecSmrgvoid winDrvMsg (int scrnIndex, MessageType type, const char *format, ...); 4005b261ecSmrgvoid winMsgVerb (MessageType type, int verb, const char *format, ...); 4105b261ecSmrgvoid winMsg (MessageType type, const char *format, ...); 4205b261ecSmrgvoid winDebug (const char *format, ...); 4305b261ecSmrgvoid winTrace (const char *format, ...); 4405b261ecSmrg 4505b261ecSmrgvoid winErrorFVerb (int verb, const char *format, ...); 4605b261ecSmrgvoid winW32Error(int verb, const char *message); 4705b261ecSmrgvoid winW32ErrorEx(int verb, const char *message, DWORD errorcode); 4805b261ecSmrgvoid winDebugWin32Message(const char* function, HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam); 4905b261ecSmrg 5005b261ecSmrg#endif 51