ReactOS 0.4.16-dev-297-gc569aee
windef16.h File Reference
#include <stdarg.h>
#include <windef.h>
#include <winbase.h>
#include <exception.h>
#include <pshpack1.h>
#include <poppack.h>
Include dependency graph for windef16.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  SIZE16
 
struct  POINT16
 
struct  RECT16
 

Macros

#define MAKESEGPTR(seg, off)   ((SEGPTR)MAKELONG(off,seg))
 
#define SELECTOROF(ptr)   (HIWORD(ptr))
 
#define OFFSETOF(ptr)   (LOWORD(ptr))
 
#define __VA_ROUNDED16(type)    ((sizeof(type) + sizeof(WORD) - 1) / sizeof(WORD) * sizeof(WORD))
 
#define VA_ARG16(list, type)
 
#define HFILE_ERROR16   ((HFILE16)-1)
 
#define DECLARE_HANDLE16(a)
 

Typedefs

typedef unsigned short BOOL16
 
typedef DWORD SEGPTR
 
typedef UINT16 HANDLE16
 
typedef HANDLE16LPHANDLE16
 
typedef UINT16 WPARAM16
 
typedef INT16LPINT16
 
typedef UINT16LPUINT16
 
typedef WORD CATCHBUF[9]
 
typedef WORDLPCATCHBUF
 
typedef WORDVA_LIST16
 
typedef HINSTANCE16 HMODULE16
 
typedef HANDLE16 HGDIOBJ16
 
typedef HANDLE16 HGLOBAL16
 
typedef HANDLE16 HLOCAL16
 
typedef struct SIZE16PSIZE16
 
typedef struct SIZE16LPSIZE16
 
typedef struct POINT16PPOINT16
 
typedef struct POINT16LPPOINT16
 
typedef struct RECT16LPRECT16
 
typedef LRESULT(CALLBACKDRIVERPROC16) (DWORD, HDRVR16, UINT16, LPARAM, LPARAM)
 
typedef BOOL16(CALLBACKDLGPROC16) (HWND16, UINT16, WPARAM16, LPARAM)
 
typedef INT16(CALLBACKEDITWORDBREAKPROC16) (LPSTR, INT16, INT16, INT16)
 
typedef LRESULT(CALLBACKFARPROC16) ()
 
typedef INT16(CALLBACKPROC16) ()
 
typedef BOOL16(CALLBACKGRAYSTRINGPROC16) (HDC16, LPARAM, INT16)
 
typedef LRESULT(CALLBACKHOOKPROC16) (INT16, WPARAM16, LPARAM)
 
typedef BOOL16(CALLBACKPROPENUMPROC16) (HWND16, SEGPTR, HANDLE16)
 
typedef VOID(CALLBACKTIMERPROC16) (HWND16, UINT16, UINT16, DWORD)
 
typedef LRESULT(CALLBACKWNDENUMPROC16) (HWND16, LPARAM)
 
typedef LRESULT(CALLBACKWNDPROC16) (HWND16, UINT16, WPARAM16, LPARAM)
 

Functions

 DECLARE_HANDLE16 (HACMDRIVERID)
 
 DECLARE_HANDLE16 (HACMDRIVER)
 
 DECLARE_HANDLE16 (HACMOBJ)
 
 DECLARE_HANDLE16 (HACMSTREAM)
 
 DECLARE_HANDLE16 (HMETAFILEPICT)
 
 DECLARE_HANDLE16 (HACCEL)
 
 DECLARE_HANDLE16 (HBITMAP)
 
 DECLARE_HANDLE16 (HBRUSH)
 
 DECLARE_HANDLE16 (HCOLORSPACE)
 
 DECLARE_HANDLE16 (HCURSOR)
 
 DECLARE_HANDLE16 (HDC)
 
 DECLARE_HANDLE16 (HDROP)
 
 DECLARE_HANDLE16 (HDRVR)
 
 DECLARE_HANDLE16 (HDWP)
 
 DECLARE_HANDLE16 (HENHMETAFILE)
 
 DECLARE_HANDLE16 (HFILE)
 
 DECLARE_HANDLE16 (HFONT)
 
 DECLARE_HANDLE16 (HINSTANCE)
 
 DECLARE_HANDLE16 (HMENU)
 
 DECLARE_HANDLE16 (HMETAFILE)
 
 DECLARE_HANDLE16 (HMIDI)
 
 DECLARE_HANDLE16 (HMIDIIN)
 
 DECLARE_HANDLE16 (HMIDIOUT)
 
 DECLARE_HANDLE16 (HMIDISTRM)
 
 DECLARE_HANDLE16 (HMIXER)
 
 DECLARE_HANDLE16 (HMIXEROBJ)
 
 DECLARE_HANDLE16 (HMMIO)
 
 DECLARE_HANDLE16 (HPALETTE)
 
 DECLARE_HANDLE16 (HPEN)
 
 DECLARE_HANDLE16 (HQUEUE)
 
 DECLARE_HANDLE16 (HRGN)
 
 DECLARE_HANDLE16 (HRSRC)
 
 DECLARE_HANDLE16 (HTASK)
 
 DECLARE_HANDLE16 (HWAVE)
 
 DECLARE_HANDLE16 (HWAVEIN)
 
 DECLARE_HANDLE16 (HWAVEOUT)
 
 DECLARE_HANDLE16 (HWINSTA)
 
 DECLARE_HANDLE16 (HDESK)
 
 DECLARE_HANDLE16 (HKL)
 
 DECLARE_HANDLE16 (HIC)
 
 DECLARE_HANDLE16 (HRASCONN)
 

Macro Definition Documentation

◆ __VA_ROUNDED16

#define __VA_ROUNDED16 (   type)     ((sizeof(type) + sizeof(WORD) - 1) / sizeof(WORD) * sizeof(WORD))

Definition at line 55 of file windef16.h.

◆ DECLARE_HANDLE16

#define DECLARE_HANDLE16 (   a)
Value:
typedef HANDLE16 a##16; \
typedef a##16 *P##a##16; \
typedef a##16 *NP##a##16; \
typedef a##16 *LP##a##16
#define P(row, col)
GLboolean GLboolean GLboolean GLboolean a
Definition: glext.h:6204
UINT16 HANDLE16
Definition: netiodef.h:47

Definition at line 63 of file windef16.h.

◆ HFILE_ERROR16

#define HFILE_ERROR16   ((HFILE16)-1)

Definition at line 61 of file windef16.h.

◆ MAKESEGPTR

#define MAKESEGPTR (   seg,
  off 
)    ((SEGPTR)MAKELONG(off,seg))

Definition at line 49 of file windef16.h.

◆ OFFSETOF

#define OFFSETOF (   ptr)    (LOWORD(ptr))

Definition at line 51 of file windef16.h.

◆ SELECTOROF

#define SELECTOROF (   ptr)    (HIWORD(ptr))

Definition at line 50 of file windef16.h.

◆ VA_ARG16

#define VA_ARG16 (   list,
  type 
)
Value:
(((list) = (VA_LIST16)((char *)(list) + __VA_ROUNDED16(type))), \
*((type *)(void *)((char *)(list) - __VA_ROUNDED16(type))))
Definition: list.h:37
GLuint GLuint GLsizei GLenum type
Definition: gl.h:1545
#define list
Definition: rosglue.h:35
WORD * VA_LIST16
Definition: windef16.h:53
#define __VA_ROUNDED16(type)
Definition: windef16.h:55

Definition at line 57 of file windef16.h.

Typedef Documentation

◆ BOOL16

Definition at line 36 of file windef16.h.

◆ CATCHBUF

typedef WORD CATCHBUF[9]

Definition at line 46 of file windef16.h.

◆ DLGPROC16

typedef BOOL16(CALLBACK * DLGPROC16) (HWND16, UINT16, WPARAM16, LPARAM)

Definition at line 154 of file windef16.h.

◆ DRIVERPROC16

