mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 17:44:45 +00:00
typos, reduce mingw header diffs, extra includes.
svn path=/trunk/; revision=3835
This commit is contained in:
parent
a49981697a
commit
dd12442072
5 changed files with 59 additions and 16 deletions
|
@ -31,6 +31,7 @@
|
|||
extern "C" {
|
||||
#endif
|
||||
|
||||
#pragma pack(push,4)
|
||||
|
||||
#define IOCTL_BEEP_SET \
|
||||
CTL_CODE(FILE_DEVICE_BEEP,0,METHOD_BUFFERED,FILE_ANY_ACCESS)
|
||||
|
@ -43,6 +44,8 @@ typedef struct tagBEEP_SET_PARAMETERS {
|
|||
#define BEEP_FREQUENCY_MINIMUM 0x25
|
||||
#define BEEP_FREQUENCY_MAXIMUM 0x7FFF
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
|
|
@ -1,5 +1,38 @@
|
|||
#ifndef _NTDDKBD_
|
||||
#define _NTDDKBD_
|
||||
/*
|
||||
* ntddkbd.h
|
||||
*
|
||||
* Keyboard IOCTL interface
|
||||
*
|
||||
* This file is part of the MinGW package.
|
||||
*
|
||||
* Contributors:
|
||||
* Created by Casper S. Hornstrup <chorns@users.sourceforge.net>
|
||||
*
|
||||
* THIS SOFTWARE IS NOT COPYRIGHTED
|
||||
*
|
||||
* This source code is offered for use in the public domain. You may
|
||||
* use, modify or distribute it freely.
|
||||
*
|
||||
* This code is distributed in the hope that it will be useful but
|
||||
* WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY
|
||||
* DISCLAMED. This includes but is not limited to warranties of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef __NTDDKBD_H
|
||||
#define __NTDDKBD_H
|
||||
|
||||
#if __GNUC__ >=3
|
||||
#pragma GCC system_header
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#pragma pack(push,4)
|
||||
|
||||
|
||||
typedef struct _KEYBOARD_INPUT_DATA {
|
||||
|
||||
|
@ -16,4 +49,11 @@ typedef struct _KEYBOARD_INPUT_DATA {
|
|||
|
||||
} KEYBOARD_INPUT_DATA, *PKEYBOARD_INPUT_DATA;
|
||||
|
||||
#endif // _NTDDKBD_
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* __NTDDKBD_H */
|
||||
|
|
|
@ -19,12 +19,12 @@
|
|||
*
|
||||
* This code is distributed in the hope that it will be useful but
|
||||
* WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY
|
||||
* DISCLAMED. This includes but is not limited to warranties of
|
||||
* DISCLAIMED. This includes but is not limited to warranties of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
*
|
||||
* $Revision: 1.3 $
|
||||
* $Author: chorns $
|
||||
* $Date: 2002/09/08 10:22:26 $
|
||||
* $Revision: 1.4 $
|
||||
* $Author: robd $
|
||||
* $Date: 2002/12/08 16:18:29 $
|
||||
*
|
||||
*/
|
||||
|
||||
|
@ -96,7 +96,7 @@ typedef PEXCEPTION_REGISTRATION PEXCEPTION_REGISTRATION_RECORD;
|
|||
|
||||
|
||||
/*
|
||||
* A macro which (dispite its name) *removes* an installed
|
||||
* A macro which (despite its name) *removes* an installed
|
||||
* exception handler. Should be used only in conjunction with the above
|
||||
* install routine __try1.
|
||||
* Move the pointer to the old reg. struct (at the current stack
|
||||
|
|
|
@ -151,12 +151,12 @@
|
|||
#define SUBLANGID(l) ((WORD)(l) >> 10)
|
||||
#endif
|
||||
|
||||
#if 0
|
||||
#ifdef _KERNEL32_INCLUDE_LANG_
|
||||
#define LANG_SYSTEM_DEFAULT (MAKELANGID(LANG_NEUTRAL, SUBLANG_SYS_DEFAULT))
|
||||
#define LANG_USER_DEFAULT (MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT))
|
||||
#define LOCALE_SYSTEM_DEFAULT (MAKELCID(LANG_SYSTEM_DEFAULT, SORT_DEFAULT))
|
||||
#define LOCALE_USER_DEFAULT (MAKELCID(LANG_USER_DEFAULT, SORT_DEFAULT))
|
||||
#define LOCALE_NEUTRAL (MAKELCID(MAKELANGID(LANG_NEUTRAL,SUBLANG_NEUTRAL),SORT_DEFAULT))
|
||||
//#define LOCALE_SYSTEM_DEFAULT (MAKELCID(LANG_SYSTEM_DEFAULT, SORT_DEFAULT))
|
||||
//#define LOCALE_USER_DEFAULT (MAKELCID(LANG_USER_DEFAULT, SORT_DEFAULT))
|
||||
//#define LOCALE_NEUTRAL (MAKELCID(MAKELANGID(LANG_NEUTRAL,SUBLANG_NEUTRAL),SORT_DEFAULT))
|
||||
#endif
|
||||
|
||||
/* Language IDs (were in winnt.h, for some reason) */
|
||||
|
|
|
@ -26,12 +26,12 @@
|
|||
*
|
||||
* This code is distributed in the hope that it will be useful but
|
||||
* WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY
|
||||
* DISCLAMED. This includes but is not limited to warranties of
|
||||
* DISCLAIMED. This includes but is not limited to warranties of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
*
|
||||
* $Revision: 1.3 $
|
||||
* $Author: chorns $
|
||||
* $Date: 2002/09/08 10:22:28 $
|
||||
* $Revision: 1.4 $
|
||||
* $Author: robd $
|
||||
* $Date: 2002/12/08 16:18:29 $
|
||||
*
|
||||
*/
|
||||
|
||||
|
|
Loading…
Reference in a new issue