ReactOS 0.4.17-dev-923-g4c9a150
windef.h File Reference
#include <minwindef.h>
Include dependency graph for windef.h:

Go to the source code of this file.

Classes

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

Macros

#define _WINDEF_H
 
#define WINVER   0x0502
 
#define PACKED
 
#define _HRESULT_DEFINED
 
#define DPI_AWARENESS_CONTEXT_UNAWARE   ((DPI_AWARENESS_CONTEXT)-1)
 
#define DPI_AWARENESS_CONTEXT_SYSTEM_AWARE   ((DPI_AWARENESS_CONTEXT)-2)
 
#define DPI_AWARENESS_CONTEXT_PER_MONITOR_AWARE   ((DPI_AWARENESS_CONTEXT)-3)
 
#define DPI_AWARENESS_CONTEXT_PER_MONITOR_AWARE_V2   ((DPI_AWARENESS_CONTEXT)-4)
 
#define DPI_AWARENESS_CONTEXT_UNAWARE_GDISCALED   ((DPI_AWARENESS_CONTEXT)-5)
 
#define HFILE_ERROR   ((HFILE)-1)
 
#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 int * LPUINT
 
typedef int WINBOOL
 
typedef LONG HRESULT
 
typedef void * HGDIOBJ
 
typedef enum DPI_AWARENESS DPI_AWARENESS
 
typedef enum DPI_HOSTING_BEHAVIOR DPI_HOSTING_BEHAVIOR
 
typedef HICON HCURSOR
 
typedef DWORD COLORREF
 
typedef DWORD * LPCOLORREF
 
typedef struct tagRECT RECT
 
typedef struct tagRECT * PRECT
 
typedef struct tagRECT * NPRECT
 
typedef struct tagRECT * LPRECT
 
typedef const RECT * LPCRECT
 
typedef struct _RECTL RECTL
 
typedef struct _RECTL * PRECTL
 
typedef struct _RECTL * LPRECTL
 
typedef const RECTL * LPCRECTL
 
typedef struct tagPOINT POINT
 
typedef struct tagPOINT * PPOINT
 
typedef struct tagPOINT * NPPOINT
 
typedef struct tagPOINT * LPPOINT
 
typedef struct _POINTL POINTL
 
typedef struct _POINTL * PPOINTL
 
typedef struct tagSIZE SIZE
 
typedef struct tagSIZE * PSIZE
 
typedef struct tagSIZE * LPSIZE
 
typedef SIZE SIZEL
 
typedef SIZE * PSIZEL
 
typedef SIZE * LPSIZEL
 
typedef struct tagPOINTS POINTS
 
typedef struct tagPOINTS * PPOINTS
 
typedef struct tagPOINTS * LPPOINTS
 

Enumerations

enum  DPI_AWARENESS { DPI_AWARENESS_INVALID = -1 , DPI_AWARENESS_UNAWARE = 0 , DPI_AWARENESS_SYSTEM_AWARE , DPI_AWARENESS_PER_MONITOR_AWARE }
 
enum  DPI_HOSTING_BEHAVIOR { DPI_HOSTING_BEHAVIOR_INVALID = -1 , DPI_HOSTING_BEHAVIOR_DEFAULT = 0 , DPI_HOSTING_BEHAVIOR_MIXED = 1 }
 

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 (HPALETTE)
 
 DECLARE_HANDLE (HPEN)
 
 DECLARE_HANDLE (HWINEVENTHOOK)
 
 DECLARE_HANDLE (HUMPD)
 
 DECLARE_HANDLE (DPI_AWARENESS_CONTEXT)
 

Macro Definition Documentation

◆ __export

#define __export

Definition at line 203 of file windef.h.

◆ __ms_va_end

#define __ms_va_end (   list)    va_end(list)

Definition at line 252 of file windef.h.

◆ __ms_va_list

#define __ms_va_list   va_list

Definition at line 250 of file windef.h.

◆ __ms_va_start

#define __ms_va_start (   list,
  arg 
)    va_start(list,arg)

Definition at line 251 of file windef.h.

◆ _export

#define _export

Definition at line 200 of file windef.h.

◆ _HRESULT_DEFINED

#define _HRESULT_DEFINED

Definition at line 49 of file windef.h.

◆ _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.

◆ DC_BINNAMES

#define DC_BINNAMES   12

Definition at line 167 of file windef.h.

◆ DC_BINS

#define DC_BINS   6

Definition at line 161 of file windef.h.

◆ DC_COPIES

#define DC_COPIES   18

Definition at line 173 of file windef.h.

◆ DC_DRIVER

#define DC_DRIVER   11

Definition at line 166 of file windef.h.

◆ DC_DUPLEX

#define DC_DUPLEX   7

Definition at line 162 of file windef.h.

◆ DC_ENUMRESOLUTIONS

