ReactOS  r75385
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 DECLSPEC_IMPORT   __declspec(dllimport)
 
#define DECLSPEC_EXPORT   __declspec(dllexport)
 
#define DECLSPEC_NOINLINE
 
#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 422 of file windef.h.

#define __ms_va_list   va_list

Definition at line 469 of file windef.h.

#define _DEF_WINBOOL_

Definition at line 176 of file windef.h.

#define _export

Definition at line 419 of file windef.h.

#define _FILETIME_

Definition at line 363 of file windef.h.

#define _HRESULT_DEFINED

Definition at line 235 of file windef.h.

#define _LPCVOID_DEFINED

Definition at line 213 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 154 of file windef.h.

#define APIPRIVATE   WINAPI

Definition at line 155 of file windef.h.

#define BASETYPES

Definition at line 46 of file windef.h.

Definition at line 183 of file windef.h.

#define CALLBACK   __stdcall

Definition at line 148 of file windef.h.

#define cdecl

Definition at line 141 of file windef.h.

#define CDECL

Definition at line 143 of file windef.h.

#define CONST   const

Definition at line 172 of file windef.h.

#define DC_BINNAMES   12

Definition at line 386 of file windef.h.

Referenced by PRINTDLG_SetUpPaperComboBoxA(), and PRINTDLG_SetUpPaperComboBoxW().

#define DC_BINS   6

Definition at line 380 of file windef.h.

Referenced by PRINTDLG_SetUpPaperComboBoxA(), and PRINTDLG_SetUpPaperComboBoxW().

#define DC_COPIES   18

Definition at line 392 of file windef.h.

Referenced by test_DeviceCapabilities(), and test_PrintDlgA().

#define DC_DRIVER   11

Definition at line 385 of file windef.h.

#define DC_DUPLEX   7

Definition at line 381 of file windef.h.

#define DC_ENUMRESOLUTIONS   13

Definition at line 387 of file windef.h.

Referenced by PRINTDLG_ChangePrinterA().

#define DC_EXTRA   9

Definition at line 383 of file windef.h.

#define DC_FIELDS   1

Definition at line 375 of file windef.h.

Referenced by test_DeviceCapabilities().

#define DC_FILEDEPENDENCIES   14

Definition at line 388 of file windef.h.

#define DC_MAXEXTENT   5

Definition at line 379 of file windef.h.

Referenced by test_DeviceCapabilities().

#define DC_MINEXTENT   4

Definition at line 378 of file windef.h.

Referenced by test_DeviceCapabilities().

#define DC_ORIENTATION   17

Definition at line 391 of file windef.h.

#define DC_PAPERNAMES   16
#define DC_PAPERSIZE   3

Definition at line 377 of file windef.h.

Referenced by pagesetup_update_papersize(), and test_DeviceCapabilities().

#define DC_SIZE   8

Definition at line 382 of file windef.h.

#define DC_TRUETYPE   15

Definition at line 389 of file windef.h.

#define DC_VERSION   10

Definition at line 384 of file windef.h.

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

Definition at line 414 of file windef.h.

#define DECLSPEC_EXPORT   __declspec(dllexport)

Definition at line 122 of file windef.h.

#define DECLSPEC_IMPORT   __declspec(dllimport)

Definition at line 121 of file windef.h.

#define DECLSPEC_NOINLINE

Definition at line 129 of file windef.h.

#define DM_COPY   2

Definition at line 366 of file windef.h.

#define DM_IN_PROMPT   DM_PROMPT
#define DM_MODIFY   8

Definition at line 368 of file windef.h.

#define DM_OUT_DEFAULT   DM_UPDATE

Definition at line 373 of file windef.h.

#define DM_PROMPT   4

Definition at line 367 of file windef.h.

#define DM_UPDATE   1

Definition at line 365 of file windef.h.

#define FALSE   0

Definition at line 77 of file windef.h.

#define FAR

Definition at line 168 of file windef.h.

#define HFILE_ERROR   ((HFILE)-1)

Definition at line 316 of file windef.h.

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

Definition at line 252 of file windef.h.

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

Definition at line 250 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 251 of file windef.h.

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

Definition at line 249 of file windef.h.

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

