ReactOS  0.4.10-dev-509-g12e8d7f
windef.h File Reference
#include <winnt.h>
Include dependency graph for windef.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  tagRECT
 
struct  _RECTL
 
struct  tagPOINT
 
struct  _POINTL
 
struct  tagSIZE
 
struct  tagPOINTS
 
struct  _FILETIME
 

Macros

#define _WINDEF_H
 
#define STRICT   1
 
#define WIN32
 
#define WINVER   0x0502
 
#define BASETYPES
 
#define MAX_PATH   260
 
#define NULL   ((void *)0)
 
#define FALSE   0
 
#define TRUE   1
 
#define IN
 
#define OUT
 
#define OPTIONAL
 
#define PACKED
 
#define far
 
#define near
 
#define pascal   __stdcall
 
#define cdecl
 
#define CDECL
 
#define CALLBACK   __stdcall
 
#define WINAPI   __stdcall
 
#define WINAPIV   __cdecl
 
#define APIENTRY   WINAPI
 
#define APIPRIVATE   WINAPI
 
#define PASCAL   WINAPI
 
#define FAR
 
#define NEAR
 
#define CONST   const
 
#define _DEF_WINBOOL_
 
#define BOOL   WINBOOL
 
#define _LPCVOID_DEFINED
 
#define _HRESULT_DEFINED
 
#define max(a, b)   (((a) > (b)) ? (a) : (b))
 
#define min(a, b)   (((a) < (b)) ? (a) : (b))
 
#define MAKEWORD(bLow, bHigh)   ((WORD)(((BYTE)((DWORD_PTR)(bLow) & 0xff )) | (((WORD)((BYTE)((DWORD_PTR)(bHigh) & 0xff))) << 8 )))
 
#define MAKELONG(wLow, wHigh)   ((LONG)(((WORD)((DWORD_PTR)(wLow) & 0xffff)) | (((DWORD)((WORD)((DWORD_PTR)(wHigh) & 0xffff))) << 16)))
 
#define LOWORD(l)   ((WORD)((DWORD_PTR)(l) & 0xffff))
 
#define HIWORD(l)   ((WORD)(((DWORD_PTR)(l) >> 16) & 0xffff))
 
#define LOBYTE(w)   ((BYTE)((DWORD_PTR)(w) & 0xff))
 
#define HIBYTE(w)   ((BYTE)(((DWORD_PTR)(w) >> 8) & 0xff))
 
#define HFILE_ERROR   ((HFILE)-1)
 
#define _FILETIME_
 
#define DM_UPDATE   1
 
#define DM_COPY   2
 
#define DM_PROMPT   4
 
#define DM_MODIFY   8
 
#define DM_IN_BUFFER   DM_MODIFY
 
#define DM_IN_PROMPT   DM_PROMPT
 
#define DM_OUT_BUFFER   DM_COPY
 
#define DM_OUT_DEFAULT   DM_UPDATE
 
#define DC_FIELDS   1
 
#define DC_PAPERS   2
 
#define DC_PAPERSIZE   3
 
#define DC_MINEXTENT   4
 
#define DC_MAXEXTENT   5
 
#define DC_BINS   6
 
#define DC_DUPLEX   7
 
#define DC_SIZE   8
 
#define DC_EXTRA   9
 
#define DC_VERSION   10
 
#define DC_DRIVER   11
 
#define DC_BINNAMES   12
 
#define DC_ENUMRESOLUTIONS   13
 
#define DC_FILEDEPENDENCIES   14
 
#define DC_TRUETYPE   15
 
#define DC_PAPERNAMES   16
 
#define DC_ORIENTATION   17
 
#define DC_COPIES   18
 
#define WINELIB_NAME_AW(func)   func##A
 
#define DECL_WINELIB_TYPE_AW(type)   typedef WINELIB_NAME_AW(type) type;
 
#define _export
 
#define __export
 
#define __ms_va_list   va_list
 
#define __ms_va_start(list, arg)   va_start(list,arg)
 
#define __ms_va_end(list)   va_end(list)
 

Typedefs

typedef unsigned long ULONG
 
typedef ULONGPULONG
 
typedef unsigned short USHORT
 
