wingdi.h (5.2.3790.1830-Windows 5.0) | | wingdi.h (6.0.6001.18000-Windows 6.0) |
| | |
skipping to change at line 12 | | skipping to change at line 12 |
* * | | * * |
* wingdi.h -- GDI procedure declarations, constant definitions and macros * | | * wingdi.h -- GDI procedure declarations, constant definitions and macros * |
* * | | * * |
* Copyright (c) Microsoft Corp. All rights reserved. * | | * Copyright (c) Microsoft Corp. All rights reserved. * |
* * | | * * |
**************************************************************************/ | | **************************************************************************/ |
| | |
#ifndef _WINGDI_ | | #ifndef _WINGDI_ |
#define _WINGDI_ | | #define _WINGDI_ |
| | |
|
| | #pragma once |
| | |
#ifdef _MAC | | #ifdef _MAC |
#include <macwin32.h> | | #include <macwin32.h> |
#endif | | #endif |
// | | // |
// Define API decoration for direct importing of DLL references. | | // Define API decoration for direct importing of DLL references. |
// | | // |
| | |
#if !defined(_GDI32_) | | #if !defined(_GDI32_) |
#define WINGDIAPI DECLSPEC_IMPORT | | #define WINGDIAPI DECLSPEC_IMPORT |
#else | | #else |
| | |
skipping to change at line 94 | | skipping to change at line 96 |
#define NOMIRRORBITMAP (DWORD)0x80000000 /* Do not Mirror the bitmap in thi
s call */ | | #define NOMIRRORBITMAP (DWORD)0x80000000 /* Do not Mirror the bitmap in thi
s call */ |
#define CAPTUREBLT (DWORD)0x40000000 /* Include layered windows */ | | #define CAPTUREBLT (DWORD)0x40000000 /* Include layered windows */ |
#endif /* WINVER >= 0x0500 */ | | #endif /* WINVER >= 0x0500 */ |
| | |
/* Quaternary raster codes */ | | /* Quaternary raster codes */ |
#define MAKEROP4(fore,back) (DWORD)((((back) << 8) & 0xFF000000) | (fore)) | | #define MAKEROP4(fore,back) (DWORD)((((back) << 8) & 0xFF000000) | (fore)) |
| | |
#endif /* NORASTEROPS */ | | #endif /* NORASTEROPS */ |
| | |
#define GDI_ERROR (0xFFFFFFFFL) | | #define GDI_ERROR (0xFFFFFFFFL) |
|
| | #if (_WIN32_WINNT >= _WIN32_WINNT_WINXP) |
#define HGDI_ERROR (LongToHandle(0xFFFFFFFFL)) | | #define HGDI_ERROR (LongToHandle(0xFFFFFFFFL)) |
|
| | #else |
| | #define HGDI_ERROR ((HANDLE)-1) |
| | #endif // (_WIN32_WINNT >= _WIN32_WINNT_WINXP) |
| | |
/* Region Flags */ | | /* Region Flags */ |
#define ERROR 0 | | #define ERROR 0 |
#define NULLREGION 1 | | #define NULLREGION 1 |
#define SIMPLEREGION 2 | | #define SIMPLEREGION 2 |
#define COMPLEXREGION 3 | | #define COMPLEXREGION 3 |
#define RGN_ERROR ERROR | | #define RGN_ERROR ERROR |
| | |
/* CombineRgn() Styles */ | | /* CombineRgn() Styles */ |
#define RGN_AND 1 | | #define RGN_AND 1 |
| | |
skipping to change at line 175 | | skipping to change at line 181 |
| | |
#define ETO_OPAQUE 0x0002 | | #define ETO_OPAQUE 0x0002 |
#define ETO_CLIPPED 0x0004 | | #define ETO_CLIPPED 0x0004 |
#if(WINVER >= 0x0400) | | #if(WINVER >= 0x0400) |
#define ETO_GLYPH_INDEX 0x0010 | | #define ETO_GLYPH_INDEX 0x0010 |
#define ETO_RTLREADING 0x0080 | | #define ETO_RTLREADING 0x0080 |
#define ETO_NUMERICSLOCAL 0x0400 | | #define ETO_NUMERICSLOCAL 0x0400 |
#define ETO_NUMERICSLATIN 0x0800 | | #define ETO_NUMERICSLATIN 0x0800 |
#define ETO_IGNORELANGUAGE 0x1000 | | #define ETO_IGNORELANGUAGE 0x1000 |
#endif /* WINVER >= 0x0400 */ | | #endif /* WINVER >= 0x0400 */ |
|
#if (_WIN32_WINNT >= 0x0500) | | #if (_WIN32_WINNT >= _WIN32_WINNT_WIN2K) |
#define ETO_PDY 0x2000 | | #define ETO_PDY 0x2000 |
|
#endif // (_WIN32_WINNT >= 0x0500) | | #endif // (_WIN32_WINNT >= _WIN32_WINNT_WIN2K) |
| | #if (_WIN32_WINNT >= _WIN32_WINNT_LONGHORN) |
| | #define ETO_REVERSE_INDEX_MAP 0x10000 |
| | #endif |
| | |
#define ASPECT_FILTERING 0x0001 | | #define ASPECT_FILTERING 0x0001 |
| | |
/* Bounds Accumulation APIs */ | | /* Bounds Accumulation APIs */ |
| | |
#define DCB_RESET 0x0001 | | #define DCB_RESET 0x0001 |
#define DCB_ACCUMULATE 0x0002 | | #define DCB_ACCUMULATE 0x0002 |
#define DCB_DIRTY DCB_ACCUMULATE | | #define DCB_DIRTY DCB_ACCUMULATE |
#define DCB_SET (DCB_RESET | DCB_ACCUMULATE) | | #define DCB_SET (DCB_RESET | DCB_ACCUMULATE) |
#define DCB_ENABLE 0x0004 | | #define DCB_ENABLE 0x0004 |
| | |
skipping to change at line 365 | | skipping to change at line 374 |
#define ENCAPSULATED_POSTSCRIPT 4116 | | #define ENCAPSULATED_POSTSCRIPT 4116 |
| | |
#define POSTSCRIPT_IDENTIFY 4117 /* new escape for NT5 pscript driver
*/ | | #define POSTSCRIPT_IDENTIFY 4117 /* new escape for NT5 pscript driver
*/ |
#define POSTSCRIPT_INJECTION 4118 /* new escape for NT5 pscript driver
*/ | | #define POSTSCRIPT_INJECTION 4118 /* new escape for NT5 pscript driver
*/ |
| | |
#define CHECKJPEGFORMAT 4119 | | #define CHECKJPEGFORMAT 4119 |
#define CHECKPNGFORMAT 4120 | | #define CHECKPNGFORMAT 4120 |
| | |
#define GET_PS_FEATURESETTING 4121 /* new escape for NT5 pscript driver
*/ | | #define GET_PS_FEATURESETTING 4121 /* new escape for NT5 pscript driver
*/ |
| | |
|
| | #define GDIPLUS_TS_QUERYVER 4122 /* private escape */ |
| | #define GDIPLUS_TS_RECORD 4123 /* private escape */ |
| | |
| | /* |
| | * Return Values for MILCORE_TS_QUERYVER |
| | */ |
| | |
| | #if (_WIN32_WINNT >= _WIN32_WINNT_LONGHORN) |
| | #define MILCORE_TS_QUERYVER_RESULT_FALSE 0x0 |
| | #define MILCORE_TS_QUERYVER_RESULT_TRUE 0x7FFFFFFF |
| | #endif // (_WIN32_WINNT >= _WIN32_WINNT_LONGHORN) |
| | |
#define SPCLPASSTHROUGH2 4568 /* new escape for NT5 pscript driver
*/ | | #define SPCLPASSTHROUGH2 4568 /* new escape for NT5 pscript driver
*/ |
| | |
/* | | /* |
* Parameters for POSTSCRIPT_IDENTIFY escape | | * Parameters for POSTSCRIPT_IDENTIFY escape |
*/ | | */ |
| | |
#define PSIDENT_GDICENTRIC 0 | | #define PSIDENT_GDICENTRIC 0 |
#define PSIDENT_PSCENTRIC 1 | | #define PSIDENT_PSCENTRIC 1 |
| | |
/* | | /* |
| | |
skipping to change at line 441 | | skipping to change at line 462 |
*/ | | */ |
| | |
#define FEATURESETTING_NUP 0 | | #define FEATURESETTING_NUP 0 |
#define FEATURESETTING_OUTPUT 1 | | #define FEATURESETTING_OUTPUT 1 |
#define FEATURESETTING_PSLEVEL 2 | | #define FEATURESETTING_PSLEVEL 2 |
#define FEATURESETTING_CUSTPAPER 3 | | #define FEATURESETTING_CUSTPAPER 3 |
#define FEATURESETTING_MIRROR 4 | | #define FEATURESETTING_MIRROR 4 |
#define FEATURESETTING_NEGATIVE 5 | | #define FEATURESETTING_NEGATIVE 5 |
#define FEATURESETTING_PROTOCOL 6 | | #define FEATURESETTING_PROTOCOL 6 |
| | |
|
| | #if (_WIN32_WINNT >= _WIN32_WINNT_WINXP) |
// | | // |
// The range of selectors between FEATURESETTING_PRIVATE_BEGIN and | | // The range of selectors between FEATURESETTING_PRIVATE_BEGIN and |
// FEATURESETTING_PRIVATE_END is reserved by Microsoft for private use | | // FEATURESETTING_PRIVATE_END is reserved by Microsoft for private use |
// | | // |
#define FEATURESETTING_PRIVATE_BEGIN 0x1000 | | #define FEATURESETTING_PRIVATE_BEGIN 0x1000 |
#define FEATURESETTING_PRIVATE_END 0x1FFF | | #define FEATURESETTING_PRIVATE_END 0x1FFF |
|
| | #endif // (_WIN32_WINNT >= _WIN32_WINNT_WINXP) |
| | |
/* | | /* |
* Information about output options | | * Information about output options |
*/ | | */ |
| | |
typedef struct _PSFEATURE_OUTPUT { | | typedef struct _PSFEATURE_OUTPUT { |
| | |
BOOL bPageIndependent; | | BOOL bPageIndependent; |
BOOL bSetPageDevice; | | BOOL bSetPageDevice; |
| | |
| | |
skipping to change at line 511 | | skipping to change at line 534 |
#define OBJ_FONT 6 | | #define OBJ_FONT 6 |
#define OBJ_BITMAP 7 | | #define OBJ_BITMAP 7 |
#define OBJ_REGION 8 | | #define OBJ_REGION 8 |
#define OBJ_METAFILE 9 | | #define OBJ_METAFILE 9 |
#define OBJ_MEMDC 10 | | #define OBJ_MEMDC 10 |
#define OBJ_EXTPEN 11 | | #define OBJ_EXTPEN 11 |
#define OBJ_ENHMETADC 12 | | #define OBJ_ENHMETADC 12 |
#define OBJ_ENHMETAFILE 13 | | #define OBJ_ENHMETAFILE 13 |
#define OBJ_COLORSPACE 14 | | #define OBJ_COLORSPACE 14 |
| | |
|
| | #define GDI_OBJ_LAST OBJ_COLORSPACE |
| | |
/* xform stuff */ | | /* xform stuff */ |
#define MWT_IDENTITY 1 | | #define MWT_IDENTITY 1 |
#define MWT_LEFTMULTIPLY 2 | | #define MWT_LEFTMULTIPLY 2 |
#define MWT_RIGHTMULTIPLY 3 | | #define MWT_RIGHTMULTIPLY 3 |
| | |
#define MWT_MIN MWT_IDENTITY | | #define MWT_MIN MWT_IDENTITY |
#define MWT_MAX MWT_RIGHTMULTIPLY | | #define MWT_MAX MWT_RIGHTMULTIPLY |
| | |
#define _XFORM_ | | #define _XFORM_ |
typedef struct tagXFORM | | typedef struct tagXFORM |
| | |
skipping to change at line 547 | | skipping to change at line 572 |
WORD bmPlanes; | | WORD bmPlanes; |
WORD bmBitsPixel; | | WORD bmBitsPixel; |
LPVOID bmBits; | | LPVOID bmBits; |
} BITMAP, *PBITMAP, NEAR *NPBITMAP, FAR *LPBITMAP; | | } BITMAP, *PBITMAP, NEAR *NPBITMAP, FAR *LPBITMAP; |
| | |
#include <pshpack1.h> | | #include <pshpack1.h> |
typedef struct tagRGBTRIPLE { | | typedef struct tagRGBTRIPLE { |
BYTE rgbtBlue; | | BYTE rgbtBlue; |
BYTE rgbtGreen; | | BYTE rgbtGreen; |
BYTE rgbtRed; | | BYTE rgbtRed; |
|
} RGBTRIPLE; | | } RGBTRIPLE, *PRGBTRIPLE, NEAR *NPRGBTRIPLE, FAR *LPRGBTRIPLE; |
#include <poppack.h> | | #include <poppack.h> |
| | |
typedef struct tagRGBQUAD { | | typedef struct tagRGBQUAD { |
BYTE rgbBlue; | | BYTE rgbBlue; |
BYTE rgbGreen; | | BYTE rgbGreen; |
BYTE rgbRed; | | BYTE rgbRed; |
BYTE rgbReserved; | | BYTE rgbReserved; |
} RGBQUAD; | | } RGBQUAD; |
typedef RGBQUAD FAR* LPRGBQUAD; | | typedef RGBQUAD FAR* LPRGBQUAD; |
| | |
| | |
skipping to change at line 754 | | skipping to change at line 779 |
#define PROFILE_EMBEDDED 'MBED' | | #define PROFILE_EMBEDDED 'MBED' |
#endif | | #endif |
| | |
/* constants for the biCompression field */ | | /* constants for the biCompression field */ |
#define BI_RGB 0L | | #define BI_RGB 0L |
#define BI_RLE8 1L | | #define BI_RLE8 1L |
#define BI_RLE4 2L | | #define BI_RLE4 2L |
#define BI_BITFIELDS 3L | | #define BI_BITFIELDS 3L |
#define BI_JPEG 4L | | #define BI_JPEG 4L |
#define BI_PNG 5L | | #define BI_PNG 5L |
|
#if (_WIN32_WINNT >= 0x0400) | | #if (_WIN32_WINNT >= _WIN32_WINNT_NT4) |
#endif | | #endif |
| | |
typedef struct tagBITMAPINFO { | | typedef struct tagBITMAPINFO { |
BITMAPINFOHEADER bmiHeader; | | BITMAPINFOHEADER bmiHeader; |
RGBQUAD bmiColors[1]; | | RGBQUAD bmiColors[1]; |
} BITMAPINFO, FAR *LPBITMAPINFO, *PBITMAPINFO; | | } BITMAPINFO, FAR *LPBITMAPINFO, *PBITMAPINFO; |
| | |
typedef struct tagBITMAPCOREINFO { | | typedef struct tagBITMAPCOREINFO { |
BITMAPCOREHEADER bmciHeader; | | BITMAPCOREHEADER bmciHeader; |
RGBTRIPLE bmciColors[1]; | | RGBTRIPLE bmciColors[1]; |
| | |
skipping to change at line 797 | | skipping to change at line 822 |
typedef struct tagCHARSETINFO | | typedef struct tagCHARSETINFO |
{ | | { |
UINT ciCharset; | | UINT ciCharset; |
UINT ciACP; | | UINT ciACP; |
FONTSIGNATURE fs; | | FONTSIGNATURE fs; |
} CHARSETINFO, *PCHARSETINFO, NEAR *NPCHARSETINFO, FAR *LPCHARSETINFO; | | } CHARSETINFO, *PCHARSETINFO, NEAR *NPCHARSETINFO, FAR *LPCHARSETINFO; |
| | |
#define TCI_SRCCHARSET 1 | | #define TCI_SRCCHARSET 1 |
#define TCI_SRCCODEPAGE 2 | | #define TCI_SRCCODEPAGE 2 |
#define TCI_SRCFONTSIG 3 | | #define TCI_SRCFONTSIG 3 |
|
| | #if (_WIN32_WINNT >= _WIN32_WINNT_WINXP) |
#define TCI_SRCLOCALE 0x1000 | | #define TCI_SRCLOCALE 0x1000 |
|
| | #endif // (_WIN32_WINNT >= _WIN32_WINNT_WINXP) |
| | |
typedef struct tagLOCALESIGNATURE | | typedef struct tagLOCALESIGNATURE |
{ | | { |
DWORD lsUsb[4]; | | DWORD lsUsb[4]; |
DWORD lsCsbDefault[2]; | | DWORD lsCsbDefault[2]; |
DWORD lsCsbSupported[2]; | | DWORD lsCsbSupported[2]; |
} LOCALESIGNATURE, *PLOCALESIGNATURE,FAR *LPLOCALESIGNATURE; | | } LOCALESIGNATURE, *PLOCALESIGNATURE,FAR *LPLOCALESIGNATURE; |
| | |
#endif | | #endif |
#endif /* WINVER >= 0x0400 */ | | #endif /* WINVER >= 0x0400 */ |
| | |
skipping to change at line 860 | | skipping to change at line 887 |
/* Enhanced Metafile structures */ | | /* Enhanced Metafile structures */ |
typedef struct tagENHMETARECORD | | typedef struct tagENHMETARECORD |
{ | | { |
DWORD iType; // Record type EMR_XXX | | DWORD iType; // Record type EMR_XXX |
DWORD nSize; // Record size in bytes | | DWORD nSize; // Record size in bytes |
DWORD dParm[1]; // Parameters | | DWORD dParm[1]; // Parameters |
} ENHMETARECORD, *PENHMETARECORD, *LPENHMETARECORD; | | } ENHMETARECORD, *PENHMETARECORD, *LPENHMETARECORD; |
| | |
typedef struct tagENHMETAHEADER | | typedef struct tagENHMETAHEADER |
{ | | { |
|
DWORD iType; // Record type EMR_HEADER | | DWORD iType; // Record typeEMR_HEADER |
DWORD nSize; // Record size in bytes. This may be greater | | DWORD nSize; // Record size in bytes. This may be greater |
// than the sizeof(ENHMETAHEADER). | | // than the sizeof(ENHMETAHEADER). |
RECTL rclBounds; // Inclusive-inclusive bounds in device units | | RECTL rclBounds; // Inclusive-inclusive bounds in device units |
RECTL rclFrame; // Inclusive-inclusive Picture Frame of metafile
in .01 mm units | | RECTL rclFrame; // Inclusive-inclusive Picture Frame of metafile
in .01 mm units |
DWORD dSignature; // Signature. Must be ENHMETA_SIGNATURE. | | DWORD dSignature; // Signature. Must be ENHMETA_SIGNATURE. |
DWORD nVersion; // Version number | | DWORD nVersion; // Version number |
DWORD nBytes; // Size of the metafile in bytes | | DWORD nBytes; // Size of the metafile in bytes |
DWORD nRecords; // Number of records in the metafile | | DWORD nRecords; // Number of records in the metafile |
WORD nHandles; // Number of handles in the handle table | | WORD nHandles; // Number of handles in the handle table |
// Handle index zero is reserved. | | // Handle index zero is reserved. |
| | |
skipping to change at line 914 | | skipping to change at line 941 |
// BCHAR definition for APPs | | // BCHAR definition for APPs |
// | | // |
#ifdef UNICODE | | #ifdef UNICODE |
typedef WCHAR BCHAR; | | typedef WCHAR BCHAR; |
#else | | #else |
typedef BYTE BCHAR; | | typedef BYTE BCHAR; |
#endif | | #endif |
| | |
#ifndef _TEXTMETRIC_DEFINED | | #ifndef _TEXTMETRIC_DEFINED |
#define _TEXTMETRIC_DEFINED | | #define _TEXTMETRIC_DEFINED |
|
| | #include <pshpack4.h> |
typedef struct tagTEXTMETRICA | | typedef struct tagTEXTMETRICA |
{ | | { |
LONG tmHeight; | | LONG tmHeight; |
LONG tmAscent; | | LONG tmAscent; |
LONG tmDescent; | | LONG tmDescent; |
LONG tmInternalLeading; | | LONG tmInternalLeading; |
LONG tmExternalLeading; | | LONG tmExternalLeading; |
LONG tmAveCharWidth; | | LONG tmAveCharWidth; |
LONG tmMaxCharWidth; | | LONG tmMaxCharWidth; |
LONG tmWeight; | | LONG tmWeight; |
| | |
skipping to change at line 971 | | skipping to change at line 999 |
typedef TEXTMETRICW TEXTMETRIC; | | typedef TEXTMETRICW TEXTMETRIC; |
typedef PTEXTMETRICW PTEXTMETRIC; | | typedef PTEXTMETRICW PTEXTMETRIC; |
typedef NPTEXTMETRICW NPTEXTMETRIC; | | typedef NPTEXTMETRICW NPTEXTMETRIC; |
typedef LPTEXTMETRICW LPTEXTMETRIC; | | typedef LPTEXTMETRICW LPTEXTMETRIC; |
#else | | #else |
typedef TEXTMETRICA TEXTMETRIC; | | typedef TEXTMETRICA TEXTMETRIC; |
typedef PTEXTMETRICA PTEXTMETRIC; | | typedef PTEXTMETRICA PTEXTMETRIC; |
typedef NPTEXTMETRICA NPTEXTMETRIC; | | typedef NPTEXTMETRICA NPTEXTMETRIC; |
typedef LPTEXTMETRICA LPTEXTMETRIC; | | typedef LPTEXTMETRICA LPTEXTMETRIC; |
#endif // UNICODE | | #endif // UNICODE |
|
| | #include <poppack.h> |
#endif // !_TEXTMETRIC_DEFINED | | #endif // !_TEXTMETRIC_DEFINED |
| | |
/* ntmFlags field flags */ | | /* ntmFlags field flags */ |
#define NTM_REGULAR 0x00000040L | | #define NTM_REGULAR 0x00000040L |
#define NTM_BOLD 0x00000020L | | #define NTM_BOLD 0x00000020L |
#define NTM_ITALIC 0x00000001L | | #define NTM_ITALIC 0x00000001L |
| | |
/* new in NT 5.0 */ | | /* new in NT 5.0 */ |
| | |
#define NTM_NONNEGATIVE_AC 0x00010000 | | #define NTM_NONNEGATIVE_AC 0x00010000 |
| | |
skipping to change at line 1140 | | skipping to change at line 1169 |
BYTE peFlags; | | BYTE peFlags; |
} PALETTEENTRY, *PPALETTEENTRY, FAR *LPPALETTEENTRY; | | } PALETTEENTRY, *PPALETTEENTRY, FAR *LPPALETTEENTRY; |
#endif // !_PALETTEENTRY_DEFINED | | #endif // !_PALETTEENTRY_DEFINED |
| | |
#ifndef _LOGPALETTE_DEFINED | | #ifndef _LOGPALETTE_DEFINED |
#define _LOGPALETTE_DEFINED | | #define _LOGPALETTE_DEFINED |
/* Logical Palette */ | | /* Logical Palette */ |
typedef struct tagLOGPALETTE { | | typedef struct tagLOGPALETTE { |
WORD palVersion; | | WORD palVersion; |
WORD palNumEntries; | | WORD palNumEntries; |
|
PALETTEENTRY palPalEntry[1]; | | __field_ecount_opt(palNumEntries) PALETTEENTRY palPalEntry[1]; |
} LOGPALETTE, *PLOGPALETTE, NEAR *NPLOGPALETTE, FAR *LPLOGPALETTE; | | } LOGPALETTE, *PLOGPALETTE, NEAR *NPLOGPALETTE, FAR *LPLOGPALETTE; |
#endif // !_LOGPALETTE_DEFINED | | #endif // !_LOGPALETTE_DEFINED |
| | |
/* Logical Font */ | | /* Logical Font */ |
#define LF_FACESIZE 32 | | #define LF_FACESIZE 32 |
| | |
typedef struct tagLOGFONTA | | typedef struct tagLOGFONTA |
{ | | { |
LONG lfHeight; | | LONG lfHeight; |
LONG lfWidth; | | LONG lfWidth; |
| | |
skipping to change at line 1259 | | skipping to change at line 1288 |
#define OUT_OUTLINE_PRECIS 8 | | #define OUT_OUTLINE_PRECIS 8 |
#define OUT_SCREEN_OUTLINE_PRECIS 9 | | #define OUT_SCREEN_OUTLINE_PRECIS 9 |
#define OUT_PS_ONLY_PRECIS 10 | | #define OUT_PS_ONLY_PRECIS 10 |
| | |
#define CLIP_DEFAULT_PRECIS 0 | | #define CLIP_DEFAULT_PRECIS 0 |
#define CLIP_CHARACTER_PRECIS 1 | | #define CLIP_CHARACTER_PRECIS 1 |
#define CLIP_STROKE_PRECIS 2 | | #define CLIP_STROKE_PRECIS 2 |
#define CLIP_MASK 0xf | | #define CLIP_MASK 0xf |
#define CLIP_LH_ANGLES (1<<4) | | #define CLIP_LH_ANGLES (1<<4) |
#define CLIP_TT_ALWAYS (2<<4) | | #define CLIP_TT_ALWAYS (2<<4) |
|
| | #if (_WIN32_WINNT >= _WIN32_WINNT_LONGHORN) |
#define CLIP_DFA_DISABLE (4<<4) | | #define CLIP_DFA_DISABLE (4<<4) |
|
| | #endif // (_WIN32_WINNT >= _WIN32_WINNT_LONGHORN) |
#define CLIP_EMBEDDED (8<<4) | | #define CLIP_EMBEDDED (8<<4) |
| | |
#define DEFAULT_QUALITY 0 | | #define DEFAULT_QUALITY 0 |
#define DRAFT_QUALITY 1 | | #define DRAFT_QUALITY 1 |
#define PROOF_QUALITY 2 | | #define PROOF_QUALITY 2 |
#if(WINVER >= 0x0400) | | #if(WINVER >= 0x0400) |
#define NONANTIALIASED_QUALITY 3 | | #define NONANTIALIASED_QUALITY 3 |
#define ANTIALIASED_QUALITY 4 | | #define ANTIALIASED_QUALITY 4 |
#endif /* WINVER >= 0x0400 */ | | #endif /* WINVER >= 0x0400 */ |
| | |
|
#if (_WIN32_WINNT >= 0x0500) | | #if (_WIN32_WINNT >= _WIN32_WINNT_WINXP) |
#define CLEARTYPE_QUALITY 5 | | #define CLEARTYPE_QUALITY 5 |
|
#endif | | |
| | |
#if (_WIN32_WINNT >= 0x0501) | | |
#define CLEARTYPE_NATURAL_QUALITY 6 | | #define CLEARTYPE_NATURAL_QUALITY 6 |
#endif | | #endif |
| | |
#define DEFAULT_PITCH 0 | | #define DEFAULT_PITCH 0 |
#define FIXED_PITCH 1 | | #define FIXED_PITCH 1 |
#define VARIABLE_PITCH 2 | | #define VARIABLE_PITCH 2 |
#if(WINVER >= 0x0400) | | #if(WINVER >= 0x0400) |
#define MONO_FONT 8 | | #define MONO_FONT 8 |
#endif /* WINVER >= 0x0400 */ | | #endif /* WINVER >= 0x0400 */ |
| | |
| | |
skipping to change at line 1611 | | skipping to change at line 1639 |
#define ANSI_VAR_FONT 12 | | #define ANSI_VAR_FONT 12 |
#define SYSTEM_FONT 13 | | #define SYSTEM_FONT 13 |
#define DEVICE_DEFAULT_FONT 14 | | #define DEVICE_DEFAULT_FONT 14 |
#define DEFAULT_PALETTE 15 | | #define DEFAULT_PALETTE 15 |
#define SYSTEM_FIXED_FONT 16 | | #define SYSTEM_FIXED_FONT 16 |
| | |
#if(WINVER >= 0x0400) | | #if(WINVER >= 0x0400) |
#define DEFAULT_GUI_FONT 17 | | #define DEFAULT_GUI_FONT 17 |
#endif /* WINVER >= 0x0400 */ | | #endif /* WINVER >= 0x0400 */ |
| | |
|
#if (_WIN32_WINNT >= 0x0500) | | #if (_WIN32_WINNT >= _WIN32_WINNT_WIN2K) |
#define DC_BRUSH 18 | | #define DC_BRUSH 18 |
#define DC_PEN 19 | | #define DC_PEN 19 |
#endif | | #endif |
| | |
|
#if (_WIN32_WINNT >= 0x0500) | | #if (_WIN32_WINNT >= _WIN32_WINNT_WIN2K) |
#define STOCK_LAST 19 | | #define STOCK_LAST 19 |
#elif (WINVER >= 0x0400) | | #elif (WINVER >= 0x0400) |
#define STOCK_LAST 17 | | #define STOCK_LAST 17 |
#else | | #else |
#define STOCK_LAST 16 | | #define STOCK_LAST 16 |
#endif | | #endif |
| | |
#define CLR_INVALID 0xFFFFFFFF | | #define CLR_INVALID 0xFFFFFFFF |
| | |
/* Brush Styles */ | | /* Brush Styles */ |
| | |
skipping to change at line 1870 | | skipping to change at line 1898 |
/* ExtFloodFill style flags */ | | /* ExtFloodFill style flags */ |
#define FLOODFILLBORDER 0 | | #define FLOODFILLBORDER 0 |
#define FLOODFILLSURFACE 1 | | #define FLOODFILLSURFACE 1 |
| | |
/* size of a device name string */ | | /* size of a device name string */ |
#define CCHDEVICENAME 32 | | #define CCHDEVICENAME 32 |
| | |
/* size of a form name string */ | | /* size of a form name string */ |
#define CCHFORMNAME 32 | | #define CCHFORMNAME 32 |
| | |
|
| | #if (_WIN32_WINNT >= ((OSVER(NTDDI_WINXPSP2)) >> 16)) |
typedef struct _devicemodeA { | | typedef struct _devicemodeA { |
BYTE dmDeviceName[CCHDEVICENAME]; | | BYTE dmDeviceName[CCHDEVICENAME]; |
WORD dmSpecVersion; | | WORD dmSpecVersion; |
WORD dmDriverVersion; | | WORD dmDriverVersion; |
WORD dmSize; | | WORD dmSize; |
WORD dmDriverExtra; | | WORD dmDriverExtra; |
DWORD dmFields; | | DWORD dmFields; |
union { | | union { |
/* printer only fields */ | | /* printer only fields */ |
struct { | | struct { |
| | |
skipping to change at line 1918 | | skipping to change at line 1947 |
DWORD dmNup; | | DWORD dmNup; |
}; | | }; |
DWORD dmDisplayFrequency; | | DWORD dmDisplayFrequency; |
#if(WINVER >= 0x0400) | | #if(WINVER >= 0x0400) |
DWORD dmICMMethod; | | DWORD dmICMMethod; |
DWORD dmICMIntent; | | DWORD dmICMIntent; |
DWORD dmMediaType; | | DWORD dmMediaType; |
DWORD dmDitherType; | | DWORD dmDitherType; |
DWORD dmReserved1; | | DWORD dmReserved1; |
DWORD dmReserved2; | | DWORD dmReserved2; |
|
#if (WINVER >= 0x0500) || (_WIN32_WINNT >= 0x0400) | | #if (WINVER >= 0x0500) || (_WIN32_WINNT >= _WIN32_WINNT_NT4) |
DWORD dmPanningWidth; | | DWORD dmPanningWidth; |
DWORD dmPanningHeight; | | DWORD dmPanningHeight; |
#endif | | #endif |
#endif /* WINVER >= 0x0400 */ | | #endif /* WINVER >= 0x0400 */ |
} DEVMODEA, *PDEVMODEA, *NPDEVMODEA, *LPDEVMODEA; | | } DEVMODEA, *PDEVMODEA, *NPDEVMODEA, *LPDEVMODEA; |
typedef struct _devicemodeW { | | typedef struct _devicemodeW { |
WCHAR dmDeviceName[CCHDEVICENAME]; | | WCHAR dmDeviceName[CCHDEVICENAME]; |
WORD dmSpecVersion; | | WORD dmSpecVersion; |
WORD dmDriverVersion; | | WORD dmDriverVersion; |
WORD dmSize; | | WORD dmSize; |
| | |
skipping to change at line 1972 | | skipping to change at line 2001 |
DWORD dmNup; | | DWORD dmNup; |
}; | | }; |
DWORD dmDisplayFrequency; | | DWORD dmDisplayFrequency; |
#if(WINVER >= 0x0400) | | #if(WINVER >= 0x0400) |
DWORD dmICMMethod; | | DWORD dmICMMethod; |
DWORD dmICMIntent; | | DWORD dmICMIntent; |
DWORD dmMediaType; | | DWORD dmMediaType; |
DWORD dmDitherType; | | DWORD dmDitherType; |
DWORD dmReserved1; | | DWORD dmReserved1; |
DWORD dmReserved2; | | DWORD dmReserved2; |
|
#if (WINVER >= 0x0500) || (_WIN32_WINNT >= 0x0400) | | #if (WINVER >= 0x0500) || (_WIN32_WINNT >= _WIN32_WINNT_NT4) |
DWORD dmPanningWidth; | | DWORD dmPanningWidth; |
DWORD dmPanningHeight; | | DWORD dmPanningHeight; |
#endif | | #endif |
#endif /* WINVER >= 0x0400 */ | | #endif /* WINVER >= 0x0400 */ |
} DEVMODEW, *PDEVMODEW, *NPDEVMODEW, *LPDEVMODEW; | | } DEVMODEW, *PDEVMODEW, *NPDEVMODEW, *LPDEVMODEW; |
#ifdef UNICODE | | #ifdef UNICODE |
typedef DEVMODEW DEVMODE; | | typedef DEVMODEW DEVMODE; |
typedef PDEVMODEW PDEVMODE; | | typedef PDEVMODEW PDEVMODE; |
typedef NPDEVMODEW NPDEVMODE; | | typedef NPDEVMODEW NPDEVMODE; |
typedef LPDEVMODEW LPDEVMODE; | | typedef LPDEVMODEW LPDEVMODE; |
#else | | #else |
typedef DEVMODEA DEVMODE; | | typedef DEVMODEA DEVMODE; |
typedef PDEVMODEA PDEVMODE; | | typedef PDEVMODEA PDEVMODE; |
typedef NPDEVMODEA NPDEVMODE; | | typedef NPDEVMODEA NPDEVMODE; |
typedef LPDEVMODEA LPDEVMODE; | | typedef LPDEVMODEA LPDEVMODE; |
#endif // UNICODE | | #endif // UNICODE |
|
| | #else |
| | typedef struct _devicemodeA { |
| | BYTE dmDeviceName[CCHDEVICENAME]; |
| | WORD dmSpecVersion; |
| | WORD dmDriverVersion; |
| | WORD dmSize; |
| | WORD dmDriverExtra; |
| | DWORD dmFields; |
| | union { |
| | struct { |
| | short dmOrientation; |
| | short dmPaperSize; |
| | short dmPaperLength; |
| | short dmPaperWidth; |
| | }; |
| | POINTL dmPosition; |
| | }; |
| | short dmScale; |
| | short dmCopies; |
| | short dmDefaultSource; |
| | short dmPrintQuality; |
| | short dmColor; |
| | short dmDuplex; |
| | short dmYResolution; |
| | short dmTTOption; |
| | short dmCollate; |
| | BYTE dmFormName[CCHFORMNAME]; |
| | WORD dmLogPixels; |
| | DWORD dmBitsPerPel; |
| | DWORD dmPelsWidth; |
| | DWORD dmPelsHeight; |
| | union { |
| | DWORD dmDisplayFlags; |
| | DWORD dmNup; |
| | }; |
| | DWORD dmDisplayFrequency; |
| | #if(WINVER >= 0x0400) |
| | DWORD dmICMMethod; |
| | DWORD dmICMIntent; |
| | DWORD dmMediaType; |
| | DWORD dmDitherType; |
| | DWORD dmReserved1; |
| | DWORD dmReserved2; |
| | #if (WINVER >= 0x0500) || (_WIN32_WINNT >= _WIN32_WINNT_NT4) |
| | DWORD dmPanningWidth; |
| | DWORD dmPanningHeight; |
| | #endif |
| | #endif /* WINVER >= 0x0400 */ |
| | } DEVMODEA, *PDEVMODEA, *NPDEVMODEA, *LPDEVMODEA; |
| | typedef struct _devicemodeW { |
| | WCHAR dmDeviceName[CCHDEVICENAME]; |
| | WORD dmSpecVersion; |
| | WORD dmDriverVersion; |
| | WORD dmSize; |
| | WORD dmDriverExtra; |
| | DWORD dmFields; |
| | union { |
| | struct { |
| | short dmOrientation; |
| | short dmPaperSize; |
| | short dmPaperLength; |
| | short dmPaperWidth; |
| | }; |
| | POINTL dmPosition; |
| | }; |
| | short dmScale; |
| | short dmCopies; |
| | short dmDefaultSource; |
| | short dmPrintQuality; |
| | short dmColor; |
| | short dmDuplex; |
| | short dmYResolution; |
| | short dmTTOption; |
| | short dmCollate; |
| | WCHAR dmFormName[CCHFORMNAME]; |
| | WORD dmLogPixels; |
| | DWORD dmBitsPerPel; |
| | DWORD dmPelsWidth; |
| | DWORD dmPelsHeight; |
| | union { |
| | DWORD dmDisplayFlags; |
| | DWORD dmNup; |
| | }; |
| | DWORD dmDisplayFrequency; |
| | #if(WINVER >= 0x0400) |
| | DWORD dmICMMethod; |
| | DWORD dmICMIntent; |
| | DWORD dmMediaType; |
| | DWORD dmDitherType; |
| | DWORD dmReserved1; |
| | DWORD dmReserved2; |
| | #if (WINVER >= 0x0500) || (_WIN32_WINNT >= _WIN32_WINNT_NT4) |
| | DWORD dmPanningWidth; |
| | DWORD dmPanningHeight; |
| | #endif |
| | #endif /* WINVER >= 0x0400 */ |
| | } DEVMODEW, *PDEVMODEW, *NPDEVMODEW, *LPDEVMODEW; |
| | #ifdef UNICODE |
| | typedef DEVMODEW DEVMODE; |
| | typedef PDEVMODEW PDEVMODE; |
| | typedef NPDEVMODEW NPDEVMODE; |
| | typedef LPDEVMODEW LPDEVMODE; |
| | #else |
| | typedef DEVMODEA DEVMODE; |
| | typedef PDEVMODEA PDEVMODE; |
| | typedef NPDEVMODEA NPDEVMODE; |
| | typedef LPDEVMODEA LPDEVMODE; |
| | #endif // UNICODE |
| | #endif // (_WIN32_WINNT >= _WIN32_WINNT_WINXP) |
/* current version of specification */ | | /* current version of specification */ |
|
#if (WINVER >= 0x0500) || (_WIN32_WINNT >= 0x0400) | | #if (WINVER >= 0x0500) || (_WIN32_WINNT >= _WIN32_WINNT_NT4) |
#define DM_SPECVERSION 0x0401 | | #define DM_SPECVERSION 0x0401 |
#elif (WINVER >= 0x0400) | | #elif (WINVER >= 0x0400) |
#define DM_SPECVERSION 0x0400 | | #define DM_SPECVERSION 0x0400 |
#else | | #else |
#define DM_SPECVERSION 0x0320 | | #define DM_SPECVERSION 0x0320 |
#endif /* WINVER */ | | #endif /* WINVER */ |
| | |
/* field selection bits */ | | /* field selection bits */ |
#define DM_ORIENTATION 0x00000001L | | #define DM_ORIENTATION 0x00000001L |
#define DM_PAPERSIZE 0x00000002L | | #define DM_PAPERSIZE 0x00000002L |
| | |
skipping to change at line 2242 | | skipping to change at line 2379 |
| | |
/* DEVMODE dmDisplayFixedOutput specifiations */ | | /* DEVMODE dmDisplayFixedOutput specifiations */ |
#define DMDFO_DEFAULT 0 | | #define DMDFO_DEFAULT 0 |
#define DMDFO_STRETCH 1 | | #define DMDFO_STRETCH 1 |
#define DMDFO_CENTER 2 | | #define DMDFO_CENTER 2 |
#endif /* WINVER >= 0x0501 */ | | #endif /* WINVER >= 0x0501 */ |
| | |
/* DEVMODE dmDisplayFlags flags */ | | /* DEVMODE dmDisplayFlags flags */ |
| | |
// #define DM_GRAYSCALE 0x00000001 /* This flag is no longer valid */ | | // #define DM_GRAYSCALE 0x00000001 /* This flag is no longer valid */ |
|
// #define DM_INTERLACED 0x00000002 /* This flag is no longer valid */ | | #define DM_INTERLACED 0x00000002 |
#define DMDISPLAYFLAGS_TEXTMODE 0x00000004 | | #define DMDISPLAYFLAGS_TEXTMODE 0x00000004 |
| | |
/* dmNup , multiple logical page per physical page options */ | | /* dmNup , multiple logical page per physical page options */ |
#define DMNUP_SYSTEM 1 | | #define DMNUP_SYSTEM 1 |
#define DMNUP_ONEUP 2 | | #define DMNUP_ONEUP 2 |
| | |
#if(WINVER >= 0x0400) | | #if(WINVER >= 0x0400) |
/* ICM methods */ | | /* ICM methods */ |
#define DMICMMETHOD_NONE 1 /* ICM disabled */ | | #define DMICMMETHOD_NONE 1 /* ICM disabled */ |
#define DMICMMETHOD_SYSTEM 2 /* ICM handled by system */ | | #define DMICMMETHOD_SYSTEM 2 /* ICM handled by system */ |
| | |
skipping to change at line 2320 | | skipping to change at line 2457 |
typedef DISPLAY_DEVICEA DISPLAY_DEVICE; | | typedef DISPLAY_DEVICEA DISPLAY_DEVICE; |
typedef PDISPLAY_DEVICEA PDISPLAY_DEVICE; | | typedef PDISPLAY_DEVICEA PDISPLAY_DEVICE; |
typedef LPDISPLAY_DEVICEA LPDISPLAY_DEVICE; | | typedef LPDISPLAY_DEVICEA LPDISPLAY_DEVICE; |
#endif // UNICODE | | #endif // UNICODE |
| | |
#define DISPLAY_DEVICE_ATTACHED_TO_DESKTOP 0x00000001 | | #define DISPLAY_DEVICE_ATTACHED_TO_DESKTOP 0x00000001 |
#define DISPLAY_DEVICE_MULTI_DRIVER 0x00000002 | | #define DISPLAY_DEVICE_MULTI_DRIVER 0x00000002 |
#define DISPLAY_DEVICE_PRIMARY_DEVICE 0x00000004 | | #define DISPLAY_DEVICE_PRIMARY_DEVICE 0x00000004 |
#define DISPLAY_DEVICE_MIRRORING_DRIVER 0x00000008 | | #define DISPLAY_DEVICE_MIRRORING_DRIVER 0x00000008 |
#define DISPLAY_DEVICE_VGA_COMPATIBLE 0x00000010 | | #define DISPLAY_DEVICE_VGA_COMPATIBLE 0x00000010 |
|
| | #if (_WIN32_WINNT >= _WIN32_WINNT_WIN2K) |
#define DISPLAY_DEVICE_REMOVABLE 0x00000020 | | #define DISPLAY_DEVICE_REMOVABLE 0x00000020 |
|
| | #endif // (_WIN32_WINNT >= _WIN32_WINNT_WIN2K) |
#define DISPLAY_DEVICE_MODESPRUNED 0x08000000 | | #define DISPLAY_DEVICE_MODESPRUNED 0x08000000 |
|
| | #if (_WIN32_WINNT >= _WIN32_WINNT_WIN2K) |
#define DISPLAY_DEVICE_REMOTE 0x04000000 | | #define DISPLAY_DEVICE_REMOTE 0x04000000 |
#define DISPLAY_DEVICE_DISCONNECT 0x02000000 | | #define DISPLAY_DEVICE_DISCONNECT 0x02000000 |
|
| | #endif |
| | #define DISPLAY_DEVICE_TS_COMPATIBLE 0x00200000 |
| | #if (_WIN32_WINNT >= _WIN32_WINNT_LONGHORN) |
| | #define DISPLAY_DEVICE_UNSAFE_MODES_ON 0x00080000 |
| | #endif |
| | |
/* Child device state */ | | /* Child device state */ |
|
| | #if (_WIN32_WINNT >= _WIN32_WINNT_WIN2K) |
#define DISPLAY_DEVICE_ACTIVE 0x00000001 | | #define DISPLAY_DEVICE_ACTIVE 0x00000001 |
#define DISPLAY_DEVICE_ATTACHED 0x00000002 | | #define DISPLAY_DEVICE_ATTACHED 0x00000002 |
|
| | #endif // (_WIN32_WINNT >= _WIN32_WINNT_WIN2K) |
| | |
/* GetRegionData/ExtCreateRegion */ | | /* GetRegionData/ExtCreateRegion */ |
| | |
#define RDH_RECTANGLES 1 | | #define RDH_RECTANGLES 1 |
| | |
typedef struct _RGNDATAHEADER { | | typedef struct _RGNDATAHEADER { |
DWORD dwSize; | | DWORD dwSize; |
DWORD iType; | | DWORD iType; |
DWORD nCount; | | DWORD nCount; |
DWORD nRgnSize; | | DWORD nRgnSize; |
| | |
skipping to change at line 2523 | | skipping to change at line 2670 |
#define GGO_NATIVE 2 | | #define GGO_NATIVE 2 |
#define GGO_BEZIER 3 | | #define GGO_BEZIER 3 |
| | |
#if(WINVER >= 0x0400) | | #if(WINVER >= 0x0400) |
#define GGO_GRAY2_BITMAP 4 | | #define GGO_GRAY2_BITMAP 4 |
#define GGO_GRAY4_BITMAP 5 | | #define GGO_GRAY4_BITMAP 5 |
#define GGO_GRAY8_BITMAP 6 | | #define GGO_GRAY8_BITMAP 6 |
#define GGO_GLYPH_INDEX 0x0080 | | #define GGO_GLYPH_INDEX 0x0080 |
#endif /* WINVER >= 0x0400 */ | | #endif /* WINVER >= 0x0400 */ |
| | |
|
#if (_WIN32_WINNT >= 0x0500) | | #if (_WIN32_WINNT >= _WIN32_WINNT_WIN2K) |
#define GGO_UNHINTED 0x0100 | | #define GGO_UNHINTED 0x0100 |
|
#endif // (_WIN32_WINNT >= 0x0500) | | #endif // (_WIN32_WINNT >= _WIN32_WINNT_WIN2K) |
| | |
#define TT_POLYGON_TYPE 24 | | #define TT_POLYGON_TYPE 24 |
| | |
#define TT_PRIM_LINE 1 | | #define TT_PRIM_LINE 1 |
#define TT_PRIM_QSPLINE 2 | | #define TT_PRIM_QSPLINE 2 |
#define TT_PRIM_CSPLINE 3 | | #define TT_PRIM_CSPLINE 3 |
| | |
typedef struct tagPOINTFX | | typedef struct tagPOINTFX |
{ | | { |
FIXED x; | | FIXED x; |
| | |
skipping to change at line 2693 | | skipping to change at line 2840 |
#define PFD_SUPPORT_GDI 0x00000010 | | #define PFD_SUPPORT_GDI 0x00000010 |
#define PFD_SUPPORT_OPENGL 0x00000020 | | #define PFD_SUPPORT_OPENGL 0x00000020 |
#define PFD_GENERIC_FORMAT 0x00000040 | | #define PFD_GENERIC_FORMAT 0x00000040 |
#define PFD_NEED_PALETTE 0x00000080 | | #define PFD_NEED_PALETTE 0x00000080 |
#define PFD_NEED_SYSTEM_PALETTE 0x00000100 | | #define PFD_NEED_SYSTEM_PALETTE 0x00000100 |
#define PFD_SWAP_EXCHANGE 0x00000200 | | #define PFD_SWAP_EXCHANGE 0x00000200 |
#define PFD_SWAP_COPY 0x00000400 | | #define PFD_SWAP_COPY 0x00000400 |
#define PFD_SWAP_LAYER_BUFFERS 0x00000800 | | #define PFD_SWAP_LAYER_BUFFERS 0x00000800 |
#define PFD_GENERIC_ACCELERATED 0x00001000 | | #define PFD_GENERIC_ACCELERATED 0x00001000 |
#define PFD_SUPPORT_DIRECTDRAW 0x00002000 | | #define PFD_SUPPORT_DIRECTDRAW 0x00002000 |
|
| | #define PFD_DIRECT3D_ACCELERATED 0x00004000 |
| | #define PFD_SUPPORT_COMPOSITION 0x00008000 |
| | |
/* PIXELFORMATDESCRIPTOR flags for use in ChoosePixelFormat only */ | | /* PIXELFORMATDESCRIPTOR flags for use in ChoosePixelFormat only */ |
#define PFD_DEPTH_DONTCARE 0x20000000 | | #define PFD_DEPTH_DONTCARE 0x20000000 |
#define PFD_DOUBLEBUFFER_DONTCARE 0x40000000 | | #define PFD_DOUBLEBUFFER_DONTCARE 0x40000000 |
#define PFD_STEREO_DONTCARE 0x80000000 | | #define PFD_STEREO_DONTCARE 0x80000000 |
| | |
#ifdef STRICT | | #ifdef STRICT |
#if !defined(NOTEXTMETRIC) | | #if !defined(NOTEXTMETRIC) |
typedef int (CALLBACK* OLDFONTENUMPROCA)(CONST LOGFONTA *, CONST TEXTMETRICA *,
DWORD, LPARAM); | | typedef int (CALLBACK* OLDFONTENUMPROCA)(CONST LOGFONTA *, CONST TEXTMETRICA *,
DWORD, LPARAM); |
typedef int (CALLBACK* OLDFONTENUMPROCW)(CONST LOGFONTW *, CONST TEXTMETRICW *,
DWORD, LPARAM); | | typedef int (CALLBACK* OLDFONTENUMPROCW)(CONST LOGFONTW *, CONST TEXTMETRICW *,
DWORD, LPARAM); |
| | |
skipping to change at line 2749 | | skipping to change at line 2898 |
#endif | | #endif |
| | |
WINGDIAPI int WINAPI AddFontResourceA(__in LPCSTR); | | WINGDIAPI int WINAPI AddFontResourceA(__in LPCSTR); |
WINGDIAPI int WINAPI AddFontResourceW(__in LPCWSTR); | | WINGDIAPI int WINAPI AddFontResourceW(__in LPCWSTR); |
#ifdef UNICODE | | #ifdef UNICODE |
#define AddFontResource AddFontResourceW | | #define AddFontResource AddFontResourceW |
#else | | #else |
#define AddFontResource AddFontResourceA | | #define AddFontResource AddFontResourceA |
#endif // !UNICODE | | #endif // !UNICODE |
| | |
|
WINGDIAPI BOOL WINAPI AnimatePalette( __in HPALETTE hPal, __in UINT iStartIndex, | | __gdi_entry WINGDIAPI BOOL WINAPI AnimatePalette( __in HPALETTE hPal, __in UINT |
__in UINT cEntries, __in_ecount(cEntries) CONST PALETTEENTRY * ppe); | | iStartIndex, __in UINT cEntries, __in_ecount(cEntries) CONST PALETTEENTRY * pp |
WINGDIAPI BOOL WINAPI Arc( __in HDC hdc, __in int x1, __in int y1, __in int x2, | | e); |
__in int y2, __in int x3, __in int y3, __in int x4, __in int y4); | | __gdi_entry WINGDIAPI BOOL WINAPI Arc( __in HDC hdc, __in int x1, __in int y1, |
WINGDIAPI BOOL WINAPI BitBlt( __in HDC hdc, __in int x, __in int y, __in int cx, | | __in int x2, __in int y2, __in int x3, __in int y3, __in int x4, __in int y4); |
__in int cy, __in_opt HDC hdcSrc, __in int x1, __in int y1, __in DWORD rop); | | __gdi_entry WINGDIAPI BOOL WINAPI BitBlt( __in HDC hdc, __in int x, __in int y, |
| | __in int cx, __in int cy, __in_opt HDC hdcSrc, __in int x1, __in int y1, __in D |
| | WORD rop); |
WINGDIAPI BOOL WINAPI CancelDC( __in HDC hdc); | | WINGDIAPI BOOL WINAPI CancelDC( __in HDC hdc); |
|
WINGDIAPI BOOL WINAPI Chord( __in HDC hdc, __in int x1, __in int y1, __in int x
2, __in int y2, __in int x3, __in int y3, __in int x4, __in int y4); | | __gdi_entry WINGDIAPI BOOL WINAPI Chord( __in HDC hdc, __in int x1, __in int y1
, __in int x2, __in int y2, __in int x3, __in int y3, __in int x4, __in int y4); |
WINGDIAPI int WINAPI ChoosePixelFormat( __in HDC hdc, __in CONST PIXELFORMATDE
SCRIPTOR *ppfd); | | WINGDIAPI int WINAPI ChoosePixelFormat( __in HDC hdc, __in CONST PIXELFORMATDE
SCRIPTOR *ppfd); |
WINGDIAPI HMETAFILE WINAPI CloseMetaFile( __in HDC hdc); | | WINGDIAPI HMETAFILE WINAPI CloseMetaFile( __in HDC hdc); |
WINGDIAPI int WINAPI CombineRgn( __in_opt HRGN hrgnDst, __in_opt HRGN hrgnSr
c1, __in_opt HRGN hrgnSrc2, __in int iMode); | | WINGDIAPI int WINAPI CombineRgn( __in_opt HRGN hrgnDst, __in_opt HRGN hrgnSr
c1, __in_opt HRGN hrgnSrc2, __in int iMode); |
WINGDIAPI HMETAFILE WINAPI CopyMetaFileA( __in HMETAFILE, __in_opt LPCSTR); | | WINGDIAPI HMETAFILE WINAPI CopyMetaFileA( __in HMETAFILE, __in_opt LPCSTR); |
WINGDIAPI HMETAFILE WINAPI CopyMetaFileW( __in HMETAFILE, __in_opt LPCWSTR); | | WINGDIAPI HMETAFILE WINAPI CopyMetaFileW( __in HMETAFILE, __in_opt LPCWSTR); |
#ifdef UNICODE | | #ifdef UNICODE |
#define CopyMetaFile CopyMetaFileW | | #define CopyMetaFile CopyMetaFileW |
#else | | #else |
#define CopyMetaFile CopyMetaFileA | | #define CopyMetaFile CopyMetaFileA |
#endif // !UNICODE | | #endif // !UNICODE |
|
WINGDIAPI HBITMAP WINAPI CreateBitmap( __in int nWidth, __in int nHeight, __in U | | __gdi_entry WINGDIAPI HBITMAP WINAPI CreateBitmap( __in int nWidth, __in int nHe |
INT nPlanes, __in UINT nBitCount, __in_opt CONST VOID *lpBits); | | ight, __in UINT nPlanes, __in UINT nBitCount, __in_opt CONST VOID *lpBits); |
WINGDIAPI HBITMAP WINAPI CreateBitmapIndirect( __in CONST BITMAP *pbm); | | __gdi_entry WINGDIAPI HBITMAP WINAPI CreateBitmapIndirect( __in CONST BITMAP *pb |
WINGDIAPI HBRUSH WINAPI CreateBrushIndirect( __in CONST LOGBRUSH *plbrush); | | m); |
| | __gdi_entry WINGDIAPI HBRUSH WINAPI CreateBrushIndirect( __in CONST LOGBRUSH *p |
| | lbrush); |
WINGDIAPI HBITMAP WINAPI CreateCompatibleBitmap( __in HDC hdc, __in int cx, __in
int cy); | | WINGDIAPI HBITMAP WINAPI CreateCompatibleBitmap( __in HDC hdc, __in int cx, __in
int cy); |
WINGDIAPI HBITMAP WINAPI CreateDiscardableBitmap( __in HDC hdc, __in int cx, __i
n int cy); | | WINGDIAPI HBITMAP WINAPI CreateDiscardableBitmap( __in HDC hdc, __in int cx, __i
n int cy); |
WINGDIAPI HDC WINAPI CreateCompatibleDC( __in_opt HDC hdc); | | WINGDIAPI HDC WINAPI CreateCompatibleDC( __in_opt HDC hdc); |
WINGDIAPI HDC WINAPI CreateDCA( __in_opt LPCSTR pwszDriver, __in_opt LPCSTR
pwszDevice, __in_opt LPCSTR pszPort, __in_opt CONST DEVMODEA * pdm); | | WINGDIAPI HDC WINAPI CreateDCA( __in_opt LPCSTR pwszDriver, __in_opt LPCSTR
pwszDevice, __in_opt LPCSTR pszPort, __in_opt CONST DEVMODEA * pdm); |
WINGDIAPI HDC WINAPI CreateDCW( __in_opt LPCWSTR pwszDriver, __in_opt LPCWST
R pwszDevice, __in_opt LPCWSTR pszPort, __in_opt CONST DEVMODEW * pdm); | | WINGDIAPI HDC WINAPI CreateDCW( __in_opt LPCWSTR pwszDriver, __in_opt LPCWST
R pwszDevice, __in_opt LPCWSTR pszPort, __in_opt CONST DEVMODEW * pdm); |
#ifdef UNICODE | | #ifdef UNICODE |
#define CreateDC CreateDCW | | #define CreateDC CreateDCW |
#else | | #else |
#define CreateDC CreateDCA | | #define CreateDC CreateDCA |
#endif // !UNICODE | | #endif // !UNICODE |
WINGDIAPI HBITMAP WINAPI CreateDIBitmap( __in HDC hdc, __in_opt CONST BITMAPINFO
HEADER *pbmih, __in DWORD flInit, __in_opt CONST VOID *pjBits, __in_opt CONST BI
TMAPINFO *pbmi, __in UINT iUsage); | | WINGDIAPI HBITMAP WINAPI CreateDIBitmap( __in HDC hdc, __in_opt CONST BITMAPINFO
HEADER *pbmih, __in DWORD flInit, __in_opt CONST VOID *pjBits, __in_opt CONST BI
TMAPINFO *pbmi, __in UINT iUsage); |
WINGDIAPI HBRUSH WINAPI CreateDIBPatternBrush( __in HGLOBAL h, __in UINT iUsage
); | | WINGDIAPI HBRUSH WINAPI CreateDIBPatternBrush( __in HGLOBAL h, __in UINT iUsage
); |
|
WINGDIAPI HBRUSH WINAPI CreateDIBPatternBrushPt( __in CONST VOID *lpPackedDIB,
__in UINT iUsage); | | __gdi_entry WINGDIAPI HBRUSH WINAPI CreateDIBPatternBrushPt( __in CONST VOID *l
pPackedDIB, __in UINT iUsage); |
WINGDIAPI HRGN WINAPI CreateEllipticRgn( __in int x1, __in int y1, __in int x
2, __in int y2); | | WINGDIAPI HRGN WINAPI CreateEllipticRgn( __in int x1, __in int y1, __in int x
2, __in int y2); |
WINGDIAPI HRGN WINAPI CreateEllipticRgnIndirect( __in CONST RECT *lprect); | | WINGDIAPI HRGN WINAPI CreateEllipticRgnIndirect( __in CONST RECT *lprect); |
|
WINGDIAPI HFONT WINAPI CreateFontIndirectA( __in CONST LOGFONTA *lplf); | | __gdi_entry WINGDIAPI HFONT WINAPI CreateFontIndirectA( __in CONST LOGFONTA *l |
WINGDIAPI HFONT WINAPI CreateFontIndirectW( __in CONST LOGFONTW *lplf); | | plf); |
| | __gdi_entry WINGDIAPI HFONT WINAPI CreateFontIndirectW( __in CONST LOGFONTW *l |
| | plf); |
#ifdef UNICODE | | #ifdef UNICODE |
#define CreateFontIndirect CreateFontIndirectW | | #define CreateFontIndirect CreateFontIndirectW |
#else | | #else |
#define CreateFontIndirect CreateFontIndirectA | | #define CreateFontIndirect CreateFontIndirectA |
#endif // !UNICODE | | #endif // !UNICODE |
WINGDIAPI HFONT WINAPI CreateFontA( __in int cHeight, __in int cWidth, __in in
t cEscapement, __in int cOrientation, __in int cWeight, __in DWORD bItalic, | | WINGDIAPI HFONT WINAPI CreateFontA( __in int cHeight, __in int cWidth, __in in
t cEscapement, __in int cOrientation, __in int cWeight, __in DWORD bItalic, |
__in DWORD bUnderline, __in DWORD bStrikeOut, __in
DWORD iCharSet, __in DWORD iOutPrecision, __in DWORD iClipPrecision, | | __in DWORD bUnderline, __in DWORD bStrikeOut, __in
DWORD iCharSet, __in DWORD iOutPrecision, __in DWORD iClipPrecision, |
__in DWORD iQuality, __in DWORD iPitchAndFamily, __
in_opt LPCSTR pszFaceName); | | __in DWORD iQuality, __in DWORD iPitchAndFamily, __
in_opt LPCSTR pszFaceName); |
WINGDIAPI HFONT WINAPI CreateFontW( __in int cHeight, __in int cWidth, __in in
t cEscapement, __in int cOrientation, __in int cWeight, __in DWORD bItalic, | | WINGDIAPI HFONT WINAPI CreateFontW( __in int cHeight, __in int cWidth, __in in
t cEscapement, __in int cOrientation, __in int cWeight, __in DWORD bItalic, |
__in DWORD bUnderline, __in DWORD bStrikeOut, __in
DWORD iCharSet, __in DWORD iOutPrecision, __in DWORD iClipPrecision, | | __in DWORD bUnderline, __in DWORD bStrikeOut, __in
DWORD iCharSet, __in DWORD iOutPrecision, __in DWORD iClipPrecision, |
| | |
skipping to change at line 2816 | | skipping to change at line 2965 |
#else | | #else |
#define CreateIC CreateICA | | #define CreateIC CreateICA |
#endif // !UNICODE | | #endif // !UNICODE |
WINGDIAPI HDC WINAPI CreateMetaFileA( __in_opt LPCSTR pszFile); | | WINGDIAPI HDC WINAPI CreateMetaFileA( __in_opt LPCSTR pszFile); |
WINGDIAPI HDC WINAPI CreateMetaFileW( __in_opt LPCWSTR pszFile); | | WINGDIAPI HDC WINAPI CreateMetaFileW( __in_opt LPCWSTR pszFile); |
#ifdef UNICODE | | #ifdef UNICODE |
#define CreateMetaFile CreateMetaFileW | | #define CreateMetaFile CreateMetaFileW |
#else | | #else |
#define CreateMetaFile CreateMetaFileA | | #define CreateMetaFile CreateMetaFileA |
#endif // !UNICODE | | #endif // !UNICODE |
|
WINGDIAPI HPALETTE WINAPI CreatePalette( __in CONST LOGPALETTE * plpal); | | __gdi_entry WINGDIAPI HPALETTE WINAPI CreatePalette( __in_xcount(2*sizeof(WORD)
+ plpal->palNumEntries * sizeof(PALETTEENTRY)) CONST LOGPALETTE * plpal); |
WINGDIAPI HPEN WINAPI CreatePen( __in int iStyle, __in int cWidth, __in COLOR
REF color); | | WINGDIAPI HPEN WINAPI CreatePen( __in int iStyle, __in int cWidth, __in COLOR
REF color); |
|
WINGDIAPI HPEN WINAPI CreatePenIndirect( __in CONST LOGPEN *plpen); | | __gdi_entry WINGDIAPI HPEN WINAPI CreatePenIndirect( __in CONST LOGPEN *plpen
); |
WINGDIAPI HRGN WINAPI CreatePolyPolygonRgn( __in CONST POINT *pptl, | | WINGDIAPI HRGN WINAPI CreatePolyPolygonRgn( __in CONST POINT *pptl, |
__in CONST INT *pc, | | __in CONST INT *pc, |
__in int cPoly, | | __in int cPoly, |
__in int iMode); | | __in int iMode); |
|
WINGDIAPI HBRUSH WINAPI CreatePatternBrush( __in HBITMAP hbm); | | __gdi_entry WINGDIAPI HBRUSH WINAPI CreatePatternBrush( __in HBITMAP hbm); |
WINGDIAPI HRGN WINAPI CreateRectRgn( __in int x1, __in int y1, __in int x2, _
_in int y2); | | WINGDIAPI HRGN WINAPI CreateRectRgn( __in int x1, __in int y1, __in int x2, _
_in int y2); |
WINGDIAPI HRGN WINAPI CreateRectRgnIndirect( __in CONST RECT *lprect); | | WINGDIAPI HRGN WINAPI CreateRectRgnIndirect( __in CONST RECT *lprect); |
WINGDIAPI HRGN WINAPI CreateRoundRectRgn( __in int x1, __in int y1, __in int
x2, __in int y2, __in int w, __in int h); | | WINGDIAPI HRGN WINAPI CreateRoundRectRgn( __in int x1, __in int y1, __in int
x2, __in int y2, __in int w, __in int h); |
WINGDIAPI BOOL WINAPI CreateScalableFontResourceA( __in DWORD fdwHidden, __in
LPCSTR lpszFont, __in LPCSTR lpszFile, __in_opt LPCSTR lpszPath); | | WINGDIAPI BOOL WINAPI CreateScalableFontResourceA( __in DWORD fdwHidden, __in
LPCSTR lpszFont, __in LPCSTR lpszFile, __in_opt LPCSTR lpszPath); |
WINGDIAPI BOOL WINAPI CreateScalableFontResourceW( __in DWORD fdwHidden, __in
LPCWSTR lpszFont, __in LPCWSTR lpszFile, __in_opt LPCWSTR lpszPath); | | WINGDIAPI BOOL WINAPI CreateScalableFontResourceW( __in DWORD fdwHidden, __in
LPCWSTR lpszFont, __in LPCWSTR lpszFile, __in_opt LPCWSTR lpszPath); |
#ifdef UNICODE | | #ifdef UNICODE |
#define CreateScalableFontResource CreateScalableFontResourceW | | #define CreateScalableFontResource CreateScalableFontResourceW |
#else | | #else |
#define CreateScalableFontResource CreateScalableFontResourceA | | #define CreateScalableFontResource CreateScalableFontResourceA |
#endif // !UNICODE | | #endif // !UNICODE |
WINGDIAPI HBRUSH WINAPI CreateSolidBrush( __in COLORREF color); | | WINGDIAPI HBRUSH WINAPI CreateSolidBrush( __in COLORREF color); |
| | |
WINGDIAPI BOOL WINAPI DeleteDC( __in HDC hdc); | | WINGDIAPI BOOL WINAPI DeleteDC( __in HDC hdc); |
WINGDIAPI BOOL WINAPI DeleteMetaFile( __in HMETAFILE hmf); | | WINGDIAPI BOOL WINAPI DeleteMetaFile( __in HMETAFILE hmf); |
|
WINGDIAPI BOOL WINAPI DeleteObject( __in HGDIOBJ ho); | | __gdi_entry WINGDIAPI BOOL WINAPI DeleteObject( __in HGDIOBJ ho); |
WINGDIAPI int WINAPI DescribePixelFormat( __in HDC hdc, | | WINGDIAPI int WINAPI DescribePixelFormat( __in HDC hdc, |
__in int iPixelFormat, | | __in int iPixelFormat, |
__in UINT nBytes, | | __in UINT nBytes, |
__out_bcount_opt(nBytes) LPPIXELFORM
ATDESCRIPTOR ppfd); | | __out_bcount_opt(nBytes) LPPIXELFORM
ATDESCRIPTOR ppfd); |
| | |
/* define types of pointers to ExtDeviceMode() and DeviceCapabilities() | | /* define types of pointers to ExtDeviceMode() and DeviceCapabilities() |
* functions for Win 3.1 compatibility | | * functions for Win 3.1 compatibility |
*/ | | */ |
| | |
typedef UINT (CALLBACK* LPFNDEVMODE)(HWND, HMODULE, LPDEVMODE, LPSTR, LPSTR, L
PDEVMODE, LPSTR, UINT); | | typedef UINT (CALLBACK* LPFNDEVMODE)(HWND, HMODULE, LPDEVMODE, LPSTR, LPSTR, L
PDEVMODE, LPSTR, UINT); |
| | |
skipping to change at line 2905 | | skipping to change at line 3054 |
#define PRINTRATEUNIT_PPM 1 | | #define PRINTRATEUNIT_PPM 1 |
#define PRINTRATEUNIT_CPS 2 | | #define PRINTRATEUNIT_CPS 2 |
#define PRINTRATEUNIT_LPM 3 | | #define PRINTRATEUNIT_LPM 3 |
#define PRINTRATEUNIT_IPM 4 | | #define PRINTRATEUNIT_IPM 4 |
#define DC_PRINTERMEM 28 | | #define DC_PRINTERMEM 28 |
#define DC_MEDIAREADY 29 | | #define DC_MEDIAREADY 29 |
#define DC_STAPLE 30 | | #define DC_STAPLE 30 |
#define DC_PRINTRATEPPM 31 | | #define DC_PRINTRATEPPM 31 |
#define DC_COLORDEVICE 32 | | #define DC_COLORDEVICE 32 |
#define DC_NUP 33 | | #define DC_NUP 33 |
|
| | #if (_WIN32_WINNT >= _WIN32_WINNT_WIN2K) |
#define DC_MEDIATYPENAMES 34 | | #define DC_MEDIATYPENAMES 34 |
#define DC_MEDIATYPES 35 | | #define DC_MEDIATYPES 35 |
|
| | #endif // (_WIN32_WINNT >= _WIN32_WINNT_WIN2K) |
#endif /* WINVER >= 0x0500 */ | | #endif /* WINVER >= 0x0500 */ |
| | |
/* bit fields of the return value (DWORD) for DC_TRUETYPE */ | | /* bit fields of the return value (DWORD) for DC_TRUETYPE */ |
#define DCTT_BITMAP 0x0000001L | | #define DCTT_BITMAP 0x0000001L |
#define DCTT_DOWNLOAD 0x0000002L | | #define DCTT_DOWNLOAD 0x0000002L |
#define DCTT_SUBDEV 0x0000004L | | #define DCTT_SUBDEV 0x0000004L |
#if(WINVER >= 0x0400) | | #if(WINVER >= 0x0400) |
#define DCTT_DOWNLOAD_OUTLINE 0x0000008L | | #define DCTT_DOWNLOAD_OUTLINE 0x0000008L |
| | |
/* return values for DC_BINADJUST */ | | /* return values for DC_BINADJUST */ |
| | |
skipping to change at line 2931 | | skipping to change at line 3082 |
#define DCBA_FACEDOWNNONE 0x0100 | | #define DCBA_FACEDOWNNONE 0x0100 |
#define DCBA_FACEDOWNCENTER 0x0101 | | #define DCBA_FACEDOWNCENTER 0x0101 |
#define DCBA_FACEDOWNLEFT 0x0102 | | #define DCBA_FACEDOWNLEFT 0x0102 |
#define DCBA_FACEDOWNRIGHT 0x0103 | | #define DCBA_FACEDOWNRIGHT 0x0103 |
#endif /* WINVER >= 0x0400 */ | | #endif /* WINVER >= 0x0400 */ |
| | |
WINSPOOLAPI | | WINSPOOLAPI |
int | | int |
WINAPI | | WINAPI |
DeviceCapabilitiesA( | | DeviceCapabilitiesA( |
|
__in LPCSTR pDevice, | | __in LPCSTR pDevice, |
__in_opt LPCSTR pPort, | | __in_opt LPCSTR pPort, |
__in WORD fwCapability, | | __in WORD fwCapability, |
__out_opt LPSTR pOutput, | | __out_xcount_opt(1) LPSTR pOutput, |
__in_opt CONST DEVMODEA * pDevMode | | __in_opt CONST DEVMODEA *pDevMode |
); | | ); |
WINSPOOLAPI | | WINSPOOLAPI |
int | | int |
WINAPI | | WINAPI |
DeviceCapabilitiesW( | | DeviceCapabilitiesW( |
|
__in LPCWSTR pDevice, | | __in LPCWSTR pDevice, |
__in_opt LPCWSTR pPort, | | __in_opt LPCWSTR pPort, |
__in WORD fwCapability, | | __in WORD fwCapability, |
__out_opt LPWSTR pOutput, | | __out_xcount_opt(1) LPWSTR pOutput, |
__in_opt CONST DEVMODEW * pDevMode | | __in_opt CONST DEVMODEW *pDevMode |
); | | ); |
#ifdef UNICODE | | #ifdef UNICODE |
#define DeviceCapabilities DeviceCapabilitiesW | | #define DeviceCapabilities DeviceCapabilitiesW |
#else | | #else |
#define DeviceCapabilities DeviceCapabilitiesA | | #define DeviceCapabilities DeviceCapabilitiesA |
#endif // !UNICODE | | #endif // !UNICODE |
| | |
WINGDIAPI int WINAPI DrawEscape( __in HDC hdc, | | WINGDIAPI int WINAPI DrawEscape( __in HDC hdc, |
__in int iEscape, | | __in int iEscape, |
__in int cjIn, | | __in int cjIn, |
__in_bcount_opt(cjIn) LPCSTR lpIn); | | __in_bcount_opt(cjIn) LPCSTR lpIn); |
|
WINGDIAPI BOOL WINAPI Ellipse( __in HDC hdc, __in int left, __in int top, __in | | |
int right, __in int bottom); | | __gdi_entry WINGDIAPI BOOL WINAPI Ellipse( __in HDC hdc, __in int left, __in int |
| | top, __in int right, __in int bottom); |
| | |
#if(WINVER >= 0x0400) | | #if(WINVER >= 0x0400) |
WINGDIAPI int WINAPI EnumFontFamiliesExA( __in HDC hdc, __in LPLOGFONTA lpLogfo
nt, __in FONTENUMPROCA lpProc, __in LPARAM lParam, __in DWORD dwFlags); | | WINGDIAPI int WINAPI EnumFontFamiliesExA( __in HDC hdc, __in LPLOGFONTA lpLogfo
nt, __in FONTENUMPROCA lpProc, __in LPARAM lParam, __in DWORD dwFlags); |
WINGDIAPI int WINAPI EnumFontFamiliesExW( __in HDC hdc, __in LPLOGFONTW lpLogfo
nt, __in FONTENUMPROCW lpProc, __in LPARAM lParam, __in DWORD dwFlags); | | WINGDIAPI int WINAPI EnumFontFamiliesExW( __in HDC hdc, __in LPLOGFONTW lpLogfo
nt, __in FONTENUMPROCW lpProc, __in LPARAM lParam, __in DWORD dwFlags); |
#ifdef UNICODE | | #ifdef UNICODE |
#define EnumFontFamiliesEx EnumFontFamiliesExW | | #define EnumFontFamiliesEx EnumFontFamiliesExW |
#else | | #else |
#define EnumFontFamiliesEx EnumFontFamiliesExA | | #define EnumFontFamiliesEx EnumFontFamiliesExA |
#endif // !UNICODE | | #endif // !UNICODE |
#endif /* WINVER >= 0x0400 */ | | #endif /* WINVER >= 0x0400 */ |
| | |
skipping to change at line 2991 | | skipping to change at line 3143 |
#define EnumFonts EnumFontsA | | #define EnumFonts EnumFontsA |
#endif // !UNICODE | | #endif // !UNICODE |
| | |
#ifdef STRICT | | #ifdef STRICT |
WINGDIAPI int WINAPI EnumObjects( __in HDC hdc, __in int nType, __in GOBJENUMPR
OC lpFunc, __in LPARAM lParam); | | WINGDIAPI int WINAPI EnumObjects( __in HDC hdc, __in int nType, __in GOBJENUMPR
OC lpFunc, __in LPARAM lParam); |
#else | | #else |
WINGDIAPI int WINAPI EnumObjects( __in HDC hdc, __in int nType, __in GOBJENUMPR
OC lpFunc, __in LPVOID lParam); | | WINGDIAPI int WINAPI EnumObjects( __in HDC hdc, __in int nType, __in GOBJENUMPR
OC lpFunc, __in LPVOID lParam); |
#endif | | #endif |
| | |
WINGDIAPI BOOL WINAPI EqualRgn( __in HRGN hrgn1, __in HRGN hrgn2); | | WINGDIAPI BOOL WINAPI EqualRgn( __in HRGN hrgn1, __in HRGN hrgn2); |
|
WINGDIAPI int WINAPI Escape( __in HDC hdc, | | __gdi_entry WINGDIAPI int WINAPI Escape( __in HDC hdc, |
__in int iEscape, | | __in int iEscape, |
__in int cjIn, | | __in int cjIn, |
__in_bcount_opt(cjIn) LPCSTR pvIn, | | __in_bcount_opt(cjIn) LPCSTR pvIn, |
__out_opt LPVOID pvOut); | | __out_opt LPVOID pvOut); |
WINGDIAPI int WINAPI ExtEscape( __in HDC hdc, | | WINGDIAPI int WINAPI ExtEscape( __in HDC hdc, |
__in int iEscape, | | __in int iEscape, |
__in int cjInput, | | __in int cjInput, |
__in_bcount_opt(cjInput) LPCSTR lpInData, | | __in_bcount_opt(cjInput) LPCSTR lpInData, |
__in int cjOutput, | | __in int cjOutput, |
__out_bcount_opt(cjOutput) LPSTR lpOutData); | | __out_bcount_opt(cjOutput) LPSTR lpOutData); |
|
WINGDIAPI int WINAPI ExcludeClipRect( __in HDC hdc, __in int left, __in int top | | __gdi_entry WINGDIAPI int WINAPI ExcludeClipRect( __in HDC hdc, __in int left, |
, __in int right, __in int bottom); | | __in int top, __in int right, __in int bottom); |
WINGDIAPI HRGN WINAPI ExtCreateRegion( __in_opt CONST XFORM * lpx, __in DWORD nC | | __gdi_entry WINGDIAPI HRGN WINAPI ExtCreateRegion( __in_opt CONST XFORM * lpx, _ |
ount, __in_bcount(nCount) CONST RGNDATA * lpData); | | _in DWORD nCount, __in_bcount(nCount) CONST RGNDATA * lpData); |
WINGDIAPI BOOL WINAPI ExtFloodFill( __in HDC hdc, __in int x, __in int y, __in C | | __gdi_entry WINGDIAPI BOOL WINAPI ExtFloodFill( __in HDC hdc, __in int x, __in i |
OLORREF color, __in UINT type); | | nt y, __in COLORREF color, __in UINT type); |
WINGDIAPI BOOL WINAPI FillRgn( __in HDC hdc, __in HRGN hrgn, __in HBRUSH hbr); | | __gdi_entry WINGDIAPI BOOL WINAPI FillRgn( __in HDC hdc, __in HRGN hrgn, __in HB |
WINGDIAPI BOOL WINAPI FloodFill( __in HDC hdc, __in int x, __in int y, __in COLO | | RUSH hbr); |
RREF color); | | __gdi_entry WINGDIAPI BOOL WINAPI FloodFill( __in HDC hdc, __in int x, __in int |
WINGDIAPI BOOL WINAPI FrameRgn( __in HDC hdc, __in HRGN hrgn, __in HBRUSH hbr, _ | | y, __in COLORREF color); |
_in int w, __in int h); | | __gdi_entry WINGDIAPI BOOL WINAPI FrameRgn( __in HDC hdc, __in HRGN hrgn, __in H |
| | BRUSH hbr, __in int w, __in int h); |
WINGDIAPI int WINAPI GetROP2( __in HDC hdc); | | WINGDIAPI int WINAPI GetROP2( __in HDC hdc); |
WINGDIAPI BOOL WINAPI GetAspectRatioFilterEx( __in HDC hdc, __out LPSIZE lpsize)
; | | WINGDIAPI BOOL WINAPI GetAspectRatioFilterEx( __in HDC hdc, __out LPSIZE lpsize)
; |
WINGDIAPI COLORREF WINAPI GetBkColor( __in HDC hdc); | | WINGDIAPI COLORREF WINAPI GetBkColor( __in HDC hdc); |
| | |
|
#if (_WIN32_WINNT >= 0x0500) | | #if (_WIN32_WINNT >= _WIN32_WINNT_WIN2K) |
WINGDIAPI COLORREF WINAPI GetDCBrushColor( __in HDC hdc); | | WINGDIAPI COLORREF WINAPI GetDCBrushColor( __in HDC hdc); |
WINGDIAPI COLORREF WINAPI GetDCPenColor( __in HDC hdc); | | WINGDIAPI COLORREF WINAPI GetDCPenColor( __in HDC hdc); |
#endif | | #endif |
| | |
WINGDIAPI | | WINGDIAPI |
int | | int |
WINAPI | | WINAPI |
GetBkMode( | | GetBkMode( |
__in HDC hdc | | __in HDC hdc |
); | | ); |
| | |
skipping to change at line 3082 | | skipping to change at line 3234 |
#endif // !UNICODE | | #endif // !UNICODE |
| | |
WINGDIAPI BOOL APIENTRY GetCharABCWidthsFloatA( __in HDC hdc, __in UINT iFirst,
__in UINT iLast, __out_ecount(iLast + 1 - iFirst) LPABCFLOAT lpABC); | | WINGDIAPI BOOL APIENTRY GetCharABCWidthsFloatA( __in HDC hdc, __in UINT iFirst,
__in UINT iLast, __out_ecount(iLast + 1 - iFirst) LPABCFLOAT lpABC); |
WINGDIAPI BOOL APIENTRY GetCharABCWidthsFloatW( __in HDC hdc, __in UINT iFirst,
__in UINT iLast, __out_ecount(iLast + 1 - iFirst) LPABCFLOAT lpABC); | | WINGDIAPI BOOL APIENTRY GetCharABCWidthsFloatW( __in HDC hdc, __in UINT iFirst,
__in UINT iLast, __out_ecount(iLast + 1 - iFirst) LPABCFLOAT lpABC); |
#ifdef UNICODE | | #ifdef UNICODE |
#define GetCharABCWidthsFloat GetCharABCWidthsFloatW | | #define GetCharABCWidthsFloat GetCharABCWidthsFloatW |
#else | | #else |
#define GetCharABCWidthsFloat GetCharABCWidthsFloatA | | #define GetCharABCWidthsFloat GetCharABCWidthsFloatA |
#endif // !UNICODE | | #endif // !UNICODE |
WINGDIAPI int WINAPI GetClipBox( __in HDC hdc, __out LPRECT lprect); | | WINGDIAPI int WINAPI GetClipBox( __in HDC hdc, __out LPRECT lprect); |
|
WINGDIAPI int WINAPI GetClipRgn( __in HDC hdc, __in HRGN hrgn); | | WINGDIAPI int WINAPI GetClipRgn( __in HDC hdc, __in HRGN hrgn); |
WINGDIAPI int WINAPI GetMetaRgn( __in HDC hdc, __in HRGN hrgn); | | WINGDIAPI int WINAPI GetMetaRgn( __in HDC hdc, __in HRGN hrgn); |
WINGDIAPI HGDIOBJ WINAPI GetCurrentObject( __in HDC hdc, __in UINT type); | | WINGDIAPI HGDIOBJ WINAPI GetCurrentObject( __in HDC hdc, __in UINT type); |
WINGDIAPI BOOL WINAPI GetCurrentPositionEx( __in HDC hdc, __out LPPOINT lppt); | | WINGDIAPI BOOL WINAPI GetCurrentPositionEx( __in HDC hdc, __out LPPOINT lppt); |
WINGDIAPI int WINAPI GetDeviceCaps( __in_opt HDC hdc, __in int index); | | WINGDIAPI int WINAPI GetDeviceCaps( __in_opt HDC hdc, __in int index); |
|
WINGDIAPI int WINAPI GetDIBits( __in HDC hdc, __in HBITMAP hbm, __in UINT star
t, __in UINT cLines, __out_opt LPVOID lpvBits, __inout LPBITMAPINFO lpbmi, __in
UINT usage); | | WINGDIAPI int WINAPI GetDIBits( __in HDC hdc, __in HBITMAP hbm, __in UINT star
t, __in UINT cLines, __out_opt LPVOID lpvBits, __inout_xcount(sizeof(BITMAPINFO
HEADER)) LPBITMAPINFO lpbmi, __in UINT usage); // SAL actual size of lpbmi is c
omputed from structure elements |
| | |
|
| | __success(return != GDI_ERROR) |
WINGDIAPI DWORD WINAPI GetFontData ( __in HDC hdc, | | WINGDIAPI DWORD WINAPI GetFontData ( __in HDC hdc, |
__in DWORD dwTable, | | __in DWORD dwTable, |
__in DWORD dwOffset, | | __in DWORD dwOffset, |
__out_bcount_part_opt(cjBuffer, return)
PVOID pvBuffer, | | __out_bcount_part_opt(cjBuffer, return)
PVOID pvBuffer, |
__in DWORD cjBuffer | | __in DWORD cjBuffer |
); | | ); |
| | |
WINGDIAPI DWORD WINAPI GetGlyphOutlineA( __in HDC hdc, | | WINGDIAPI DWORD WINAPI GetGlyphOutlineA( __in HDC hdc, |
__in UINT uChar, | | __in UINT uChar, |
__in UINT fuFormat, | | __in UINT fuFormat, |
| | |
skipping to change at line 3148 | | skipping to change at line 3301 |
__in UINT cjCopy, | | __in UINT cjCopy, |
__out_bcount_opt(cjCopy) LPOUTLI
NETEXTMETRICW potm); | | __out_bcount_opt(cjCopy) LPOUTLI
NETEXTMETRICW potm); |
#ifdef UNICODE | | #ifdef UNICODE |
#define GetOutlineTextMetrics GetOutlineTextMetricsW | | #define GetOutlineTextMetrics GetOutlineTextMetricsW |
#else | | #else |
#define GetOutlineTextMetrics GetOutlineTextMetricsA | | #define GetOutlineTextMetrics GetOutlineTextMetricsA |
#endif // !UNICODE | | #endif // !UNICODE |
| | |
#endif /* NOTEXTMETRIC */ | | #endif /* NOTEXTMETRIC */ |
| | |
|
WINGDIAPI UINT WINAPI GetPaletteEntries( __in HPALETTE hpal, | | WINGDIAPI UINT WINAPI GetPaletteEntries( __in HPALETTE hpal, |
__in UINT iStart, | | __in UINT iStart, |
__in UINT cEntries, | | __in UINT cEntries, |
|
__out_ecount(cEntries) LPPALETTEENTR
Y pPalEntries); | | __out_ecount_opt(cEntries) LPPALETTE
ENTRY pPalEntries); |
WINGDIAPI COLORREF WINAPI GetPixel( __in HDC hdc, __in int x, __in int y); | | WINGDIAPI COLORREF WINAPI GetPixel( __in HDC hdc, __in int x, __in int y); |
WINGDIAPI int WINAPI GetPixelFormat( __in HDC hdc); | | WINGDIAPI int WINAPI GetPixelFormat( __in HDC hdc); |
WINGDIAPI int WINAPI GetPolyFillMode( __in HDC hdc); | | WINGDIAPI int WINAPI GetPolyFillMode( __in HDC hdc); |
WINGDIAPI BOOL WINAPI GetRasterizerCaps( __out_bcount(cjBytes) LPRASTERIZER_S
TATUS lpraststat, | | WINGDIAPI BOOL WINAPI GetRasterizerCaps( __out_bcount(cjBytes) LPRASTERIZER_S
TATUS lpraststat, |
__in UINT cjBytes); | | __in UINT cjBytes); |
| | |
WINGDIAPI int WINAPI GetRandomRgn (__in HDC hdc, __in HRGN hrgn, __in INT i); | | WINGDIAPI int WINAPI GetRandomRgn (__in HDC hdc, __in HRGN hrgn, __in INT i); |
WINGDIAPI DWORD WINAPI GetRegionData( __in HRGN hrgn, | | WINGDIAPI DWORD WINAPI GetRegionData( __in HRGN hrgn, |
__in DWORD nCount, | | __in DWORD nCount, |
__out_bcount_part_opt(nCount, return) LP
RGNDATA lpRgnData); | | __out_bcount_part_opt(nCount, return) LP
RGNDATA lpRgnData); |
| | |
skipping to change at line 3272 | | skipping to change at line 3425 |
WINGDIAPI DWORD WINAPI GetFontLanguageInfo( __in HDC hdc); | | WINGDIAPI DWORD WINAPI GetFontLanguageInfo( __in HDC hdc); |
WINGDIAPI DWORD WINAPI GetCharacterPlacementA( __in HDC hdc, __in_ecount(nCount
) LPCSTR lpString, __in int nCount, __in int nMexExtent, __inout LPGCP_RESULTSA
lpResults, __in DWORD dwFlags); | | WINGDIAPI DWORD WINAPI GetCharacterPlacementA( __in HDC hdc, __in_ecount(nCount
) LPCSTR lpString, __in int nCount, __in int nMexExtent, __inout LPGCP_RESULTSA
lpResults, __in DWORD dwFlags); |
WINGDIAPI DWORD WINAPI GetCharacterPlacementW( __in HDC hdc, __in_ecount(nCount
) LPCWSTR lpString, __in int nCount, __in int nMexExtent, __inout LPGCP_RESULTSW
lpResults, __in DWORD dwFlags); | | WINGDIAPI DWORD WINAPI GetCharacterPlacementW( __in HDC hdc, __in_ecount(nCount
) LPCWSTR lpString, __in int nCount, __in int nMexExtent, __inout LPGCP_RESULTSW
lpResults, __in DWORD dwFlags); |
#ifdef UNICODE | | #ifdef UNICODE |
#define GetCharacterPlacement GetCharacterPlacementW | | #define GetCharacterPlacement GetCharacterPlacementW |
#else | | #else |
#define GetCharacterPlacement GetCharacterPlacementA | | #define GetCharacterPlacement GetCharacterPlacementA |
#endif // !UNICODE | | #endif // !UNICODE |
#endif /* WINVER >= 0x0400 */ | | #endif /* WINVER >= 0x0400 */ |
| | |
|
#if (_WIN32_WINNT >= 0x0500) | | #if (_WIN32_WINNT >= _WIN32_WINNT_WIN2K) |
| | |
typedef struct tagWCRANGE | | typedef struct tagWCRANGE |
{ | | { |
WCHAR wcLow; | | WCHAR wcLow; |
USHORT cGlyphs; | | USHORT cGlyphs; |
} WCRANGE, *PWCRANGE,FAR *LPWCRANGE; | | } WCRANGE, *PWCRANGE,FAR *LPWCRANGE; |
| | |
typedef struct tagGLYPHSET | | typedef struct tagGLYPHSET |
{ | | { |
DWORD cbThis; | | DWORD cbThis; |
| | |
skipping to change at line 3306 | | skipping to change at line 3459 |
| | |
WINGDIAPI DWORD WINAPI GetFontUnicodeRanges( __in HDC hdc, __out_opt LPGLYPHSET
lpgs); | | WINGDIAPI DWORD WINAPI GetFontUnicodeRanges( __in HDC hdc, __out_opt LPGLYPHSET
lpgs); |
WINGDIAPI DWORD WINAPI GetGlyphIndicesA( __in HDC hdc, __in_ecount(c) LPCSTR lps
tr, __in int c, __out_ecount(c) LPWORD pgi, __in DWORD fl); | | WINGDIAPI DWORD WINAPI GetGlyphIndicesA( __in HDC hdc, __in_ecount(c) LPCSTR lps
tr, __in int c, __out_ecount(c) LPWORD pgi, __in DWORD fl); |
WINGDIAPI DWORD WINAPI GetGlyphIndicesW( __in HDC hdc, __in_ecount(c) LPCWSTR lp
str, __in int c, __out_ecount(c) LPWORD pgi, __in DWORD fl); | | WINGDIAPI DWORD WINAPI GetGlyphIndicesW( __in HDC hdc, __in_ecount(c) LPCWSTR lp
str, __in int c, __out_ecount(c) LPWORD pgi, __in DWORD fl); |
#ifdef UNICODE | | #ifdef UNICODE |
#define GetGlyphIndices GetGlyphIndicesW | | #define GetGlyphIndices GetGlyphIndicesW |
#else | | #else |
#define GetGlyphIndices GetGlyphIndicesA | | #define GetGlyphIndices GetGlyphIndicesA |
#endif // !UNICODE | | #endif // !UNICODE |
WINGDIAPI BOOL WINAPI GetTextExtentPointI(__in HDC hdc, __in_ecount(cgi) LPWORD
pgiIn, __in int cgi, __out LPSIZE psize); | | WINGDIAPI BOOL WINAPI GetTextExtentPointI(__in HDC hdc, __in_ecount(cgi) LPWORD
pgiIn, __in int cgi, __out LPSIZE psize); |
|
WINGDIAPI BOOL WINAPI GetTextExtentExPointI ( __in HDC hdc, | | WINGDIAPI BOOL WINAPI GetTextExtentExPointI ( __in HDC hdc, |
__in_ecount(cwchString) LPWORD l
pwszString, | | __in_ecount(cwchString) LPWORD l
pwszString, |
__in int cwchString, | | __in int cwchString, |
__in int nMaxExtent, | | __in int nMaxExtent, |
__out_opt LPINT lpnFit, | | __out_opt LPINT lpnFit, |
__out_ecount_part_opt(cwchString
, *lpnFit) LPINT lpnDx, | | __out_ecount_part_opt(cwchString
, *lpnFit) LPINT lpnDx, |
__out LPSIZE lpSize | | __out LPSIZE lpSize |
); | | ); |
| | |
WINGDIAPI BOOL WINAPI GetCharWidthI( __in HDC hdc, | | WINGDIAPI BOOL WINAPI GetCharWidthI( __in HDC hdc, |
__in UINT giFirst, | | __in UINT giFirst, |
| | |
skipping to change at line 3467 | | skipping to change at line 3620 |
typedef ENUMTEXTMETRICW ENUMTEXTMETRIC; | | typedef ENUMTEXTMETRICW ENUMTEXTMETRIC; |
typedef PENUMTEXTMETRICW PENUMTEXTMETRIC; | | typedef PENUMTEXTMETRICW PENUMTEXTMETRIC; |
typedef LPENUMTEXTMETRICW LPENUMTEXTMETRIC; | | typedef LPENUMTEXTMETRICW LPENUMTEXTMETRIC; |
#else | | #else |
typedef ENUMTEXTMETRICA ENUMTEXTMETRIC; | | typedef ENUMTEXTMETRICA ENUMTEXTMETRIC; |
typedef PENUMTEXTMETRICA PENUMTEXTMETRIC; | | typedef PENUMTEXTMETRICA PENUMTEXTMETRIC; |
typedef LPENUMTEXTMETRICA LPENUMTEXTMETRIC; | | typedef LPENUMTEXTMETRICA LPENUMTEXTMETRIC; |
#endif // UNICODE | | #endif // UNICODE |
#endif /* NOTEXTMETRIC */ | | #endif /* NOTEXTMETRIC */ |
| | |
|
#endif // (_WIN32_WINNT >= 0x0500) | | #endif // (_WIN32_WINNT >= _WIN32_WINNT_WIN2K) |
| | |
WINGDIAPI BOOL WINAPI GetViewportExtEx( __in HDC hdc, __out LPSIZE lpsize); | | WINGDIAPI BOOL WINAPI GetViewportExtEx( __in HDC hdc, __out LPSIZE lpsize); |
WINGDIAPI BOOL WINAPI GetViewportOrgEx( __in HDC hdc, __out LPPOINT lppoint); | | WINGDIAPI BOOL WINAPI GetViewportOrgEx( __in HDC hdc, __out LPPOINT lppoint); |
WINGDIAPI BOOL WINAPI GetWindowExtEx( __in HDC hdc, __out LPSIZE lpsize); | | WINGDIAPI BOOL WINAPI GetWindowExtEx( __in HDC hdc, __out LPSIZE lpsize); |
WINGDIAPI BOOL WINAPI GetWindowOrgEx( __in HDC hdc, __out LPPOINT lppoint); | | WINGDIAPI BOOL WINAPI GetWindowOrgEx( __in HDC hdc, __out LPPOINT lppoint); |
| | |
|
WINGDIAPI int WINAPI IntersectClipRect( __in HDC hdc, __in int left, __in int t | | __gdi_entry WINGDIAPI int WINAPI IntersectClipRect( __in HDC hdc, __in int left |
op, __in int right, __in int bottom); | | , __in int top, __in int right, __in int bottom); |
WINGDIAPI BOOL WINAPI InvertRgn( __in HDC hdc, __in HRGN hrgn); | | __gdi_entry WINGDIAPI BOOL WINAPI InvertRgn( __in HDC hdc, __in HRGN hrgn); |
WINGDIAPI BOOL WINAPI LineDDA( __in int xStart, __in int yStart, __in int xEnd,
__in int yEnd, __in LINEDDAPROC lpProc, __in_opt LPARAM data); | | WINGDIAPI BOOL WINAPI LineDDA( __in int xStart, __in int yStart, __in int xEnd,
__in int yEnd, __in LINEDDAPROC lpProc, __in_opt LPARAM data); |
|
WINGDIAPI BOOL WINAPI LineTo( __in HDC hdc, __in int x, __in int y); | | __gdi_entry WINGDIAPI BOOL WINAPI LineTo( __in HDC hdc, __in int x, __in int y); |
WINGDIAPI BOOL WINAPI MaskBlt( __in HDC hdcDest, __in int xDest, __in int yDest,
__in int width, __in int height, | | WINGDIAPI BOOL WINAPI MaskBlt( __in HDC hdcDest, __in int xDest, __in int yDest,
__in int width, __in int height, |
__in HDC hdcSrc, __in int xSrc, __in int ySrc, __in HBITMAP hbmMas
k, __in int xMask, __in int yMask, __in DWORD rop); | | __in HDC hdcSrc, __in int xSrc, __in int ySrc, __in HBITMAP hbmMas
k, __in int xMask, __in int yMask, __in DWORD rop); |
WINGDIAPI BOOL WINAPI PlgBlt( __in HDC hdcDest, __in_ecount(3) CONST POINT * lpP
oint, __in HDC hdcSrc, __in int xSrc, __in int ySrc, __in int width, | | WINGDIAPI BOOL WINAPI PlgBlt( __in HDC hdcDest, __in_ecount(3) CONST POINT * lpP
oint, __in HDC hdcSrc, __in int xSrc, __in int ySrc, __in int width, |
__in int height, __in_opt HBITMAP hbmMask, __in int xMask,
__in int yMask); | | __in int height, __in_opt HBITMAP hbmMask, __in int xMask,
__in int yMask); |
| | |
|
WINGDIAPI int WINAPI OffsetClipRgn(__in HDC hdc, __in int x, __in int y); | | __gdi_entry WINGDIAPI int WINAPI OffsetClipRgn(__in HDC hdc, __in int x, __in i
nt y); |
WINGDIAPI int WINAPI OffsetRgn(__in HRGN hrgn, __in int x, __in int y); | | WINGDIAPI int WINAPI OffsetRgn(__in HRGN hrgn, __in int x, __in int y); |
|
WINGDIAPI BOOL WINAPI PatBlt(__in HDC hdc, __in int x, __in int y, __in int w, _ | | __gdi_entry WINGDIAPI BOOL WINAPI PatBlt(__in HDC hdc, __in int x, __in int y, _ |
_in int h, __in DWORD rop); | | _in int w, __in int h, __in DWORD rop); |
WINGDIAPI BOOL WINAPI Pie(__in HDC hdc, __in int left, __in int top, __in int ri | | __gdi_entry WINGDIAPI BOOL WINAPI Pie(__in HDC hdc, __in int left, __in int top, |
ght, __in int bottom, __in int xr1, __in int yr1, __in int xr2, __in int yr2); | | __in int right, __in int bottom, __in int xr1, __in int yr1, __in int xr2, __in |
| | int yr2); |
WINGDIAPI BOOL WINAPI PlayMetaFile(__in HDC hdc, __in HMETAFILE hmf); | | WINGDIAPI BOOL WINAPI PlayMetaFile(__in HDC hdc, __in HMETAFILE hmf); |
|
WINGDIAPI BOOL WINAPI PaintRgn(__in HDC hdc, __in HRGN hrgn); | | __gdi_entry WINGDIAPI BOOL WINAPI PaintRgn(__in HDC hdc, __in HRGN hrgn); |
WINGDIAPI BOOL WINAPI PolyPolygon(__in HDC hdc, __in CONST POINT *apt, __in_ec | | __gdi_entry WINGDIAPI BOOL WINAPI PolyPolygon(__in HDC hdc, __in CONST POINT *a |
ount(csz) CONST INT *asz, __in int csz); | | pt, __in_ecount(csz) CONST INT *asz, __in int csz); |
WINGDIAPI BOOL WINAPI PtInRegion(__in HRGN hrgn, __in int x, __in int y); | | WINGDIAPI BOOL WINAPI PtInRegion(__in HRGN hrgn, __in int x, __in int y); |
WINGDIAPI BOOL WINAPI PtVisible(__in HDC hdc, __in int x, __in int y); | | WINGDIAPI BOOL WINAPI PtVisible(__in HDC hdc, __in int x, __in int y); |
WINGDIAPI BOOL WINAPI RectInRegion(__in HRGN hrgn, __in CONST RECT * lprect); | | WINGDIAPI BOOL WINAPI RectInRegion(__in HRGN hrgn, __in CONST RECT * lprect); |
WINGDIAPI BOOL WINAPI RectVisible(__in HDC hdc, __in CONST RECT * lprect); | | WINGDIAPI BOOL WINAPI RectVisible(__in HDC hdc, __in CONST RECT * lprect); |
|
WINGDIAPI BOOL WINAPI Rectangle(__in HDC hdc, __in int left, __in int top, __in | | __gdi_entry WINGDIAPI BOOL WINAPI Rectangle(__in HDC hdc, __in int left, __in in |
int right, __in int bottom); | | t top, __in int right, __in int bottom); |
WINGDIAPI BOOL WINAPI RestoreDC(__in HDC hdc, __in int nSavedDC); | | __gdi_entry WINGDIAPI BOOL WINAPI RestoreDC(__in HDC hdc, __in int nSavedDC); |
WINGDIAPI HDC WINAPI ResetDCA(__in HDC hdc, __in CONST DEVMODEA * lpdm); | | __gdi_entry WINGDIAPI HDC WINAPI ResetDCA(__in HDC hdc, __in CONST DEVMODEA * l |
WINGDIAPI HDC WINAPI ResetDCW(__in HDC hdc, __in CONST DEVMODEW * lpdm); | | pdm); |
| | __gdi_entry WINGDIAPI HDC WINAPI ResetDCW(__in HDC hdc, __in CONST DEVMODEW * l |
| | pdm); |
#ifdef UNICODE | | #ifdef UNICODE |
#define ResetDC ResetDCW | | #define ResetDC ResetDCW |
#else | | #else |
#define ResetDC ResetDCA | | #define ResetDC ResetDCA |
#endif // !UNICODE | | #endif // !UNICODE |
|
WINGDIAPI UINT WINAPI RealizePalette(__in HDC hdc); | | __gdi_entry WINGDIAPI UINT WINAPI RealizePalette(__in HDC hdc); |
WINGDIAPI BOOL WINAPI RemoveFontResourceA(__in LPCSTR lpFileName); | | WINGDIAPI BOOL WINAPI RemoveFontResourceA(__in LPCSTR lpFileName); |
WINGDIAPI BOOL WINAPI RemoveFontResourceW(__in LPCWSTR lpFileName); | | WINGDIAPI BOOL WINAPI RemoveFontResourceW(__in LPCWSTR lpFileName); |
#ifdef UNICODE | | #ifdef UNICODE |
#define RemoveFontResource RemoveFontResourceW | | #define RemoveFontResource RemoveFontResourceW |
#else | | #else |
#define RemoveFontResource RemoveFontResourceA | | #define RemoveFontResource RemoveFontResourceA |
#endif // !UNICODE | | #endif // !UNICODE |
|
WINGDIAPI BOOL WINAPI RoundRect(__in HDC hdc, __in int left, __in int top, __in | | __gdi_entry WINGDIAPI BOOL WINAPI RoundRect(__in HDC hdc, __in int left, __in i |
int right, __in int bottom, __in int width, __in int height); | | nt top, __in int right, __in int bottom, __in int width, __in int height); |
WINGDIAPI BOOL WINAPI ResizePalette(__in HPALETTE hpal, __in UINT n); | | __gdi_entry WINGDIAPI BOOL WINAPI ResizePalette(__in HPALETTE hpal, __in UINT n) |
| | ; |
| | |
|
WINGDIAPI int WINAPI SaveDC(__in HDC hdc); | | __gdi_entry WINGDIAPI int WINAPI SaveDC(__in HDC hdc); |
WINGDIAPI int WINAPI SelectClipRgn(__in HDC hdc, __in_opt HRGN hrgn); | | __gdi_entry WINGDIAPI int WINAPI SelectClipRgn(__in HDC hdc, __in_opt HRGN hrgn |
| | ); |
WINGDIAPI int WINAPI ExtSelectClipRgn(__in HDC hdc, __in_opt HRGN hrgn, __in in
t mode); | | WINGDIAPI int WINAPI ExtSelectClipRgn(__in HDC hdc, __in_opt HRGN hrgn, __in in
t mode); |
WINGDIAPI int WINAPI SetMetaRgn(__in HDC hdc); | | WINGDIAPI int WINAPI SetMetaRgn(__in HDC hdc); |
|
WINGDIAPI HGDIOBJ WINAPI SelectObject(__in HDC hdc, __in HGDIOBJ h); | | __gdi_entry WINGDIAPI HGDIOBJ WINAPI SelectObject(__in HDC hdc, __in HGDIOBJ h); |
WINGDIAPI HPALETTE WINAPI SelectPalette(__in HDC hdc, __in HPALETTE hPal, __in B | | __gdi_entry WINGDIAPI HPALETTE WINAPI SelectPalette(__in HDC hdc, __in HPALETTE |
OOL bForceBkgd); | | hPal, __in BOOL bForceBkgd); |
WINGDIAPI COLORREF WINAPI SetBkColor(__in HDC hdc, __in COLORREF color); | | __gdi_entry WINGDIAPI COLORREF WINAPI SetBkColor(__in HDC hdc, __in COLORREF col |
| | or); |
| | |
|
#if (_WIN32_WINNT >= 0x0500) | | #if (_WIN32_WINNT >= _WIN32_WINNT_WIN2K) |
WINGDIAPI COLORREF WINAPI SetDCBrushColor(__in HDC hdc, __in COLORREF color); | | WINGDIAPI COLORREF WINAPI SetDCBrushColor(__in HDC hdc, __in COLORREF color); |
WINGDIAPI COLORREF WINAPI SetDCPenColor(__in HDC hdc, __in COLORREF color); | | WINGDIAPI COLORREF WINAPI SetDCPenColor(__in HDC hdc, __in COLORREF color); |
#endif | | #endif |
| | |
|
WINGDIAPI int WINAPI SetBkMode(__in HDC hdc, __in int mode); | | __gdi_entry WINGDIAPI int WINAPI SetBkMode(__in HDC hdc, __in int mode); |
| | |
WINGDIAPI | | WINGDIAPI |
LONG WINAPI | | LONG WINAPI |
SetBitmapBits( | | SetBitmapBits( |
__in HBITMAP hbm, | | __in HBITMAP hbm, |
__in DWORD cb, | | __in DWORD cb, |
__in_bcount(cb) CONST VOID *pvBits); | | __in_bcount(cb) CONST VOID *pvBits); |
| | |
WINGDIAPI UINT WINAPI SetBoundsRect(__in HDC hdc, __in_opt CONST RECT * lprect,
__in UINT flags); | | WINGDIAPI UINT WINAPI SetBoundsRect(__in HDC hdc, __in_opt CONST RECT * lprect,
__in UINT flags); |
|
WINGDIAPI int WINAPI SetDIBits(__in HDC hdc, __in HBITMAP hbm, __in UINT start, | | WINGDIAPI int WINAPI SetDIBits(__in_opt HDC hdc, __in HBITMAP hbm, __in UINT s |
__in UINT cLines, __in CONST VOID *lpBits, __in CONST BITMAPINFO * lpbmi, __in | | tart, __in UINT cLines, __in CONST VOID *lpBits, __in CONST BITMAPINFO * lpbmi, |
UINT ColorUse); | | __in UINT ColorUse); |
WINGDIAPI int WINAPI SetDIBitsToDevice(__in HDC hdc, __in int xDest, __in int | | __gdi_entry WINGDIAPI int WINAPI SetDIBitsToDevice(__in HDC hdc, __in int xDes |
yDest, __in DWORD w, __in DWORD h, __in int xSrc, | | t, __in int yDest, __in DWORD w, __in DWORD h, __in int xSrc, |
__in int ySrc, __in UINT StartScan, __in UINT cLines, __in CONST VOID *
lpvBits, __in CONST BITMAPINFO * lpbmi, __in UINT ColorUse); | | __in int ySrc, __in UINT StartScan, __in UINT cLines, __in CONST VOID *
lpvBits, __in CONST BITMAPINFO * lpbmi, __in UINT ColorUse); |
|
WINGDIAPI DWORD WINAPI SetMapperFlags(__in HDC hdc, __in DWORD flags); | | __gdi_entry WINGDIAPI DWORD WINAPI SetMapperFlags(__in HDC hdc, __in DWORD flags
); |
WINGDIAPI int WINAPI SetGraphicsMode(__in HDC hdc, __in int iMode); | | WINGDIAPI int WINAPI SetGraphicsMode(__in HDC hdc, __in int iMode); |
|
WINGDIAPI int WINAPI SetMapMode(__in HDC hdc, __in int iMode); | | __gdi_entry WINGDIAPI int WINAPI SetMapMode(__in HDC hdc, __in int iMode); |
| | |
#if(WINVER >= 0x0500) | | #if(WINVER >= 0x0500) |
|
WINGDIAPI DWORD WINAPI SetLayout(__in HDC hdc, __in DWORD l); | | __gdi_entry WINGDIAPI DWORD WINAPI SetLayout(__in HDC hdc, __in DWORD l); |
WINGDIAPI DWORD WINAPI GetLayout(__in HDC hdc); | | WINGDIAPI DWORD WINAPI GetLayout(__in HDC hdc); |
#endif /* WINVER >= 0x0500 */ | | #endif /* WINVER >= 0x0500 */ |
| | |
WINGDIAPI HMETAFILE WINAPI SetMetaFileBitsEx(__in UINT cbBuffer, __in_bcount(c
bBuffer) CONST BYTE *lpData); | | WINGDIAPI HMETAFILE WINAPI SetMetaFileBitsEx(__in UINT cbBuffer, __in_bcount(c
bBuffer) CONST BYTE *lpData); |
|
WINGDIAPI UINT WINAPI SetPaletteEntries( __in HPALETTE hpal, | | __gdi_entry WINGDIAPI UINT WINAPI SetPaletteEntries( __in HPALETTE hpal, |
__in UINT iStart, | | __in UINT iStart, |
__in UINT cEntries, | | __in UINT cEntries, |
__in_ecount(cEntries) CONST PALETTEE
NTRY *pPalEntries); | | __in_ecount(cEntries) CONST PALETTEE
NTRY *pPalEntries); |
|
WINGDIAPI COLORREF WINAPI SetPixel(__in HDC hdc, __in int x, __in int y, __in CO
LORREF color); | | __gdi_entry WINGDIAPI COLORREF WINAPI SetPixel(__in HDC hdc, __in int x, __in in
t y, __in COLORREF color); |
WINGDIAPI BOOL WINAPI SetPixelV(__in HDC hdc, __in int x, __in int y, __in COL
ORREF color); | | WINGDIAPI BOOL WINAPI SetPixelV(__in HDC hdc, __in int x, __in int y, __in COL
ORREF color); |
WINGDIAPI BOOL WINAPI SetPixelFormat(__in HDC hdc, __in int format, __in CONST
PIXELFORMATDESCRIPTOR * ppfd); | | WINGDIAPI BOOL WINAPI SetPixelFormat(__in HDC hdc, __in int format, __in CONST
PIXELFORMATDESCRIPTOR * ppfd); |
|
WINGDIAPI int WINAPI SetPolyFillMode(__in HDC hdc, __in int mode); | | __gdi_entry WINGDIAPI int WINAPI SetPolyFillMode(__in HDC hdc, __in int mode); |
WINGDIAPI BOOL WINAPI StretchBlt(__in HDC hdcDest, __in int xDest, __in int yDe | | __gdi_entry WINGDIAPI BOOL WINAPI StretchBlt(__in HDC hdcDest, __in int xDest, |
st, __in int wDest, __in int hDest, __in HDC hdcSrc, __in int xSrc, __in int ySr | | __in int yDest, __in int wDest, __in int hDest, __in_opt HDC hdcSrc, __in int xS |
c, __in int wSrc, __in int hSrc, __in DWORD rop); | | rc, __in int ySrc, __in int wSrc, __in int hSrc, __in DWORD rop); |
WINGDIAPI BOOL WINAPI SetRectRgn(__in HRGN hrgn, __in int left, __in int top,
__in int right, __in int bottom); | | WINGDIAPI BOOL WINAPI SetRectRgn(__in HRGN hrgn, __in int left, __in int top,
__in int right, __in int bottom); |
|
WINGDIAPI int WINAPI StretchDIBits(__in HDC hdc, __in int xDest, __in int yDes | | __gdi_entry WINGDIAPI int WINAPI StretchDIBits(__in HDC hdc, __in int xDest, _ |
t, __in int DestWidth, __in int DestHeight, __in int xSrc, __in int ySrc, __in i | | _in int yDest, __in int DestWidth, __in int DestHeight, __in int xSrc, __in int |
nt SrcWidth, __in int SrcHeight, | | ySrc, __in int SrcWidth, __in int SrcHeight, |
__in CONST VOID * lpBits, __in CONST BITMAPINFO * lpbmi, __in UINT iUsag | | __in_opt CONST VOID * lpBits, __in CONST BITMAPINFO * lpbmi, __in UINT i |
e, __in DWORD rop); | | Usage, __in DWORD rop); |
WINGDIAPI int WINAPI SetROP2(__in HDC hdc, __in int rop2); | | __gdi_entry WINGDIAPI int WINAPI SetROP2(__in HDC hdc, __in int rop2); |
WINGDIAPI int WINAPI SetStretchBltMode(__in HDC hdc, __in int mode); | | __gdi_entry WINGDIAPI int WINAPI SetStretchBltMode(__in HDC hdc, __in int mode |
| | ); |
WINGDIAPI UINT WINAPI SetSystemPaletteUse(__in HDC hdc, __in UINT use); | | WINGDIAPI UINT WINAPI SetSystemPaletteUse(__in HDC hdc, __in UINT use); |
|
WINGDIAPI int WINAPI SetTextCharacterExtra(__in HDC hdc, __in int extra); | | __gdi_entry WINGDIAPI int WINAPI SetTextCharacterExtra(__in HDC hdc, __in int |
WINGDIAPI COLORREF WINAPI SetTextColor(__in HDC hdc, __in COLORREF color); | | extra); |
WINGDIAPI UINT WINAPI SetTextAlign(__in HDC hdc, __in UINT align); | | __gdi_entry WINGDIAPI COLORREF WINAPI SetTextColor(__in HDC hdc, __in COLORREF c |
WINGDIAPI BOOL WINAPI SetTextJustification(__in HDC hdc, __in int extra, __in i | | olor); |
nt count); | | __gdi_entry WINGDIAPI UINT WINAPI SetTextAlign(__in HDC hdc, __in UINT align); |
| | __gdi_entry WINGDIAPI BOOL WINAPI SetTextJustification(__in HDC hdc, __in int e |
| | xtra, __in int count); |
WINGDIAPI BOOL WINAPI UpdateColors(__in HDC hdc); | | WINGDIAPI BOOL WINAPI UpdateColors(__in HDC hdc); |
| | |
|
| | #ifdef COMBOX_SANDBOX |
| | |
| | #if (_WIN32_WINNT >= 0x0600) |
| | |
| | typedef PVOID (WINAPI *GDIMARSHALLOC)(DWORD dwSize, __in LPVOID pGdiRef); |
| | |
| | typedef HRESULT (WINAPI *DDRAWMARSHCALLBACKMARSHAL)(__in HGDIOBJ hGdiObj, __in L |
| | PVOID pGdiRef, __out LPVOID *ppDDrawRef); |
| | typedef HRESULT (WINAPI *DDRAWMARSHCALLBACKUNMARSHAL)(__in LPVOID pData, __out H |
| | DC *phdc, __out LPVOID *ppDDrawRef); |
| | typedef HRESULT (WINAPI *DDRAWMARSHCALLBACKRELEASE)(__in LPVOID pDDrawRef); |
| | |
| | #define GDIREGISTERDDRAWPACKETVERSION 0x1 |
| | |
| | typedef struct { |
| | DWORD dwSize; |
| | DWORD dwVersion; |
| | DDRAWMARSHCALLBACKMARSHAL pfnDdMarshal; |
| | DDRAWMARSHCALLBACKUNMARSHAL pfnDdUnmarshal; |
| | DDRAWMARSHCALLBACKRELEASE pfnDdRelease; |
| | } GDIREGISTERDDRAWPACKET, *PGDIREGISTERDDRAWPACKET; |
| | |
| | WINGDIAPI BOOL WINAPI GdiRegisterDdraw(__in PGDIREGISTERDDRAWPACKET pPacket |
| | , __out GDIMARSHALLOC *ppfnGdiAlloc); |
| | |
| | WINGDIAPI ULONG WINAPI GdiMarshalSize(VOID); |
| | WINGDIAPI VOID WINAPI GdiMarshal(DWORD dwProcessIdTo, __in HGDIOBJ hGdiObj, |
| | __inout PVOID pData, ULONG ulFlags); |
| | WINGDIAPI HGDIOBJ WINAPI GdiUnmarshal(__in PVOID pData, ULONG ulFlags); |
| | |
| | #endif // (_WIN32_WINNT >= 0x0600) |
| | |
| | #endif // COMBOX_SANDBOX |
| | |
#if (WINVER >= 0x0400) | | #if (WINVER >= 0x0400) |
| | |
// | | // |
// image blt | | // image blt |
// | | // |
| | |
typedef USHORT COLOR16; | | typedef USHORT COLOR16; |
| | |
typedef struct _TRIVERTEX | | typedef struct _TRIVERTEX |
{ | | { |
| | |
skipping to change at line 3650 | | skipping to change at line 3833 |
__in HDC hdc, | | __in HDC hdc, |
__in_ecount(nVertex) PTRIVERTEX pVertex, | | __in_ecount(nVertex) PTRIVERTEX pVertex, |
__in ULONG nVertex, | | __in ULONG nVertex, |
__in PVOID pMesh, | | __in PVOID pMesh, |
__in ULONG nMesh, | | __in ULONG nMesh, |
__in ULONG ulMode | | __in ULONG ulMode |
); | | ); |
| | |
#endif | | #endif |
| | |
|
| | #if (_WIN32_WINNT >= _WIN32_WINNT_WIN2K) |
| | |
| | WINGDIAPI BOOL WINAPI GdiAlphaBlend(__in HDC hdcDest, __in int xoriginDest, __i |
| | n int yoriginDest, __in int wDest, __in int hDest, __in HDC hdcSrc, __in int xor |
| | iginSrc, __in int yoriginSrc, __in int wSrc, __in int hSrc, __in BLENDFUNCTION f |
| | tn); |
| | |
| | WINGDIAPI BOOL WINAPI GdiTransparentBlt(__in HDC hdcDest,__in int xoriginDest, |
| | __in int yoriginDest, __in int wDest, __in int hDest, __in HDC hdcSrc, |
| | __in int xoriginSrc, __in int yorigin |
| | Src, __in int wSrc, __in int hSrc, __in UINT crTransparent); |
| | |
| | WINGDIAPI BOOL WINAPI GdiGradientFill( __in HDC hdc, |
| | __in_ecount(nVertex) PTRIVERTEX pVertex, |
| | __in ULONG nVertex, |
| | __in PVOID pMesh, |
| | __in ULONG nCount, |
| | __in ULONG ulMode); |
| | |
| | #endif |
| | |
#ifndef NOMETAFILE | | #ifndef NOMETAFILE |
| | |
WINGDIAPI BOOL WINAPI PlayMetaFileRecord( __in HDC hdc, | | WINGDIAPI BOOL WINAPI PlayMetaFileRecord( __in HDC hdc, |
__in_ecount(noObjs) LPHANDLETABLE lp
HandleTable, | | __in_ecount(noObjs) LPHANDLETABLE lp
HandleTable, |
__in LPMETARECORD lpMR, | | __in LPMETARECORD lpMR, |
__in UINT noObjs); | | __in UINT noObjs); |
| | |
typedef int (CALLBACK* MFENUMPROC)( __in HDC hdc, __in_ecount(nObj) HANDLETABLE
FAR* lpht, __in METARECORD FAR* lpMR, __in int nObj, __in_opt LPARAM param); | | typedef int (CALLBACK* MFENUMPROC)( __in HDC hdc, __in_ecount(nObj) HANDLETABLE
FAR* lpht, __in METARECORD FAR* lpMR, __in int nObj, __in_opt LPARAM param); |
|
WINGDIAPI BOOL WINAPI EnumMetaFile( __in HDC hdc, __in HMETAFILE hmf, __in MFENU
MPROC proc, __in_opt LPARAM param); | | WINGDIAPI BOOL WINAPI EnumMetaFile( __in HDC hdc, __in HMETAFILE hmf, __in MFEN
UMPROC proc, __in_opt LPARAM param); |
| | |
typedef int (CALLBACK* ENHMFENUMPROC)(__in HDC hdc, __in_ecount(nHandles) HANDLE
TABLE FAR* lpht, __in CONST ENHMETARECORD * lpmr, __in int hHandles, __in_opt LP
ARAM data); | | typedef int (CALLBACK* ENHMFENUMPROC)(__in HDC hdc, __in_ecount(nHandles) HANDLE
TABLE FAR* lpht, __in CONST ENHMETARECORD * lpmr, __in int hHandles, __in_opt LP
ARAM data); |
| | |
// Enhanced Metafile Function Declarations | | // Enhanced Metafile Function Declarations |
| | |
WINGDIAPI HENHMETAFILE WINAPI CloseEnhMetaFile( __in HDC hdc); | | WINGDIAPI HENHMETAFILE WINAPI CloseEnhMetaFile( __in HDC hdc); |
WINGDIAPI HENHMETAFILE WINAPI CopyEnhMetaFileA( __in HENHMETAFILE hEnh, __in_opt
LPCSTR lpFileName); | | WINGDIAPI HENHMETAFILE WINAPI CopyEnhMetaFileA( __in HENHMETAFILE hEnh, __in_opt
LPCSTR lpFileName); |
WINGDIAPI HENHMETAFILE WINAPI CopyEnhMetaFileW( __in HENHMETAFILE hEnh, __in_opt
LPCWSTR lpFileName); | | WINGDIAPI HENHMETAFILE WINAPI CopyEnhMetaFileW( __in HENHMETAFILE hEnh, __in_opt
LPCWSTR lpFileName); |
#ifdef UNICODE | | #ifdef UNICODE |
#define CopyEnhMetaFile CopyEnhMetaFileW | | #define CopyEnhMetaFile CopyEnhMetaFileW |
#else | | #else |
#define CopyEnhMetaFile CopyEnhMetaFileA | | #define CopyEnhMetaFile CopyEnhMetaFileA |
#endif // !UNICODE | | #endif // !UNICODE |
WINGDIAPI HDC WINAPI CreateEnhMetaFileA( __in_opt HDC hdc, __in_opt LPCSTR lpF
ilename, __in_opt CONST RECT *lprc, __in_opt LPCSTR lpDesc); | | WINGDIAPI HDC WINAPI CreateEnhMetaFileA( __in_opt HDC hdc, __in_opt LPCSTR lpF
ilename, __in_opt CONST RECT *lprc, __in_opt LPCSTR lpDesc); |
WINGDIAPI HDC WINAPI CreateEnhMetaFileW( __in_opt HDC hdc, __in_opt LPCWSTR lp
Filename, __in_opt CONST RECT *lprc, __in_opt LPCWSTR lpDesc); | | WINGDIAPI HDC WINAPI CreateEnhMetaFileW( __in_opt HDC hdc, __in_opt LPCWSTR lp
Filename, __in_opt CONST RECT *lprc, __in_opt LPCWSTR lpDesc); |
#ifdef UNICODE | | #ifdef UNICODE |
#define CreateEnhMetaFile CreateEnhMetaFileW | | #define CreateEnhMetaFile CreateEnhMetaFileW |
#else | | #else |
#define CreateEnhMetaFile CreateEnhMetaFileA | | #define CreateEnhMetaFile CreateEnhMetaFileA |
#endif // !UNICODE | | #endif // !UNICODE |
|
WINGDIAPI BOOL WINAPI DeleteEnhMetaFile( __in HENHMETAFILE hmf); | | WINGDIAPI BOOL WINAPI DeleteEnhMetaFile( __in_opt HENHMETAFILE hmf); |
WINGDIAPI BOOL WINAPI EnumEnhMetaFile( __in_opt HDC hdc, __in HENHMETAFILE hmf,
__in ENHMFENUMPROC proc, | | WINGDIAPI BOOL WINAPI EnumEnhMetaFile( __in_opt HDC hdc, __in HENHMETAFILE hmf,
__in ENHMFENUMPROC proc, |
__in_opt LPVOID param, __in_opt CONST RE
CT * lpRect); | | __in_opt LPVOID param, __in_opt CONST RE
CT * lpRect); |
WINGDIAPI HENHMETAFILE WINAPI GetEnhMetaFileA( __in LPCSTR lpName); | | WINGDIAPI HENHMETAFILE WINAPI GetEnhMetaFileA( __in LPCSTR lpName); |
WINGDIAPI HENHMETAFILE WINAPI GetEnhMetaFileW( __in LPCWSTR lpName); | | WINGDIAPI HENHMETAFILE WINAPI GetEnhMetaFileW( __in LPCWSTR lpName); |
#ifdef UNICODE | | #ifdef UNICODE |
#define GetEnhMetaFile GetEnhMetaFileW | | #define GetEnhMetaFile GetEnhMetaFileW |
#else | | #else |
#define GetEnhMetaFile GetEnhMetaFileA | | #define GetEnhMetaFile GetEnhMetaFileA |
#endif // !UNICODE | | #endif // !UNICODE |
|
WINGDIAPI UINT WINAPI GetEnhMetaFileBits( __in HENHMETAFILE hEMF, | | WINGDIAPI UINT WINAPI GetEnhMetaFileBits( __in HENHMETAFILE hEMF, |
__in UINT nSize, | | __in UINT nSize, |
__out_bcount_opt(nSize) LPBYTE lpDat
a); | | __out_bcount_opt(nSize) LPBYTE lpDat
a); |
|
WINGDIAPI UINT WINAPI GetEnhMetaFileDescriptionA( __in HENHMETAFILE hemf, | | WINGDIAPI UINT WINAPI GetEnhMetaFileDescriptionA( __in HENHMETAFILE hemf, |
__in UINT cchBuffer, | | __in UINT cchBuffer, |
__out_ecount_opt(cchBuffer)
LPSTR lpDescription); | | __out_ecount_opt(cchBuffer)
LPSTR lpDescription); |
|
WINGDIAPI UINT WINAPI GetEnhMetaFileDescriptionW( __in HENHMETAFILE hemf, | | WINGDIAPI UINT WINAPI GetEnhMetaFileDescriptionW( __in HENHMETAFILE hemf, |
__in UINT cchBuffer, | | __in UINT cchBuffer, |
__out_ecount_opt(cchBuffer)
LPWSTR lpDescription); | | __out_ecount_opt(cchBuffer)
LPWSTR lpDescription); |
#ifdef UNICODE | | #ifdef UNICODE |
#define GetEnhMetaFileDescription GetEnhMetaFileDescriptionW | | #define GetEnhMetaFileDescription GetEnhMetaFileDescriptionW |
#else | | #else |
#define GetEnhMetaFileDescription GetEnhMetaFileDescriptionA | | #define GetEnhMetaFileDescription GetEnhMetaFileDescriptionA |
#endif // !UNICODE | | #endif // !UNICODE |
|
WINGDIAPI UINT WINAPI GetEnhMetaFileHeader( __in HENHMETAFILE hemf, | | WINGDIAPI UINT WINAPI GetEnhMetaFileHeader( __in HENHMETAFILE hemf, |
__in UINT nSize, | | __in UINT nSize, |
__out_bcount_opt(nSize) LPENHMET
AHEADER lpEnhMetaHeader); | | __out_bcount_opt(nSize) LPENHMET
AHEADER lpEnhMetaHeader); |
|
WINGDIAPI UINT WINAPI GetEnhMetaFilePaletteEntries(__in HENHMETAFILE hemf, | | WINGDIAPI UINT WINAPI GetEnhMetaFilePaletteEntries(__in HENHMETAFILE hemf, |
__in UINT nNumEntries, | | __in UINT nNumEntries, |
__out_ecount_opt(nNumEntries
) LPPALETTEENTRY lpPaletteEntries); | | __out_ecount_opt(nNumEntries
) LPPALETTEENTRY lpPaletteEntries); |
| | |
WINGDIAPI UINT WINAPI GetEnhMetaFilePixelFormat( __in HENHMETAFILE hemf, | | WINGDIAPI UINT WINAPI GetEnhMetaFilePixelFormat( __in HENHMETAFILE hemf, |
__in UINT cbBuffer, | | __in UINT cbBuffer, |
__out_bcount_opt(cbBuffer) P
IXELFORMATDESCRIPTOR *ppfd); | | __out_bcount_opt(cbBuffer) P
IXELFORMATDESCRIPTOR *ppfd); |
|
WINGDIAPI UINT WINAPI GetWinMetaFileBits( __in HENHMETAFILE hemf, | | WINGDIAPI UINT WINAPI GetWinMetaFileBits( __in HENHMETAFILE hemf, |
__in UINT cbData16, | | __in UINT cbData16, |
__out_bcount_opt(cbData16) LPBYTE pD
ata16, | | __out_bcount_opt(cbData16) LPBYTE pD
ata16, |
__in INT iMapMode, | | __in INT iMapMode, |
__in HDC hdcRef); | | __in HDC hdcRef); |
WINGDIAPI BOOL WINAPI PlayEnhMetaFile( __in HDC hdc, __in HENHMETAFILE hmf, __i
n CONST RECT * lprect); | | WINGDIAPI BOOL WINAPI PlayEnhMetaFile( __in HDC hdc, __in HENHMETAFILE hmf, __i
n CONST RECT * lprect); |
WINGDIAPI BOOL WINAPI PlayEnhMetaFileRecord( __in HDC hdc, | | WINGDIAPI BOOL WINAPI PlayEnhMetaFileRecord( __in HDC hdc, |
__in_ecount(cht) LPHANDLETABLE p
ht, | | __in_ecount(cht) LPHANDLETABLE p
ht, |
__in CONST ENHMETARECORD *pmr, | | __in CONST ENHMETARECORD *pmr, |
__in UINT cht); | | __in UINT cht); |
| | |
| | |
skipping to change at line 3760 | | skipping to change at line 3959 |
HDC hdc, | | HDC hdc, |
LPTEXTMETRIC lptm | | LPTEXTMETRIC lptm |
) | | ) |
{ | | { |
#ifdef UNICODE | | #ifdef UNICODE |
return GetTextMetricsW( | | return GetTextMetricsW( |
#else | | #else |
return GetTextMetricsA( | | return GetTextMetricsA( |
#endif | | #endif |
hdc, | | hdc, |
|
lptm | | lptm |
); | | ); |
} | | } |
|
#endif /* _M_CEE */ | | #endif /* _M_CEE */ |
| | |
#endif | | #endif |
| | |
/* new GDI */ | | /* new GDI */ |
| | |
typedef struct tagDIBSECTION { | | typedef struct tagDIBSECTION { |
|
BITMAP dsBm; | | BITMAP dsBm; |
BITMAPINFOHEADER dsBmih; | | BITMAPINFOHEADER dsBmih; |
DWORD dsBitfields[3]; | | DWORD dsBitfields[3]; |
HANDLE dshSection; | | HANDLE dshSection; |
DWORD dsOffset; | | DWORD dsOffset; |
} DIBSECTION, FAR *LPDIBSECTION, *PDIBSECTION; | | } DIBSECTION, FAR *LPDIBSECTION, *PDIBSECTION; |
| | |
WINGDIAPI BOOL WINAPI AngleArc( __in HDC hdc, __in int x, __in int y, __in DWORD
r, __in FLOAT StartAngle, __in FLOAT SweepAngle); | | WINGDIAPI BOOL WINAPI AngleArc( __in HDC hdc, __in int x, __in int y, __in DWORD
r, __in FLOAT StartAngle, __in FLOAT SweepAngle); |
WINGDIAPI BOOL WINAPI PolyPolyline(__in HDC hdc, __in CONST POINT *apt, __in_eco
unt(csz) CONST DWORD *asz, __in DWORD csz); | | WINGDIAPI BOOL WINAPI PolyPolyline(__in HDC hdc, __in CONST POINT *apt, __in_eco
unt(csz) CONST DWORD *asz, __in DWORD csz); |
WINGDIAPI BOOL WINAPI GetWorldTransform( __in HDC hdc, __out LPXFORM lpxf); | | WINGDIAPI BOOL WINAPI GetWorldTransform( __in HDC hdc, __out LPXFORM lpxf); |
WINGDIAPI BOOL WINAPI SetWorldTransform( __in HDC hdc, __in CONST XFORM * lpxf); | | WINGDIAPI BOOL WINAPI SetWorldTransform( __in HDC hdc, __in CONST XFORM * lpxf); |
| | |
skipping to change at line 3884 | | skipping to change at line 4083 |
#else | | #else |
typedef DOCINFOA DOCINFO; | | typedef DOCINFOA DOCINFO; |
typedef LPDOCINFOA LPDOCINFO; | | typedef LPDOCINFOA LPDOCINFO; |
#endif // UNICODE | | #endif // UNICODE |
| | |
#if(WINVER >= 0x0400) | | #if(WINVER >= 0x0400) |
#define DI_APPBANDING 0x00000001 | | #define DI_APPBANDING 0x00000001 |
#define DI_ROPS_READ_DESTINATION 0x00000002 | | #define DI_ROPS_READ_DESTINATION 0x00000002 |
#endif /* WINVER >= 0x0400 */ | | #endif /* WINVER >= 0x0400 */ |
| | |
|
WINGDIAPI int WINAPI StartDocA(__in HDC hdc, __in CONST DOCINFOA *lpdi); | | __gdi_entry WINGDIAPI int WINAPI StartDocA(__in HDC hdc, __in CONST DOCINFOA *lp |
WINGDIAPI int WINAPI StartDocW(__in HDC hdc, __in CONST DOCINFOW *lpdi); | | di); |
| | __gdi_entry WINGDIAPI int WINAPI StartDocW(__in HDC hdc, __in CONST DOCINFOW *lp |
| | di); |
#ifdef UNICODE | | #ifdef UNICODE |
#define StartDoc StartDocW | | #define StartDoc StartDocW |
#else | | #else |
#define StartDoc StartDocA | | #define StartDoc StartDocA |
#endif // !UNICODE | | #endif // !UNICODE |
|
WINGDIAPI int WINAPI EndDoc(__in HDC hdc); | | __gdi_entry WINGDIAPI int WINAPI EndDoc(__in HDC hdc); |
WINGDIAPI int WINAPI StartPage(__in HDC hdc); | | __gdi_entry WINGDIAPI int WINAPI StartPage(__in HDC hdc); |
WINGDIAPI int WINAPI EndPage(__in HDC hdc); | | __gdi_entry WINGDIAPI int WINAPI EndPage(__in HDC hdc); |
WINGDIAPI int WINAPI AbortDoc(__in HDC hdc); | | __gdi_entry WINGDIAPI int WINAPI AbortDoc(__in HDC hdc); |
WINGDIAPI int WINAPI SetAbortProc(__in HDC hdc, __in ABORTPROC proc); | | WINGDIAPI int WINAPI SetAbortProc(__in HDC hdc, __in ABORTPROC proc); |
| | |
WINGDIAPI BOOL WINAPI AbortPath(__in HDC hdc); | | WINGDIAPI BOOL WINAPI AbortPath(__in HDC hdc); |
WINGDIAPI BOOL WINAPI ArcTo(__in HDC hdc, __in int left, __in int top, __in int
right, __in int bottom, __in int xr1, __in int yr1, __in int xr2, __in int yr2); | | WINGDIAPI BOOL WINAPI ArcTo(__in HDC hdc, __in int left, __in int top, __in int
right, __in int bottom, __in int xr1, __in int yr1, __in int xr2, __in int yr2); |
WINGDIAPI BOOL WINAPI BeginPath(__in HDC hdc); | | WINGDIAPI BOOL WINAPI BeginPath(__in HDC hdc); |
WINGDIAPI BOOL WINAPI CloseFigure(__in HDC hdc); | | WINGDIAPI BOOL WINAPI CloseFigure(__in HDC hdc); |
WINGDIAPI BOOL WINAPI EndPath(__in HDC hdc); | | WINGDIAPI BOOL WINAPI EndPath(__in HDC hdc); |
WINGDIAPI BOOL WINAPI FillPath(__in HDC hdc); | | WINGDIAPI BOOL WINAPI FillPath(__in HDC hdc); |
WINGDIAPI BOOL WINAPI FlattenPath(__in HDC hdc); | | WINGDIAPI BOOL WINAPI FlattenPath(__in HDC hdc); |
WINGDIAPI int WINAPI GetPath(__in HDC hdc, __out_ecount(cpt) LPPOINT apt, __out
_ecount(cpt) LPBYTE aj, int cpt); | | WINGDIAPI int WINAPI GetPath(__in HDC hdc, __out_ecount(cpt) LPPOINT apt, __out
_ecount(cpt) LPBYTE aj, int cpt); |
| | |
skipping to change at line 3944 | | skipping to change at line 4143 |
int c, | | int c, |
LPVOID pv | | LPVOID pv |
) | | ) |
{ | | { |
#ifdef UNICODE | | #ifdef UNICODE |
return GetObjectW( | | return GetObjectW( |
#else | | #else |
return GetObjectA( | | return GetObjectA( |
#endif | | #endif |
h, | | h, |
|
c, | | c, |
pv | | pv |
); | | ); |
} | | } |
|
#endif /* _M_CEE */ | | #endif /* _M_CEE */ |
| | |
|
WINGDIAPI BOOL WINAPI MoveToEx( __in HDC hdc, __in int x, __in int y, __out_opt | | __gdi_entry WINGDIAPI BOOL WINAPI MoveToEx( __in HDC hdc, __in int x, __in int |
LPPOINT lppt); | | y, __out_opt LPPOINT lppt); |
WINGDIAPI BOOL WINAPI TextOutA( __in HDC hdc, __in int x, __in int y, __in_ecou | | __gdi_entry WINGDIAPI BOOL WINAPI TextOutA( __in HDC hdc, __in int x, __in int |
nt(c) LPCSTR lpString, __in int c); | | y, __in_ecount(c) LPCSTR lpString, __in int c); |
WINGDIAPI BOOL WINAPI TextOutW( __in HDC hdc, __in int x, __in int y, __in_ecou | | __gdi_entry WINGDIAPI BOOL WINAPI TextOutW( __in HDC hdc, __in int x, __in int |
nt(c) LPCWSTR lpString, __in int c); | | y, __in_ecount(c) LPCWSTR lpString, __in int c); |
#ifdef UNICODE | | #ifdef UNICODE |
#define TextOut TextOutW | | #define TextOut TextOutW |
#else | | #else |
#define TextOut TextOutA | | #define TextOut TextOutA |
#endif // !UNICODE | | #endif // !UNICODE |
|
WINGDIAPI BOOL WINAPI ExtTextOutA( __in HDC hdc, __in int x, __in int y, __in UI | | __gdi_entry WINGDIAPI BOOL WINAPI ExtTextOutA( __in HDC hdc, __in int x, __in i |
NT options, __in_opt CONST RECT * lprect, __in_ecount(c) LPCSTR lpString, __in U | | nt y, __in UINT options, __in_opt CONST RECT * lprect, __in_ecount_opt(c) LPCSTR |
INT c, __in_ecount_opt(c) CONST INT * lpDx); | | lpString, __in UINT c, __in_ecount_opt(c) CONST INT * lpDx); |
WINGDIAPI BOOL WINAPI ExtTextOutW( __in HDC hdc, __in int x, __in int y, __in UI | | __gdi_entry WINGDIAPI BOOL WINAPI ExtTextOutW( __in HDC hdc, __in int x, __in i |
NT options, __in_opt CONST RECT * lprect, __in_ecount(c) LPCWSTR lpString, __in | | nt y, __in UINT options, __in_opt CONST RECT * lprect, __in_ecount_opt(c) LPCWST |
UINT c, __in_ecount_opt(c) CONST INT * lpDx); | | R lpString, __in UINT c, __in_ecount_opt(c) CONST INT * lpDx); |
#ifdef UNICODE | | #ifdef UNICODE |
#define ExtTextOut ExtTextOutW | | #define ExtTextOut ExtTextOutW |
#else | | #else |
#define ExtTextOut ExtTextOutA | | #define ExtTextOut ExtTextOutA |
#endif // !UNICODE | | #endif // !UNICODE |
WINGDIAPI BOOL WINAPI PolyTextOutA(__in HDC hdc, __in_ecount(nstrings) CONST PO
LYTEXTA * ppt, __in int nstrings); | | WINGDIAPI BOOL WINAPI PolyTextOutA(__in HDC hdc, __in_ecount(nstrings) CONST PO
LYTEXTA * ppt, __in int nstrings); |
WINGDIAPI BOOL WINAPI PolyTextOutW(__in HDC hdc, __in_ecount(nstrings) CONST PO
LYTEXTW * ppt, __in int nstrings); | | WINGDIAPI BOOL WINAPI PolyTextOutW(__in HDC hdc, __in_ecount(nstrings) CONST PO
LYTEXTW * ppt, __in int nstrings); |
#ifdef UNICODE | | #ifdef UNICODE |
#define PolyTextOut PolyTextOutW | | #define PolyTextOut PolyTextOutW |
#else | | #else |
#define PolyTextOut PolyTextOutA | | #define PolyTextOut PolyTextOutA |
#endif // !UNICODE | | #endif // !UNICODE |
| | |
WINGDIAPI HRGN WINAPI CreatePolygonRgn( __in_ecount(cPoint) CONST POINT *ppt
l, | | WINGDIAPI HRGN WINAPI CreatePolygonRgn( __in_ecount(cPoint) CONST POINT *ppt
l, |
__in int cPoint, | | __in int cPoint, |
__in int iMode); | | __in int iMode); |
WINGDIAPI BOOL WINAPI DPtoLP( __in HDC hdc, __inout_ecount(c) LPPOINT lppt, __i
n int c); | | WINGDIAPI BOOL WINAPI DPtoLP( __in HDC hdc, __inout_ecount(c) LPPOINT lppt, __i
n int c); |
WINGDIAPI BOOL WINAPI LPtoDP( __in HDC hdc, __inout_ecount(c) LPPOINT lppt, __i
n int c); | | WINGDIAPI BOOL WINAPI LPtoDP( __in HDC hdc, __inout_ecount(c) LPPOINT lppt, __i
n int c); |
|
WINGDIAPI BOOL WINAPI Polygon(__in HDC hdc, __in_ecount(cpt) CONST POINT *apt, | | __gdi_entry WINGDIAPI BOOL WINAPI Polygon(__in HDC hdc, __in_ecount(cpt) CONST |
__in int cpt); | | POINT *apt, __in int cpt); |
WINGDIAPI BOOL WINAPI Polyline(__in HDC hdc, __in_ecount(cpt) CONST POINT *apt, | | __gdi_entry WINGDIAPI BOOL WINAPI Polyline(__in HDC hdc, __in_ecount(cpt) CONST |
__in int cpt); | | POINT *apt, __in int cpt); |
| | |
WINGDIAPI BOOL WINAPI PolyBezier(__in HDC hdc, __in_ecount(cpt) CONST POINT * a
pt, __in DWORD cpt); | | WINGDIAPI BOOL WINAPI PolyBezier(__in HDC hdc, __in_ecount(cpt) CONST POINT * a
pt, __in DWORD cpt); |
WINGDIAPI BOOL WINAPI PolyBezierTo(__in HDC hdc, __in_ecount(cpt) CONST POINT *
apt, __in DWORD cpt); | | WINGDIAPI BOOL WINAPI PolyBezierTo(__in HDC hdc, __in_ecount(cpt) CONST POINT *
apt, __in DWORD cpt); |
WINGDIAPI BOOL WINAPI PolylineTo(__in HDC hdc, __in_ecount(cpt) CONST POINT * a
pt, __in DWORD cpt); | | WINGDIAPI BOOL WINAPI PolylineTo(__in HDC hdc, __in_ecount(cpt) CONST POINT * a
pt, __in DWORD cpt); |
| | |
|
WINGDIAPI BOOL WINAPI SetViewportExtEx( __in HDC hdc, __in int x, __in int y, _ | | __gdi_entry WINGDIAPI BOOL WINAPI SetViewportExtEx( __in HDC hdc, __in int x, _ |
_out_opt LPSIZE lpsz); | | _in int y, __out_opt LPSIZE lpsz); |
WINGDIAPI BOOL WINAPI SetViewportOrgEx( __in HDC hdc, __in int x, __in int y, _ | | __gdi_entry WINGDIAPI BOOL WINAPI SetViewportOrgEx( __in HDC hdc, __in int x, _ |
_out_opt LPPOINT lppt); | | _in int y, __out_opt LPPOINT lppt); |
WINGDIAPI BOOL WINAPI SetWindowExtEx( __in HDC hdc, __in int x, __in int y, __o | | __gdi_entry WINGDIAPI BOOL WINAPI SetWindowExtEx( __in HDC hdc, __in int x, __i |
ut_opt LPSIZE lpsz); | | n int y, __out_opt LPSIZE lpsz); |
WINGDIAPI BOOL WINAPI SetWindowOrgEx( __in HDC hdc, __in int x, __in int y, __o | | __gdi_entry WINGDIAPI BOOL WINAPI SetWindowOrgEx( __in HDC hdc, __in int x, __i |
ut_opt LPPOINT lppt); | | n int y, __out_opt LPPOINT lppt); |
| | |
|
WINGDIAPI BOOL WINAPI OffsetViewportOrgEx( __in HDC hdc, __in int x, __in int y | | __gdi_entry WINGDIAPI BOOL WINAPI OffsetViewportOrgEx( __in HDC hdc, __in int x |
, __out_opt LPPOINT lppt); | | , __in int y, __out_opt LPPOINT lppt); |
WINGDIAPI BOOL WINAPI OffsetWindowOrgEx( __in HDC hdc, __in int x, __in int y, | | __gdi_entry WINGDIAPI BOOL WINAPI OffsetWindowOrgEx( __in HDC hdc, __in int x, |
__out_opt LPPOINT lppt); | | __in int y, __out_opt LPPOINT lppt); |
WINGDIAPI BOOL WINAPI ScaleViewportExtEx( __in HDC hdc, __in int xn, __in int d | | __gdi_entry WINGDIAPI BOOL WINAPI ScaleViewportExtEx( __in HDC hdc, __in int xn |
x, __in int yn, __in int yd, __out_opt LPSIZE lpsz); | | , __in int dx, __in int yn, __in int yd, __out_opt LPSIZE lpsz); |
WINGDIAPI BOOL WINAPI ScaleWindowExtEx( __in HDC hdc, __in int xn, __in int xd, | | __gdi_entry WINGDIAPI BOOL WINAPI ScaleWindowExtEx( __in HDC hdc, __in int xn, |
__in int yn, __in int yd, __out_opt LPSIZE lpsz); | | __in int xd, __in int yn, __in int yd, __out_opt LPSIZE lpsz); |
WINGDIAPI BOOL WINAPI SetBitmapDimensionEx( __in HBITMAP hbm, __in int w, __in
int h, __out_opt LPSIZE lpsz); | | WINGDIAPI BOOL WINAPI SetBitmapDimensionEx( __in HBITMAP hbm, __in int w, __in
int h, __out_opt LPSIZE lpsz); |
WINGDIAPI BOOL WINAPI SetBrushOrgEx( __in HDC hdc, __in int x, __in int y, __ou
t_opt LPPOINT lppt); | | WINGDIAPI BOOL WINAPI SetBrushOrgEx( __in HDC hdc, __in int x, __in int y, __ou
t_opt LPPOINT lppt); |
| | |
WINGDIAPI int WINAPI GetTextFaceA( __in HDC hdc, __in int c, __out_ecount_part
_opt(c, return) LPSTR lpName); | | WINGDIAPI int WINAPI GetTextFaceA( __in HDC hdc, __in int c, __out_ecount_part
_opt(c, return) LPSTR lpName); |
WINGDIAPI int WINAPI GetTextFaceW( __in HDC hdc, __in int c, __out_ecount_part
_opt(c, return) LPWSTR lpName); | | WINGDIAPI int WINAPI GetTextFaceW( __in HDC hdc, __in int c, __out_ecount_part
_opt(c, return) LPWSTR lpName); |
#ifdef UNICODE | | #ifdef UNICODE |
#define GetTextFace GetTextFaceW | | #define GetTextFace GetTextFaceW |
#else | | #else |
#define GetTextFace GetTextFaceA | | #define GetTextFace GetTextFaceA |
#endif // !UNICODE | | #endif // !UNICODE |
| | |
skipping to change at line 4029 | | skipping to change at line 4228 |
#ifdef UNICODE | | #ifdef UNICODE |
#define GetKerningPairs GetKerningPairsW | | #define GetKerningPairs GetKerningPairsW |
#else | | #else |
#define GetKerningPairs GetKerningPairsA | | #define GetKerningPairs GetKerningPairsA |
#endif // !UNICODE | | #endif // !UNICODE |
| | |
WINGDIAPI BOOL WINAPI GetDCOrgEx( __in HDC hdc, __out LPPOINT lppt); | | WINGDIAPI BOOL WINAPI GetDCOrgEx( __in HDC hdc, __out LPPOINT lppt); |
WINGDIAPI BOOL WINAPI FixBrushOrgEx( __in HDC hdc, __in int x, __in int y, __i
n_opt LPPOINT ptl); | | WINGDIAPI BOOL WINAPI FixBrushOrgEx( __in HDC hdc, __in int x, __in int y, __i
n_opt LPPOINT ptl); |
WINGDIAPI BOOL WINAPI UnrealizeObject( __in HGDIOBJ h); | | WINGDIAPI BOOL WINAPI UnrealizeObject( __in HGDIOBJ h); |
| | |
|
WINGDIAPI BOOL WINAPI GdiFlush(); | | WINGDIAPI BOOL WINAPI GdiFlush(void); |
WINGDIAPI DWORD WINAPI GdiSetBatchLimit( __in DWORD dw); | | WINGDIAPI DWORD WINAPI GdiSetBatchLimit( __in DWORD dw); |
|
WINGDIAPI DWORD WINAPI GdiGetBatchLimit(); | | WINGDIAPI DWORD WINAPI GdiGetBatchLimit(void); |
| | |
#if(WINVER >= 0x0400) | | #if(WINVER >= 0x0400) |
| | |
#define ICM_OFF 1 | | #define ICM_OFF 1 |
#define ICM_ON 2 | | #define ICM_ON 2 |
#define ICM_QUERY 3 | | #define ICM_QUERY 3 |
#define ICM_DONE_OUTSIDEDC 4 | | #define ICM_DONE_OUTSIDEDC 4 |
| | |
typedef int (CALLBACK* ICMENUMPROCA)(LPSTR, LPARAM); | | typedef int (CALLBACK* ICMENUMPROCA)(LPSTR, LPARAM); |
typedef int (CALLBACK* ICMENUMPROCW)(LPWSTR, LPARAM); | | typedef int (CALLBACK* ICMENUMPROCW)(LPWSTR, LPARAM); |
#ifdef UNICODE | | #ifdef UNICODE |
#define ICMENUMPROC ICMENUMPROCW | | #define ICMENUMPROC ICMENUMPROCW |
#else | | #else |
#define ICMENUMPROC ICMENUMPROCA | | #define ICMENUMPROC ICMENUMPROCA |
#endif // !UNICODE | | #endif // !UNICODE |
| | |
WINGDIAPI int WINAPI SetICMMode( __in HDC hdc, __in int mode); | | WINGDIAPI int WINAPI SetICMMode( __in HDC hdc, __in int mode); |
WINGDIAPI BOOL WINAPI CheckColorsInGamut( __in HDC hdc, | | WINGDIAPI BOOL WINAPI CheckColorsInGamut( __in HDC hdc, |
|
__in_ecount(nCount) __typefi
x(LPRGBTRIPLE) LPVOID lpRGBTriple, | | __in_ecount(nCount) LPRGBTRI
PLE lpRGBTriple, |
__out_bcount(nCount) LPVOID
dlpBuffer, | | __out_bcount(nCount) LPVOID
dlpBuffer, |
__in DWORD nCount); | | __in DWORD nCount); |
| | |
WINGDIAPI HCOLORSPACE WINAPI GetColorSpace( __in HDC hdc); | | WINGDIAPI HCOLORSPACE WINAPI GetColorSpace( __in HDC hdc); |
WINGDIAPI BOOL WINAPI GetLogColorSpaceA( __in HCOLORSPACE hColorSpace, | | WINGDIAPI BOOL WINAPI GetLogColorSpaceA( __in HCOLORSPACE hColorSpace, |
__out_bcount(nSize) LPLOGCOLORSP
ACEA lpBuffer, | | __out_bcount(nSize) LPLOGCOLORSP
ACEA lpBuffer, |
__in DWORD nSize); | | __in DWORD nSize); |
WINGDIAPI BOOL WINAPI GetLogColorSpaceW( __in HCOLORSPACE hColorSpace, | | WINGDIAPI BOOL WINAPI GetLogColorSpaceW( __in HCOLORSPACE hColorSpace, |
__out_bcount(nSize) LPLOGCOLORSP
ACEW lpBuffer, | | __out_bcount(nSize) LPLOGCOLORSP
ACEW lpBuffer, |
__in DWORD nSize); | | __in DWORD nSize); |
| | |
skipping to change at line 4076 | | skipping to change at line 4275 |
| | |
WINGDIAPI HCOLORSPACE WINAPI CreateColorSpaceA( __in LPLOGCOLORSPACEA lplcs); | | WINGDIAPI HCOLORSPACE WINAPI CreateColorSpaceA( __in LPLOGCOLORSPACEA lplcs); |
WINGDIAPI HCOLORSPACE WINAPI CreateColorSpaceW( __in LPLOGCOLORSPACEW lplcs); | | WINGDIAPI HCOLORSPACE WINAPI CreateColorSpaceW( __in LPLOGCOLORSPACEW lplcs); |
#ifdef UNICODE | | #ifdef UNICODE |
#define CreateColorSpace CreateColorSpaceW | | #define CreateColorSpace CreateColorSpaceW |
#else | | #else |
#define CreateColorSpace CreateColorSpaceA | | #define CreateColorSpace CreateColorSpaceA |
#endif // !UNICODE | | #endif // !UNICODE |
WINGDIAPI HCOLORSPACE WINAPI SetColorSpace( __in HDC hdc, __in HCOLORSPACE hcs); | | WINGDIAPI HCOLORSPACE WINAPI SetColorSpace( __in HDC hdc, __in HCOLORSPACE hcs); |
WINGDIAPI BOOL WINAPI DeleteColorSpace( __in HCOLORSPACE hcs); | | WINGDIAPI BOOL WINAPI DeleteColorSpace( __in HCOLORSPACE hcs); |
|
WINGDIAPI BOOL WINAPI GetICMProfileA( __in HDC hdc, | | WINGDIAPI BOOL WINAPI GetICMProfileA( __in HDC hdc, |
__inout LPDWORD pBufSize, | | __inout LPDWORD pBufSize, |
__out_ecount_opt(*pBufSize) LPST
R pszFilename); | | __out_ecount_opt(*pBufSize) LPST
R pszFilename); |
|
WINGDIAPI BOOL WINAPI GetICMProfileW( __in HDC hdc, | | WINGDIAPI BOOL WINAPI GetICMProfileW( __in HDC hdc, |
__inout LPDWORD pBufSize, | | __inout LPDWORD pBufSize, |
__out_ecount_opt(*pBufSize) LPWS
TR pszFilename); | | __out_ecount_opt(*pBufSize) LPWS
TR pszFilename); |
#ifdef UNICODE | | #ifdef UNICODE |
#define GetICMProfile GetICMProfileW | | #define GetICMProfile GetICMProfileW |
#else | | #else |
#define GetICMProfile GetICMProfileA | | #define GetICMProfile GetICMProfileA |
#endif // !UNICODE | | #endif // !UNICODE |
| | |
WINGDIAPI BOOL WINAPI SetICMProfileA( __in HDC hdc, __in LPSTR lpFileName
); | | WINGDIAPI BOOL WINAPI SetICMProfileA( __in HDC hdc, __in LPSTR lpFileName
); |
WINGDIAPI BOOL WINAPI SetICMProfileW( __in HDC hdc, __in LPWSTR lpFileNam
e); | | WINGDIAPI BOOL WINAPI SetICMProfileW( __in HDC hdc, __in LPWSTR lpFileNam
e); |
| | |
skipping to change at line 4105 | | skipping to change at line 4304 |
WINGDIAPI BOOL WINAPI GetDeviceGammaRamp( __in HDC hdc, __out_bcount(3*25
6*2) LPVOID lpRamp); | | WINGDIAPI BOOL WINAPI GetDeviceGammaRamp( __in HDC hdc, __out_bcount(3*25
6*2) LPVOID lpRamp); |
WINGDIAPI BOOL WINAPI SetDeviceGammaRamp( __in HDC hdc, __in_bcount(3*256
*2) LPVOID lpRamp); | | WINGDIAPI BOOL WINAPI SetDeviceGammaRamp( __in HDC hdc, __in_bcount(3*256
*2) LPVOID lpRamp); |
WINGDIAPI BOOL WINAPI ColorMatchToTarget( __in HDC hdc, __in HDC hdcTarge
t, __in DWORD action); | | WINGDIAPI BOOL WINAPI ColorMatchToTarget( __in HDC hdc, __in HDC hdcTarge
t, __in DWORD action); |
WINGDIAPI int WINAPI EnumICMProfilesA( __in HDC hdc, __in ICMENUMPROCA p
roc, __in_opt LPARAM param); | | WINGDIAPI int WINAPI EnumICMProfilesA( __in HDC hdc, __in ICMENUMPROCA p
roc, __in_opt LPARAM param); |
WINGDIAPI int WINAPI EnumICMProfilesW( __in HDC hdc, __in ICMENUMPROCW p
roc, __in_opt LPARAM param); | | WINGDIAPI int WINAPI EnumICMProfilesW( __in HDC hdc, __in ICMENUMPROCW p
roc, __in_opt LPARAM param); |
#ifdef UNICODE | | #ifdef UNICODE |
#define EnumICMProfiles EnumICMProfilesW | | #define EnumICMProfiles EnumICMProfilesW |
#else | | #else |
#define EnumICMProfiles EnumICMProfilesA | | #define EnumICMProfiles EnumICMProfilesA |
#endif // !UNICODE | | #endif // !UNICODE |
|
WINGDIAPI BOOL WINAPI UpdateICMRegKeyA( __reserved DWORD reserved, __in LP | | // The Win95 update API UpdateICMRegKeyA is deprecated to set last error to ERRO |
STR lpszCMID, __in LPSTR lpszFileName, __in UINT command); | | R_NOT_SUPPORTED and return FALSE |
WINGDIAPI BOOL WINAPI UpdateICMRegKeyW( __reserved DWORD reserved, __in LP | | WINGDIAPI BOOL WINAPI UpdateICMRegKeyA( __reserved DWORD reserved, __in L |
WSTR lpszCMID, __in LPWSTR lpszFileName, __in UINT command); | | PSTR lpszCMID, __in LPSTR lpszFileName, __in UINT command); |
| | // The Win95 update API UpdateICMRegKeyW is deprecated to set last error to ERRO |
| | R_NOT_SUPPORTED and return FALSE |
| | WINGDIAPI BOOL WINAPI UpdateICMRegKeyW( __reserved DWORD reserved, __in L |
| | PWSTR lpszCMID, __in LPWSTR lpszFileName, __in UINT command); |
#ifdef UNICODE | | #ifdef UNICODE |
#define UpdateICMRegKey UpdateICMRegKeyW | | #define UpdateICMRegKey UpdateICMRegKeyW |
#else | | #else |
#define UpdateICMRegKey UpdateICMRegKeyA | | #define UpdateICMRegKey UpdateICMRegKeyA |
#endif // !UNICODE | | #endif // !UNICODE |
|
| | #pragma deprecated (UpdateICMRegKeyW) |
| | #pragma deprecated (UpdateICMRegKeyA) |
| | |
#endif /* WINVER >= 0x0400 */ | | #endif /* WINVER >= 0x0400 */ |
| | |
#if (WINVER >= 0x0500) | | #if (WINVER >= 0x0500) |
WINGDIAPI BOOL WINAPI ColorCorrectPalette( __in HDC hdc, __in HPALETTE hP
al, __in DWORD deFirst, __in DWORD num); | | WINGDIAPI BOOL WINAPI ColorCorrectPalette( __in HDC hdc, __in HPALETTE hP
al, __in DWORD deFirst, __in DWORD num); |
#endif | | #endif |
| | |
#ifndef NOMETAFILE | | #ifndef NOMETAFILE |
| | |
// Enhanced metafile constants. | | // Enhanced metafile constants. |
| | |
| | |
skipping to change at line 4258 | | skipping to change at line 4462 |
#define EMR_RESERVED_107 107 | | #define EMR_RESERVED_107 107 |
#define EMR_RESERVED_108 108 | | #define EMR_RESERVED_108 108 |
#define EMR_RESERVED_109 109 | | #define EMR_RESERVED_109 109 |
#define EMR_RESERVED_110 110 | | #define EMR_RESERVED_110 110 |
#define EMR_COLORCORRECTPALETTE 111 | | #define EMR_COLORCORRECTPALETTE 111 |
#define EMR_SETICMPROFILEA 112 | | #define EMR_SETICMPROFILEA 112 |
#define EMR_SETICMPROFILEW 113 | | #define EMR_SETICMPROFILEW 113 |
#define EMR_ALPHABLEND 114 | | #define EMR_ALPHABLEND 114 |
#define EMR_SETLAYOUT 115 | | #define EMR_SETLAYOUT 115 |
#define EMR_TRANSPARENTBLT 116 | | #define EMR_TRANSPARENTBLT 116 |
|
| | #if (_WIN32_WINNT >= _WIN32_WINNT_WIN2K) |
#define EMR_RESERVED_117 117 | | #define EMR_RESERVED_117 117 |
|
| | #endif // (_WIN32_WINNT >= _WIN32_WINNT_WIN2K) |
#define EMR_GRADIENTFILL 118 | | #define EMR_GRADIENTFILL 118 |
#define EMR_RESERVED_119 119 | | #define EMR_RESERVED_119 119 |
#define EMR_RESERVED_120 120 | | #define EMR_RESERVED_120 120 |
#define EMR_COLORMATCHTOTARGETW 121 | | #define EMR_COLORMATCHTOTARGETW 121 |
#define EMR_CREATECOLORSPACEW 122 | | #define EMR_CREATECOLORSPACEW 122 |
#endif /* WINVER >= 0x0500 */ | | #endif /* WINVER >= 0x0500 */ |
| | |
#define EMR_MIN 1 | | #define EMR_MIN 1 |
| | |
#if (WINVER >= 0x0500) | | #if (WINVER >= 0x0500) |
| | |
End of changes. 115 change blocks. |
186 lines changed or deleted | | 421 lines changed or added |
|