Definition at line 248 of file windef.h.

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

Definition at line 247 of file windef.h.

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

Definition at line 240 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 243 of file windef.h.

#define near

Definition at line 138 of file windef.h.

#define NEAR

Definition at line 169 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 139 of file windef.h.

#define PASCAL   WINAPI

Definition at line 156 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 151 of file windef.h.

#define WINAPIV   __cdecl

Definition at line 153 of file windef.h.

#define WINELIB_NAME_AW (   func)    func##A

Definition at line 407 of file windef.h.

#define WINVER   0x0502

Definition at line 42 of file windef.h.

Typedef Documentation

typedef WORD ATOM

Definition at line 262 of file windef.h.

typedef int BOOL

Definition at line 181 of file windef.h.

typedef unsigned char BYTE

Definition at line 189 of file windef.h.

static COLORREF

Definition at line 313 of file windef.h.

typedef unsigned long DWORD

Definition at line 192 of file windef.h.

typedef int(WINAPI * FARPROC)()

Definition at line 275 of file windef.h.

typedef float FLOAT

Definition at line 196 of file windef.h.

Definition at line 268 of file windef.h.

typedef HICON HCURSOR

Definition at line 312 of file windef.h.

typedef int HFILE

Definition at line 311 of file windef.h.

typedef void* HGDIOBJ

Definition at line 280 of file windef.h.

typedef HANDLE HGLOBAL

Definition at line 266 of file windef.h.

typedef HANDLE HLOCAL

Definition at line 267 of file windef.h.

typedef HINSTANCE HMODULE

Definition at line 298 of file windef.h.

typedef LONG HRESULT

Definition at line 234 of file windef.h.

typedef int INT

Definition at line 58 of file windef.h.

Definition at line 269 of file windef.h.

typedef LONG_PTR LPARAM

Definition at line 231 of file windef.h.

typedef BOOL* LPBOOL

Definition at line 185 of file windef.h.

typedef BYTE* LPBYTE

Definition at line 199 of file windef.h.

typedef DWORD* LPCOLORREF

Definition at line 314 of file windef.h.

typedef const RECT* LPCRECT

Definition at line 325 of file windef.h.

typedef const RECTL* LPCRECTL

Definition at line 334 of file windef.h.

static LPCVOID

Definition at line 214 of file windef.h.

typedef DWORD* LPDWORD

Definition at line 210 of file windef.h.

typedef HANDLE* LPHANDLE

Definition at line 265 of file windef.h.

static LPINT

Definition at line 201 of file windef.h.

typedef long* LPLONG

Definition at line 205 of file windef.h.

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

Definition at line 352 of file windef.h.

typedef unsigned int* LPUINT

Definition at line 219 of file windef.h.

typedef void* LPVOID

Definition at line 211 of file windef.h.

typedef WORD* LPWORD

Definition at line 203 of file windef.h.

typedef LONG_PTR LRESULT

Definition at line 232 of file windef.h.

typedef int(WINAPI * NEARPROC)()

Definition at line 276 of file windef.h.

typedef struct tagRECT* NPRECT
static PBOOL

Definition at line 184 of file windef.h.

typedef BYTE* PBYTE

Definition at line 198 of file windef.h.

typedef DWORD* PDWORD

Definition at line 209 of file windef.h.

typedef FLOAT* PFLOAT

Definition at line 197 of file windef.h.

typedef HKEY* PHKEY

Definition at line 283 of file windef.h.

typedef int* PINT

Definition at line 200 of file windef.h.

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

Definition at line 277 of file windef.h.

typedef struct tagSIZE* PSIZE
typedef SIZE* PSIZEL

Definition at line 352 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 218 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 202 of file windef.h.

typedef struct tagRECT RECT
typedef struct _RECTL RECTL
typedef SIZE SIZEL

Definition at line 351 of file windef.h.

typedef HANDLE* SPHANDLE

Definition at line 264 of file windef.h.

typedef unsigned char UCHAR

Definition at line 55 of file windef.h.

typedef unsigned int UINT

Definition at line 217 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 177 of file windef.h.

typedef unsigned short WORD

Definition at line 190 of file windef.h.

typedef UINT_PTR WPARAM

Definition at line 230 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  )