typedef USHORTPUSHORT
 
typedef unsigned char UCHAR
 
typedef UCHARPUCHAR
 
typedef charPSZ
 
typedef int INT
 
typedef int WINBOOL
 
typedef int BOOL
 
typedef BOOLPBOOL
 
typedef BOOLLPBOOL
 
typedef unsigned char BYTE
 
typedef unsigned short WORD
 
typedef unsigned long DWORD
 
typedef float FLOAT
 
typedef FLOATPFLOAT
 
typedef BYTEPBYTE
 
typedef BYTELPBYTE
 
typedef intPINT
 
typedef intLPINT
 
typedef WORDPWORD
 
typedef WORDLPWORD
 
typedef longLPLONG
 
typedef DWORDPDWORD
 
typedef DWORDLPDWORD
 
typedef voidLPVOID
 
typedef CONST voidLPCVOID
 
typedef unsigned int UINT
 
typedef unsigned intPUINT
 
typedef unsigned intLPUINT
 
typedef UINT_PTR WPARAM
 
typedef LONG_PTR LPARAM
 
typedef LONG_PTR LRESULT
 
typedef LONG HRESULT
 
typedef WORD ATOM
 
typedef HANDLESPHANDLE
 
typedef HANDLELPHANDLE
 
typedef HANDLE HGLOBAL
 
typedef HANDLE HLOCAL
 
typedef HANDLE GLOBALHANDLE
 
typedef HANDLE LOCALHANDLE
 
typedef int(WINAPIFARPROC )()
 
typedef int(WINAPINEARPROC )()
 
typedef int(WINAPIPROC )()
 
typedef voidHGDIOBJ
 
typedef HKEYPHKEY
 
typedef HINSTANCE HMODULE
 
typedef int HFILE
 
typedef HICON HCURSOR
 
typedef DWORD COLORREF
 
typedef DWORDLPCOLORREF
 
typedef struct tagRECT RECT
 
typedef struct tagRECTPRECT
 
typedef struct tagRECTNPRECT
 
typedef struct tagRECTLPRECT
 
typedef const RECTLPCRECT
 
typedef struct _RECTL RECTL
 
typedef struct _RECTLPRECTL
 
typedef struct _RECTLLPRECTL
 
typedef const RECTLLPCRECTL
 
typedef struct tagPOINT POINT
 
typedef struct tagPOINTPPOINT
 
typedef struct tagPOINTNPPOINT
 
typedef struct tagPOINTLPPOINT
 
typedef struct _POINTL POINTL
 
typedef struct _POINTLPPOINTL
 
typedef struct tagSIZE SIZE
 
typedef struct tagSIZEPSIZE
 
typedef struct tagSIZELPSIZE
 
typedef SIZE SIZEL
 
typedef SIZEPSIZEL
 
typedef SIZELPSIZEL
 
typedef struct tagPOINTS POINTS
 
typedef struct tagPOINTSPPOINTS
 
typedef struct tagPOINTSLPPOINTS
 
typedef struct _FILETIME FILETIME
 
typedef struct _FILETIMEPFILETIME
 
typedef struct _FILETIMELPFILETIME
 

Functions

 DECLARE_HANDLE (HWND)
 
 DECLARE_HANDLE (HACCEL)
 
 DECLARE_HANDLE (HBITMAP)
 
 DECLARE_HANDLE (HBRUSH)
 
 DECLARE_HANDLE (HCOLORSPACE)
 
 DECLARE_HANDLE (HDC)
 
 DECLARE_HANDLE (HGLRC)
 
 DECLARE_HANDLE (HDESK)
 
 DECLARE_HANDLE (HENHMETAFILE)
 
 DECLARE_HANDLE (HFONT)
 
 DECLARE_HANDLE (HICON)
 
 DECLARE_HANDLE (HMENU)
 
 DECLARE_HANDLE (HMETAFILE)
 
 DECLARE_HANDLE (HPALETTE)
 
 DECLARE_HANDLE (HPEN)
 
 DECLARE_HANDLE (HRGN)
 
 DECLARE_HANDLE (HRSRC)
 
 DECLARE_HANDLE (HSTR)
 
 DECLARE_HANDLE (HTASK)
 
 DECLARE_HANDLE (HWINSTA)
 
 DECLARE_HANDLE (HKL)
 
 DECLARE_HANDLE (HWINEVENTHOOK)
 
 DECLARE_HANDLE (HUMPD)
 