#define DC_ENUMRESOLUTIONS   13

Definition at line 168 of file windef.h.

◆ DC_EXTRA

#define DC_EXTRA   9

Definition at line 164 of file windef.h.

◆ DC_FIELDS

#define DC_FIELDS   1

Definition at line 156 of file windef.h.

◆ DC_FILEDEPENDENCIES

#define DC_FILEDEPENDENCIES   14

Definition at line 169 of file windef.h.

◆ DC_MAXEXTENT

#define DC_MAXEXTENT   5

Definition at line 160 of file windef.h.

◆ DC_MINEXTENT

#define DC_MINEXTENT   4

Definition at line 159 of file windef.h.

◆ DC_ORIENTATION

#define DC_ORIENTATION   17

Definition at line 172 of file windef.h.

◆ DC_PAPERNAMES

#define DC_PAPERNAMES   16

Definition at line 171 of file windef.h.

◆ DC_PAPERS

#define DC_PAPERS   2

Definition at line 157 of file windef.h.

◆ DC_PAPERSIZE

#define DC_PAPERSIZE   3

Definition at line 158 of file windef.h.

◆ DC_SIZE

#define DC_SIZE   8

Definition at line 163 of file windef.h.

◆ DC_TRUETYPE

#define DC_TRUETYPE   15

Definition at line 170 of file windef.h.

◆ DC_VERSION

#define DC_VERSION   10

Definition at line 165 of file windef.h.

◆ DECL_WINELIB_TYPE_AW

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

Definition at line 195 of file windef.h.

◆ DM_COPY

#define DM_COPY   2

Definition at line 147 of file windef.h.

◆ DM_IN_BUFFER

#define DM_IN_BUFFER   DM_MODIFY

Definition at line 151 of file windef.h.

◆ DM_IN_PROMPT

#define DM_IN_PROMPT   DM_PROMPT

Definition at line 152 of file windef.h.

◆ DM_MODIFY

#define DM_MODIFY   8

Definition at line 149 of file windef.h.

◆ DM_OUT_BUFFER

#define DM_OUT_BUFFER   DM_COPY

Definition at line 153 of file windef.h.

◆ DM_OUT_DEFAULT

#define DM_OUT_DEFAULT   DM_UPDATE

Definition at line 154 of file windef.h.

◆ DM_PROMPT

#define DM_PROMPT   4

Definition at line 148 of file windef.h.

◆ DM_UPDATE

#define DM_UPDATE   1

Definition at line 146 of file windef.h.

◆ DPI_AWARENESS_CONTEXT_PER_MONITOR_AWARE

#define DPI_AWARENESS_CONTEXT_PER_MONITOR_AWARE   ((DPI_AWARENESS_CONTEXT)-3)

Definition at line 89 of file windef.h.

◆ DPI_AWARENESS_CONTEXT_PER_MONITOR_AWARE_V2

#define DPI_AWARENESS_CONTEXT_PER_MONITOR_AWARE_V2   ((DPI_AWARENESS_CONTEXT)-4)

Definition at line 90 of file windef.h.

◆ DPI_AWARENESS_CONTEXT_SYSTEM_AWARE

#define DPI_AWARENESS_CONTEXT_SYSTEM_AWARE   ((DPI_AWARENESS_CONTEXT)-2)

Definition at line 88 of file windef.h.

◆ DPI_AWARENESS_CONTEXT_UNAWARE

#define DPI_AWARENESS_CONTEXT_UNAWARE   ((DPI_AWARENESS_CONTEXT)-1)

Definition at line 87 of file windef.h.

◆ DPI_AWARENESS_CONTEXT_UNAWARE_GDISCALED

#define DPI_AWARENESS_CONTEXT_UNAWARE_GDISCALED   ((DPI_AWARENESS_CONTEXT)-5)

Definition at line 91 of file windef.h.

◆ HFILE_ERROR

#define HFILE_ERROR   ((HFILE)-1)

Definition at line 103 of file windef.h.

◆ PACKED

Definition at line 38 of file windef.h.

◆ WINELIB_NAME_AW

#define WINELIB_NAME_AW (   func)    func##A

Definition at line 188 of file windef.h.

◆ WINVER

#define WINVER   0x0502

Definition at line 24 of file windef.h.

Typedef Documentation

◆ COLORREF

Definition at line 100 of file windef.h.

◆ DPI_AWARENESS

◆ DPI_HOSTING_BEHAVIOR

◆ HCURSOR

typedef HICON HCURSOR

Definition at line 99 of file windef.h.

◆ HGDIOBJ

typedef void* HGDIOBJ

Definition at line 59 of file windef.h.

◆ HRESULT

typedef LONG HRESULT

Definition at line 48 of file windef.h.

◆ LPCOLORREF

typedef DWORD* LPCOLORREF

Definition at line 101 of file windef.h.