typedef LRESULT(CALLBACK * DRIVERPROC16) (DWORD, HDRVR16, UINT16, LPARAM, LPARAM)

Definition at line 153 of file windef16.h.

◆ EDITWORDBREAKPROC16

typedef INT16(CALLBACK * EDITWORDBREAKPROC16) (LPSTR, INT16, INT16, INT16)

Definition at line 155 of file windef16.h.

◆ FARPROC16

typedef LRESULT(CALLBACK * FARPROC16) ()

Definition at line 156 of file windef16.h.

◆ GRAYSTRINGPROC16

typedef BOOL16(CALLBACK * GRAYSTRINGPROC16) (HDC16, LPARAM, INT16)

Definition at line 158 of file windef16.h.

◆ HANDLE16

typedef UINT16 HANDLE16

Definition at line 39 of file windef16.h.

◆ HGDIOBJ16

Definition at line 117 of file windef16.h.

◆ HGLOBAL16

Definition at line 118 of file windef16.h.

◆ HLOCAL16

typedef HANDLE16 HLOCAL16

Definition at line 119 of file windef16.h.

◆ HMODULE16

typedef HINSTANCE16 HMODULE16

Definition at line 116 of file windef16.h.

◆ HOOKPROC16

typedef LRESULT(CALLBACK * HOOKPROC16) (INT16, WPARAM16, LPARAM)

Definition at line 159 of file windef16.h.

◆ LPCATCHBUF

typedef WORD* LPCATCHBUF

Definition at line 47 of file windef16.h.

◆ LPHANDLE16

typedef HANDLE16* LPHANDLE16

Definition at line 40 of file windef16.h.

◆ LPINT16

typedef INT16* LPINT16

Definition at line 43 of file windef16.h.

◆ LPPOINT16

◆ LPRECT16

typedef struct RECT16 * LPRECT16

◆ LPSIZE16

typedef struct SIZE16 * LPSIZE16

◆ LPUINT16

typedef UINT16* LPUINT16

Definition at line 44 of file windef16.h.

◆ PPOINT16

typedef struct POINT16 * PPOINT16

◆ PROC16

typedef INT16(CALLBACK * PROC16) ()

Definition at line 157 of file windef16.h.

◆ PROPENUMPROC16

typedef BOOL16(CALLBACK * PROPENUMPROC16) (HWND16, SEGPTR, HANDLE16)

Definition at line 160 of file windef16.h.

◆ PSIZE16

typedef struct SIZE16 * PSIZE16

◆ SEGPTR

typedef DWORD SEGPTR

Definition at line 37 of file windef16.h.

◆ TIMERPROC16

typedef VOID(CALLBACK * TIMERPROC16) (HWND16, UINT16, UINT16, DWORD)

Definition at line 161 of file windef16.h.

◆ VA_LIST16

typedef WORD* VA_LIST16

Definition at line 53 of file windef16.h.

◆ WNDENUMPROC16

typedef LRESULT(CALLBACK * WNDENUMPROC16) (HWND16, LPARAM)

Definition at line 162 of file windef16.h.

◆ WNDPROC16

typedef LRESULT(CALLBACK * WNDPROC16) (HWND16, UINT16, WPARAM16, LPARAM)

Definition at line 163 of file windef16.h.

◆ WPARAM16

typedef UINT16 WPARAM16

Definition at line 42 of file windef16.h.

Function Documentation

◆ DECLARE_HANDLE16() [1/41]

DECLARE_HANDLE16 ( HACCEL  )

◆ DECLARE_HANDLE16() [2/41]

DECLARE_HANDLE16 ( HACMDRIVER  )

◆ DECLARE_HANDLE16() [3/41]

DECLARE_HANDLE16 ( HACMDRIVERID  )

◆ DECLARE_HANDLE16() [4/41]

DECLARE_HANDLE16 ( HACMOBJ  )

◆ DECLARE_HANDLE16() [5/41]

DECLARE_HANDLE16 ( HACMSTREAM  )

◆ DECLARE_HANDLE16() [6/41]

DECLARE_HANDLE16 ( HBITMAP  )