Macro Definition Documentation

#define __export

Definition at line 399 of file windef.h.

#define __ms_va_list   va_list

Definition at line 446 of file windef.h.

#define _DEF_WINBOOL_

Definition at line 153 of file windef.h.

#define _export

Definition at line 396 of file windef.h.

#define _FILETIME_

Definition at line 340 of file windef.h.

#define _HRESULT_DEFINED

Definition at line 212 of file windef.h.

#define _LPCVOID_DEFINED

Definition at line 190 of file windef.h.

#define _WINDEF_H

This file has no copyright assigned and is placed in the Public Domain. This file is part of the w64 mingw-runtime package. No warranty is given; refer to the file DISCLAIMER.PD within this package.

Definition at line 10 of file windef.h.

#define APIENTRY   WINAPI

Definition at line 131 of file windef.h.

#define APIPRIVATE   WINAPI

Definition at line 132 of file windef.h.

#define BASETYPES

Definition at line 46 of file windef.h.

Definition at line 160 of file windef.h.

#define CALLBACK   __stdcall

Definition at line 125 of file windef.h.

#define cdecl

Definition at line 118 of file windef.h.

#define CDECL

Definition at line 120 of file windef.h.

#define CONST   const

Definition at line 149 of file windef.h.

#define DC_BINNAMES   12

Definition at line 363 of file windef.h.

Referenced by PRINTDLG_SetUpPaperComboBoxA(), and PRINTDLG_SetUpPaperComboBoxW().

#define DC_BINS   6

Definition at line 357 of file windef.h.

Referenced by PRINTDLG_SetUpPaperComboBoxA(), and PRINTDLG_SetUpPaperComboBoxW().

#define DC_COPIES   18

Definition at line 369 of file windef.h.

Referenced by test_DeviceCapabilities(), and test_PrintDlgA().

#define DC_DRIVER   11

Definition at line 362 of file windef.h.

#define DC_DUPLEX   7

Definition at line 358 of file windef.h.

#define DC_ENUMRESOLUTIONS   13

Definition at line 364 of file windef.h.

Referenced by PRINTDLG_ChangePrinterA().

#define DC_EXTRA   9

Definition at line 360 of file windef.h.

#define DC_FIELDS   1

Definition at line 352 of file windef.h.

Referenced by test_DeviceCapabilities().

#define DC_FILEDEPENDENCIES   14

Definition at line 365 of file windef.h.

#define DC_MAXEXTENT   5

Definition at line 356 of file windef.h.

Referenced by test_DeviceCapabilities().

#define DC_MINEXTENT   4

Definition at line 355 of file windef.h.

Referenced by test_DeviceCapabilities().

#define DC_ORIENTATION   17

Definition at line 368 of file windef.h.

#define DC_PAPERNAMES   16
#define DC_PAPERSIZE   3

Definition at line 354 of file windef.h.

Referenced by pagesetup_update_papersize(), and test_DeviceCapabilities().

#define DC_SIZE   8

Definition at line 359 of file windef.h.

#define DC_TRUETYPE   15

Definition at line 366 of file windef.h.

#define DC_VERSION   10

Definition at line 361 of file windef.h.

#define DECL_WINELIB_TYPE_AW (   type)    typedef WINELIB_NAME_AW(type) type;

Definition at line 391 of file windef.h.

#define DM_COPY   2

Definition at line 343 of file windef.h.

#define DM_IN_PROMPT   DM_PROMPT
#define DM_MODIFY   8

Definition at line 345 of file windef.h.

#define DM_OUT_DEFAULT   DM_UPDATE

Definition at line 350 of file windef.h.

#define DM_PROMPT   4

Definition at line 344 of file windef.h.

#define DM_UPDATE   1

Definition at line 342 of file windef.h.

#define FALSE   0

Definition at line 77 of file windef.h.

#define FAR

Definition at line 145 of file windef.h.

#define HFILE_ERROR   ((HFILE)-1)

Definition at line 293 of file windef.h.

