windef16.h revision 3194da424708abdd288b28d96892b3a5f3f7df0b
/*
* Basic type definitions for 16 bit variations on Windows types.
* These types are provided mostly to insure compatibility with
* 16 bit windows code.
*
* Copyright (C) the Wine project
*
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#ifndef __WINE_WINDEF16_H
#define __WINE_WINDEF16_H
#ifndef RC_INVOKED
#include <stdarg.h>
#endif
#include <windef.h>
#include <winbase.h>
/* Standard data types */
typedef unsigned short BOOL16;
typedef HANDLE16 *LPHANDLE16;
typedef WORD *LPCATCHBUF;
#define __VA_ROUNDED16(type) \
#define DECLARE_HANDLE16(a) \
typedef HANDLE16 a##16; \
typedef a##16 *P##a##16; \
typedef HINSTANCE16 HMODULE16;
#include <pshpack1.h>
/* The SIZE structure */
typedef struct
{
/* The POINT structure */
typedef struct
{
INT16 x;
INT16 y;
/* The RECT structure */
typedef struct
{
#include <poppack.h>
/* Callback function pointers types */
#ifdef WINE_STRICT_PROTOTYPES
#else
#endif
#endif /* __WINE_WINDEF16_H */