ReactOS 0.4.15-dev-7953-g1f49173
historic.c File Reference
#include <precomp.h>
Include dependency graph for historic.c:

Go to the source code of this file.

Functions

BOOL WINAPI EngQueryEMFInfo (HDEV hdev, EMFINFO *pEMFInfo)
 
BOOL WINAPI GdiPlayDCScript (DWORD a0, DWORD a1, DWORD a2, DWORD a3, DWORD a4, DWORD a5)
 
BOOL WINAPI GdiPlayJournal (DWORD a0, DWORD a1, DWORD a2, DWORD a3, DWORD a4)
 
BOOL WINAPI GdiPlayScript (DWORD a0, DWORD a1, DWORD a2, DWORD a3, DWORD a4, DWORD a5, DWORD a6)
 
HBITMAP WINAPI GdiConvertBitmap (HBITMAP hbm)
 
HBRUSH WINAPI GdiConvertBrush (HBRUSH hbr)
 
HDC WINAPI GdiConvertDC (HDC hdc)
 
HFONT WINAPI GdiConvertFont (HFONT hfont)
 
HPALETTE WINAPI GdiConvertPalette (HPALETTE hpal)
 
HRGN WINAPI GdiConvertRegion (HRGN hregion)
 
BOOL WINAPI GdiSetAttrs (HDC hdc)
 
BOOL WINAPI GdiDeleteLocalDC (HDC hdc)
 
VOID WINAPI GdiSetServerAttr (HDC hdc, DWORD attr)
 
int WINAPI DeviceCapabilitiesExA (LPCSTR pDevice, LPCSTR pPort, WORD fwCapability, LPSTR pOutput, CONST DEVMODEA *pDevMode)
 
int WINAPI DeviceCapabilitiesExW (LPCWSTR pDevice, LPCWSTR pPort, WORD fwCapability, LPWSTR pOutput, CONST DEVMODEW *pDevMode)
 
BOOL WINAPI FixBrushOrgEx (HDC hDC, INT nXOrg, INT nYOrg, LPPOINT lpPoint)
 
DWORD WINAPI DdSwapTextureHandles (LPDDRAWI_DIRECTDRAW_LCL pDDraw, LPDDRAWI_DDRAWSURFACE_LCL pDDSLcl1, LPDDRAWI_DDRAWSURFACE_LCL pDDSLcl2)
 
BOOL WINAPI GdiReleaseLocalDC (HDC hdc)
 
HBRUSH WINAPI SelectBrushLocal (HBRUSH Currenthbm, HBRUSH Newhbm)
 
HFONT WINAPI SelectFontLocal (HFONT Currenthfnt, HFONT newhfnt)
 
HBRUSH WINAPI GdiGetLocalBrush (HBRUSH hbr)
 
HDC WINAPI GdiGetLocalDC (HDC hdc)
 
HFONT WINAPI GdiGetLocalFont (HFONT hfont)
 

Function Documentation

◆ DdSwapTextureHandles()

DWORD WINAPI DdSwapTextureHandles ( LPDDRAWI_DIRECTDRAW_LCL  pDDraw,
LPDDRAWI_DDRAWSURFACE_LCL  pDDSLcl1,
LPDDRAWI_DDRAWSURFACE_LCL  pDDSLcl2 
)

Definition at line 222 of file historic.c.

225{
226 /* Note Windows 2000/XP/VISTA always returns success */
227 return TRUE;
228}
#define TRUE
Definition: types.h:120

◆ DeviceCapabilitiesExA()

int WINAPI DeviceCapabilitiesExA ( LPCSTR  pDevice,
LPCSTR  pPort,
WORD  fwCapability,
LPSTR  pOutput,
CONST DEVMODEA pDevMode 
)

Definition at line 176 of file historic.c.

181{
182 /* Note Windows 2000/XP/VISTA always returns -1 */
183 return -1;
184}

◆ DeviceCapabilitiesExW()

int WINAPI DeviceCapabilitiesExW ( LPCWSTR  pDevice,
LPCWSTR  pPort,
WORD  fwCapability,
LPWSTR  pOutput,
CONST DEVMODEW pDevMode 
)

Definition at line 191 of file historic.c.

196{
197 /* Note Windows 2000/XP/VISTA always returns -1 */
198 return -1;
199}

◆ EngQueryEMFInfo()

BOOL WINAPI EngQueryEMFInfo ( HDEV  hdev,
EMFINFO pEMFInfo 
)

Definition at line 17 of file historic.c.

19{
20 return FALSE;
21}
#define FALSE
Definition: types.h:117

◆ FixBrushOrgEx()

BOOL WINAPI FixBrushOrgEx ( HDC  hDC,
INT  nXOrg,
INT  nYOrg,
LPPOINT  lpPoint 
)

Definition at line 206 of file historic.c.

210{
211 /* Note Windows 2000/XP/VISTA always returns FALSE */
212 return FALSE;
213}

◆ GdiConvertBitmap()

HBITMAP WINAPI GdiConvertBitmap ( HBITMAP  hbm)

Definition at line 76 of file historic.c.