#define HIBYTE (   w)    ((BYTE)(((DWORD_PTR)(w) >> 8) & 0xff))

Definition at line 229 of file windef.h.

#define HIWORD (   l)    ((WORD)(((DWORD_PTR)(l) >> 16) & 0xffff))

Definition at line 227 of file windef.h.

#define IN

Definition at line 86 of file windef.h.

#define LOBYTE (   w)    ((BYTE)((DWORD_PTR)(w) & 0xff))

Definition at line 228 of file windef.h.

#define LOWORD (   l)    ((WORD)((DWORD_PTR)(l) & 0xffff))

Definition at line 226 of file windef.h.

#define MAKELONG (   wLow,
  wHigh 
)    ((LONG)(((WORD)((DWORD_PTR)(wLow) & 0xffff)) | (((DWORD)((WORD)((DWORD_PTR)(wHigh) & 0xffff))) << 16)))

Definition at line 225 of file windef.h.

#define MAKEWORD (   bLow,
  bHigh 
)    ((WORD)(((BYTE)((DWORD_PTR)(bLow) & 0xff )) | (((WORD)((BYTE)((DWORD_PTR)(bHigh) & 0xff))) << 8 )))

Definition at line 224 of file windef.h.

#define max (   a,
  b 
)    (((a) > (b)) ? (a) : (b))

Definition at line 217 of file windef.h.

#define MAX_PATH   260

Definition at line 62 of file windef.h.

#define min (   a,
  b 
)    (((a) < (b)) ? (a) : (b))

Definition at line 220 of file windef.h.

#define near

Definition at line 115 of file windef.h.

#define NEAR

Definition at line 146 of file windef.h.

#define NULL   ((void *)0)

Definition at line 72 of file windef.h.

Definition at line 92 of file windef.h.

#define OUT

Definition at line 89 of file windef.h.

Definition at line 107 of file windef.h.

#define pascal   __stdcall

Definition at line 116 of file windef.h.

#define PASCAL   WINAPI

Definition at line 133 of file windef.h.

#define STRICT   1

Definition at line 25 of file windef.h.

#define TRUE   1

Definition at line 81 of file windef.h.

#define WIN32

Definition at line 30 of file windef.h.

Referenced by SConnect().

#define WINAPI   __stdcall

Definition at line 128 of file windef.h.

#define WINAPIV   __cdecl

Definition at line 130 of file windef.h.

#define WINELIB_NAME_AW (   func)    func##A

Definition at line 384 of file windef.h.

#define WINVER   0x0502

Definition at line 42 of file windef.h.

Typedef Documentation

typedef WORD ATOM

Definition at line 239 of file windef.h.

typedef int BOOL

Definition at line 158 of file windef.h.

typedef unsigned char BYTE

Definition at line 166 of file windef.h.

static COLORREF

Definition at line 290 of file windef.h.

typedef unsigned long DWORD

Definition at line 169 of file windef.h.

typedef int(WINAPI * FARPROC)()

Definition at line 252 of file windef.h.

typedef float FLOAT

Definition at line 173 of file windef.h.

Definition at line 245 of file windef.h.

typedef HICON HCURSOR

Definition at line 289 of file windef.h.

typedef int HFILE

Definition at line 288 of file windef.h.

typedef void* HGDIOBJ

Definition at line 257 of file windef.h.

typedef HANDLE HGLOBAL

Definition at line 243 of file windef.h.

typedef HANDLE HLOCAL

Definition at line 244 of file windef.h.

typedef HINSTANCE HMODULE

Definition at line 275 of file windef.h.

typedef LONG HRESULT

Definition at line 211 of file windef.h.

typedef int INT

Definition at line 58 of file windef.h.

Definition at line 246 of file windef.h.

typedef LONG_PTR LPARAM

Definition at line 208 of file windef.h.

typedef BOOL* LPBOOL

Definition at line 162 of file windef.h.

typedef BYTE* LPBYTE

Definition at line 176 of file windef.h.

typedef DWORD* LPCOLORREF

Definition at line 291 of file windef.h.

typedef const RECT* LPCRECT

Definition at line 302 of file windef.h.

typedef const RECTL* LPCRECTL