◆ DECLARE_HANDLE16() [7/41]

DECLARE_HANDLE16 ( HBRUSH  )

◆ DECLARE_HANDLE16() [8/41]

DECLARE_HANDLE16 ( HCOLORSPACE  )

◆ DECLARE_HANDLE16() [9/41]

DECLARE_HANDLE16 ( HCURSOR  )

◆ DECLARE_HANDLE16() [10/41]

DECLARE_HANDLE16 ( HDC  )

◆ DECLARE_HANDLE16() [11/41]

DECLARE_HANDLE16 ( HDESK  )

◆ DECLARE_HANDLE16() [12/41]

DECLARE_HANDLE16 ( HDROP  )

◆ DECLARE_HANDLE16() [13/41]

DECLARE_HANDLE16 ( HDRVR  )

◆ DECLARE_HANDLE16() [14/41]

DECLARE_HANDLE16 ( HDWP  )

◆ DECLARE_HANDLE16() [15/41]

DECLARE_HANDLE16 ( HENHMETAFILE  )

◆ DECLARE_HANDLE16() [16/41]

DECLARE_HANDLE16 ( HFILE  )

◆ DECLARE_HANDLE16() [17/41]

DECLARE_HANDLE16 ( HFONT  )

◆ DECLARE_HANDLE16() [18/41]

DECLARE_HANDLE16 ( HIC  )

◆ DECLARE_HANDLE16() [19/41]

DECLARE_HANDLE16 ( HINSTANCE  )

◆ DECLARE_HANDLE16() [20/41]

DECLARE_HANDLE16 ( HKL  )

◆ DECLARE_HANDLE16() [21/41]

DECLARE_HANDLE16 ( HMENU  )

◆ DECLARE_HANDLE16() [22/41]

DECLARE_HANDLE16 ( HMETAFILE  )

◆ DECLARE_HANDLE16() [23/41]

DECLARE_HANDLE16 ( HMETAFILEPICT  )

◆ DECLARE_HANDLE16() [24/41]

DECLARE_HANDLE16 ( HMIDI  )

◆ DECLARE_HANDLE16() [25/41]

DECLARE_HANDLE16 ( HMIDIIN  )

◆ DECLARE_HANDLE16() [26/41]

DECLARE_HANDLE16 ( HMIDIOUT  )

◆ DECLARE_HANDLE16() [27/41]

DECLARE_HANDLE16 ( HMIDISTRM  )

◆ DECLARE_HANDLE16() [28/41]

DECLARE_HANDLE16 ( HMIXER  )

◆ DECLARE_HANDLE16() [29/41]

DECLARE_HANDLE16 ( HMIXEROBJ  )

◆ DECLARE_HANDLE16() [30/41]

DECLARE_HANDLE16 ( HMMIO  )

◆ DECLARE_HANDLE16() [31/41]

DECLARE_HANDLE16 ( HPALETTE  )

◆ DECLARE_HANDLE16() [32/41]

DECLARE_HANDLE16 ( HPEN  )

◆ DECLARE_HANDLE16() [33/41]

DECLARE_HANDLE16 ( HQUEUE  )

◆ DECLARE_HANDLE16() [34/41]

DECLARE_HANDLE16 ( HRASCONN  )

◆ DECLARE_HANDLE16() [35/41]

DECLARE_HANDLE16 ( HRGN  )

◆ DECLARE_HANDLE16() [36/41]

DECLARE_HANDLE16 ( HRSRC  )

◆ DECLARE_HANDLE16() [37/41]

DECLARE_HANDLE16 ( HTASK  )

◆ DECLARE_HANDLE16() [38/41]

DECLARE_HANDLE16 ( HWAVE  )

◆ DECLARE_HANDLE16() [39/41]

DECLARE_HANDLE16 ( HWAVEIN  )

◆ DECLARE_HANDLE16() [40/41]

DECLARE_HANDLE16 ( HWAVEOUT  )

◆ DECLARE_HANDLE16() [41/41]

DECLARE_HANDLE16 ( HWINSTA  )