77{
78 /* Note Windows 2000/XP/VISTA always returns hbm */
79 return hbm;
80}
_In_ HBITMAP hbm
Definition: ntgdi.h:2776

Referenced by Test_GdiConvertBitmap().

◆ GdiConvertBrush()

HBRUSH WINAPI GdiConvertBrush ( HBRUSH  hbr)

Definition at line 87 of file historic.c.

88{
89 /* Note Windows 2000/XP/VISTA always returns hbr */
90 return hbr;
91}

Referenced by Test_GdiConvertBrush().

◆ GdiConvertDC()

HDC WINAPI GdiConvertDC ( HDC  hdc)

Definition at line 98 of file historic.c.

99{
100 /* Note Windows 2000/XP/VISTA always returns hdc */
101 return hdc;
102}
HDC hdc
Definition: main.c:9

Referenced by Test_GdiConvertDC().

◆ GdiConvertFont()

HFONT WINAPI GdiConvertFont ( HFONT  hfont)

Definition at line 109 of file historic.c.

110{
111 /* Note Windows 2000/XP/VISTA always returns hfont */
112 return hfont;
113}
static HFONT hfont

Referenced by Test_GdiConvertFont().

◆ GdiConvertPalette()

HPALETTE WINAPI GdiConvertPalette ( HPALETTE  hpal)

Definition at line 120 of file historic.c.

121{
122 /* Note Windows 2000/XP/VISTA always returns hpal */
123 return hpal;
124}

Referenced by Test_GdiConvertPalette().

◆ GdiConvertRegion()

HRGN WINAPI GdiConvertRegion ( HRGN  hregion)

Definition at line 131 of file historic.c.

132{
133 /* Note Windows 2000/XP/VISTA always returns hregion */
134 return hregion;
135}

Referenced by Test_GdiConvertRegion().

◆ GdiDeleteLocalDC()

BOOL WINAPI GdiDeleteLocalDC ( HDC  hdc)

Definition at line 153 of file historic.c.

154{
155 /* Note Windows 2000/XP/VISTA always returns TRUE */
156 return TRUE;
157}

Referenced by Test_GdiDeleteLocalDC().

◆ GdiGetLocalBrush()

HBRUSH WINAPI GdiGetLocalBrush ( HBRUSH  hbr)

Definition at line 268 of file historic.c.

269{
270 return hbr;
271}

Referenced by Test_GdiGetLocalBrush().

◆ GdiGetLocalDC()

HDC WINAPI GdiGetLocalDC ( HDC  hdc)

Definition at line 278 of file historic.c.

279{
280 return hdc;
281}

Referenced by Test_GdiGetLocalDC().

◆ GdiGetLocalFont()

HFONT WINAPI GdiGetLocalFont ( HFONT  hfont)

Definition at line 288 of file historic.c.

289{
290 return hfont;
291}

◆ GdiPlayDCScript()

BOOL WINAPI GdiPlayDCScript ( DWORD  a0,
DWORD  a1,
DWORD  a2,
DWORD  a3,
DWORD  a4,
DWORD  a5 
)

Definition at line 28 of file historic.c.

34{
35 /* FIXME fix the prototype right */
36 return FALSE;
37}

◆ GdiPlayJournal()

BOOL WINAPI GdiPlayJournal ( DWORD  a0,
DWORD  a1,
DWORD  a2,
DWORD  a3,
DWORD  a4 
)

Definition at line 44 of file historic.c.

49{
50 /* FIXME fix the prototype right */
51 return FALSE;
52}

◆ GdiPlayScript()

BOOL WINAPI GdiPlayScript ( DWORD  a0,
DWORD  a1,
DWORD  a2,
DWORD  a3,
DWORD  a4,
DWORD  a5,
DWORD  a6 
)

Definition at line 59 of file historic.c.

66{
67 /* FIXME fix the prototype right */
68 return FALSE;
69}

◆ GdiReleaseLocalDC()

BOOL WINAPI GdiReleaseLocalDC ( HDC  hdc)

Definition at line 235 of file historic.c.

236{
237 /* Note Windows 2000/XP/VISTA always returns TRUE */
238 return TRUE;
239}

Referenced by Test_GdiReleaseLocalDC().

◆ GdiSetAttrs()

BOOL WINAPI GdiSetAttrs ( HDC  hdc)

Definition at line 142 of file historic.c.

143{
144 /* Note Windows 2000/XP/VISTA always returns TRUE */
145 return TRUE;
146}

Referenced by Test_GdiSetAttrs().

◆ GdiSetServerAttr()

VOID WINAPI GdiSetServerAttr ( HDC  hdc,
DWORD  attr 
)

Definition at line 165 of file historic.c.

166{
167 /* it does do nothing */
168}

◆ SelectBrushLocal()

HBRUSH WINAPI SelectBrushLocal ( HBRUSH  Currenthbm,
HBRUSH  Newhbm 
)

Definition at line 246 of file historic.c.

248{
249 return Newhbm;
250}

◆ SelectFontLocal()

HFONT WINAPI SelectFontLocal ( HFONT  Currenthfnt,
HFONT  newhfnt 
)

Definition at line 257 of file historic.c.

259{
260 return newhfnt;
261}