Definition at line 311 of file windef.h.

static LPCVOID

Definition at line 191 of file windef.h.

typedef DWORD* LPDWORD

Definition at line 187 of file windef.h.

typedef HANDLE* LPHANDLE

Definition at line 242 of file windef.h.

static LPINT

Definition at line 178 of file windef.h.

typedef long* LPLONG

Definition at line 182 of file windef.h.

typedef struct tagRECT* LPRECT
typedef struct _RECTL* LPRECTL
typedef struct tagSIZE* LPSIZE
typedef SIZE * LPSIZEL

Definition at line 329 of file windef.h.

typedef unsigned int* LPUINT

Definition at line 196 of file windef.h.

typedef void* LPVOID

Definition at line 188 of file windef.h.

typedef WORD* LPWORD

Definition at line 180 of file windef.h.

typedef LONG_PTR LRESULT

Definition at line 209 of file windef.h.

typedef int(WINAPI * NEARPROC)()

Definition at line 253 of file windef.h.

typedef struct tagRECT* NPRECT
static PBOOL

Definition at line 161 of file windef.h.

typedef BYTE* PBYTE

Definition at line 175 of file windef.h.

typedef DWORD* PDWORD

Definition at line 186 of file windef.h.

typedef FLOAT* PFLOAT

Definition at line 174 of file windef.h.

typedef HKEY* PHKEY

Definition at line 260 of file windef.h.

typedef int* PINT

Definition at line 177 of file windef.h.

typedef struct tagRECT* PRECT
typedef struct _RECTL* PRECTL
typedef int(WINAPI * PROC)()

Definition at line 254 of file windef.h.

typedef struct tagSIZE* PSIZE
typedef SIZE* PSIZEL

Definition at line 329 of file windef.h.

typedef char* PSZ

Definition at line 57 of file windef.h.

typedef UCHAR* PUCHAR

Definition at line 56 of file windef.h.

typedef unsigned int* PUINT

Definition at line 195 of file windef.h.

typedef ULONG* PULONG

Definition at line 52 of file windef.h.

typedef USHORT* PUSHORT

Definition at line 54 of file windef.h.

typedef WORD* PWORD

Definition at line 179 of file windef.h.

typedef struct tagRECT RECT
typedef struct _RECTL RECTL
typedef SIZE SIZEL

Definition at line 328 of file windef.h.

typedef HANDLE* SPHANDLE

Definition at line 241 of file windef.h.

typedef unsigned char UCHAR

Definition at line 55 of file windef.h.

typedef unsigned int UINT

Definition at line 194 of file windef.h.

typedef unsigned long ULONG

Definition at line 48 of file windef.h.

typedef unsigned short USHORT

Definition at line 53 of file windef.h.

typedef int WINBOOL

Definition at line 154 of file windef.h.

typedef unsigned short WORD

Definition at line 167 of file windef.h.

typedef UINT_PTR WPARAM

Definition at line 207 of file windef.h.

Function Documentation

DECLARE_HANDLE ( HWND  )
DECLARE_HANDLE ( HACCEL  )
DECLARE_HANDLE ( HBITMAP  )
DECLARE_HANDLE ( HBRUSH  )
DECLARE_HANDLE ( HCOLORSPACE  )
DECLARE_HANDLE ( HDC  )
DECLARE_HANDLE ( HGLRC  )
DECLARE_HANDLE ( HDESK  )
DECLARE_HANDLE ( HENHMETAFILE  )
DECLARE_HANDLE ( HFONT  )
DECLARE_HANDLE ( HICON  )
DECLARE_HANDLE ( HMENU  )
DECLARE_HANDLE ( HMETAFILE  )
DECLARE_HANDLE ( HPALETTE  )
DECLARE_HANDLE ( HPEN  )
DECLARE_HANDLE ( HRGN  )
DECLARE_HANDLE ( HRSRC  )
DECLARE_HANDLE ( HSTR  )
DECLARE_HANDLE ( HTASK  )
DECLARE_HANDLE ( HWINSTA  )
DECLARE_HANDLE ( HKL  )
DECLARE_HANDLE ( HWINEVENTHOOK  )
DECLARE_HANDLE ( HUMPD  )