◆ LPCRECT

typedef const RECT* LPCRECT

Definition at line 112 of file windef.h.

◆ LPCRECTL

typedef const RECTL* LPCRECTL

Definition at line 121 of file windef.h.

◆ LPPOINT

◆ LPPOINTS

◆ LPRECT

typedef struct tagRECT* LPRECT

◆ LPRECTL

typedef struct _RECTL* LPRECTL

◆ LPSIZE

typedef struct tagSIZE* LPSIZE

◆ LPSIZEL

typedef SIZE * LPSIZEL

Definition at line 139 of file windef.h.

◆ LPUINT

typedef unsigned int* LPUINT

Definition at line 41 of file windef.h.

◆ NPPOINT

◆ NPRECT

typedef struct tagRECT* NPRECT

◆ POINT

◆ POINTL

◆ POINTS

◆ PPOINT

◆ PPOINTL

◆ PPOINTS

◆ PRECT

typedef struct tagRECT* PRECT

◆ PRECTL

typedef struct _RECTL* PRECTL

◆ PSIZE

typedef struct tagSIZE* PSIZE

◆ PSIZEL

typedef SIZE* PSIZEL

Definition at line 139 of file windef.h.

◆ RECT

typedef struct tagRECT RECT

◆ RECTL

typedef struct _RECTL RECTL

◆ SIZE

typedef struct tagSIZE SIZE

◆ SIZEL

typedef SIZE SIZEL

Definition at line 138 of file windef.h.

◆ WINBOOL

typedef int WINBOOL

Definition at line 45 of file windef.h.

Enumeration Type Documentation

◆ DPI_AWARENESS

Enumerator
DPI_AWARENESS_INVALID 
DPI_AWARENESS_UNAWARE 
DPI_AWARENESS_SYSTEM_AWARE 
DPI_AWARENESS_PER_MONITOR_AWARE 

Definition at line 80 of file windef.h.

80 {
DPI_AWARENESS
Definition: windef.h:80
@ DPI_AWARENESS_PER_MONITOR_AWARE
Definition: windef.h:84
@ DPI_AWARENESS_SYSTEM_AWARE
Definition: windef.h:83
@ DPI_AWARENESS_INVALID
Definition: windef.h:81
@ DPI_AWARENESS_UNAWARE
Definition: windef.h:82

◆ DPI_HOSTING_BEHAVIOR

Enumerator
DPI_HOSTING_BEHAVIOR_INVALID 
DPI_HOSTING_BEHAVIOR_DEFAULT 
DPI_HOSTING_BEHAVIOR_MIXED 

Definition at line 93 of file windef.h.

93 {
DPI_HOSTING_BEHAVIOR
Definition: windef.h:93
@ DPI_HOSTING_BEHAVIOR_INVALID
Definition: windef.h:94
@ DPI_HOSTING_BEHAVIOR_DEFAULT
Definition: windef.h:95
@ DPI_HOSTING_BEHAVIOR_MIXED
Definition: windef.h:96

Function Documentation

◆ DECLARE_HANDLE() [1/17]

DECLARE_HANDLE ( DPI_AWARENESS_CONTEXT  )

◆ DECLARE_HANDLE() [2/17]

DECLARE_HANDLE ( HACCEL  )

◆ DECLARE_HANDLE() [3/17]

DECLARE_HANDLE ( HBITMAP  )

◆ DECLARE_HANDLE() [4/17]

DECLARE_HANDLE ( HBRUSH  )

◆ DECLARE_HANDLE() [5/17]

DECLARE_HANDLE ( HCOLORSPACE  )

◆ DECLARE_HANDLE() [6/17]

DECLARE_HANDLE ( HDC  )

◆ DECLARE_HANDLE() [7/17]

DECLARE_HANDLE ( HDESK  )

◆ DECLARE_HANDLE() [8/17]

DECLARE_HANDLE ( HENHMETAFILE  )

◆ DECLARE_HANDLE() [9/17]

DECLARE_HANDLE ( HFONT  )

◆ DECLARE_HANDLE() [10/17]

DECLARE_HANDLE ( HGLRC  )

◆ DECLARE_HANDLE() [11/17]

DECLARE_HANDLE ( HICON  )

◆ DECLARE_HANDLE() [12/17]

DECLARE_HANDLE ( HMENU  )

◆ DECLARE_HANDLE() [13/17]

DECLARE_HANDLE ( HPALETTE  )

◆ DECLARE_HANDLE() [14/17]

DECLARE_HANDLE ( HPEN  )

◆ DECLARE_HANDLE() [15/17]

DECLARE_HANDLE ( HUMPD  )

◆ DECLARE_HANDLE() [16/17]

DECLARE_HANDLE ( HWINEVENTHOOK  )

◆ DECLARE_HANDLE() [17/17]

DECLARE_HANDLE ( HWND  )