Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
0e32a2bf
Commit
0e32a2bf
authored
Dec 02, 2002
by
Ove Kaaven
Committed by
Alexandre Julliard
Dec 02, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Protect PALETTEENTRY and LOGPALETTE with #ifndefs.
parent
74214252
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
wingdi.h
include/wingdi.h
+6
-0
No files found.
include/wingdi.h
View file @
0e32a2bf
...
...
@@ -1388,22 +1388,28 @@ typedef struct
#define SYSPAL_STATIC 1
#define SYSPAL_NOSTATIC 2
#ifndef _PALETTEENTRY_DEFINED
#define _PALETTEENTRY_DEFINED
typedef
struct
tagPALETTEENTRY
{
BYTE
peRed
,
peGreen
,
peBlue
,
peFlags
;
}
PALETTEENTRY
,
*
PPALETTEENTRY
,
*
LPPALETTEENTRY
;
#endif
/* Logical palette entry flags */
#define PC_RESERVED 0x01
#define PC_EXPLICIT 0x02
#define PC_NOCOLLAPSE 0x04
#ifndef _LOGPALETTE_DEFINED
#define _LOGPALETTE_DEFINED
typedef
struct
tagLOGPALETTE
{
WORD
palVersion
;
WORD
palNumEntries
;
PALETTEENTRY
palPalEntry
[
1
];
}
LOGPALETTE
,
*
PLOGPALETTE
,
*
LPLOGPALETTE
,
*
NPLOGPALETTE
;
#endif
/* Pens */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment