Share via


2.2.2.4.6 Accent Color System Information Structure (TS_ACCENTCOLOR)

The TS_ACCENTCOLOR structure defines parameters for the accent color accessibility feature.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

FieldsValidFlags

AccentColor

ColorizationColor

ColorizationColorBalance

ColorizationAfterglow

ColorizationAfterglowBalance

ColorizationBlurBalance

ColorizationGlassAttribute

ColorPrevalence

EnableWindowColorization

AccentColorMenu

StartColorMenu

AccentPaletteLength

AccentPalette (variable)

...

...

...

FieldsValidFlags (4 bytes): An unsigned, 32-bit integer that is read by the server and used to indicate what fields in the rest of the TS_ACCENTCOLOR structure are valid.

Flag

Meaning

RACF_ACCENT_COLOR

0x00000001

The AccentColor field is valid.

RACF_COLORIZATION_COLOR

0x00000002

The ColorizationColor field is valid.

RACF_COLORIZATION_COLOR_BALANCE

0x00000004

The ColorizationColorBalance field is valid.

RACF_COLORIZATION_AFTERGLOW

0x00000008

The ColorizationAfterglow field is valid.

RACF_COLORIZATION_AFTERGLOW_BALANCE

0x00000010

The ColorizationAfterglowBalance field is valid.

RACF_COLORIZATION_BLUR_BALANCE

0x00000020

The ColorizationBlurBalance field is valid.

RACF_COLORIZATION_GLASS_ATTRIBUTE

0x00000040

The ColorizationGlassAttribute field is valid.

RACF_COLOR_PREVALENCE

0x00000080

The ColorPrevalence field is valid.

RACF_ENABLE_WINDOW_COLORIZATION

0x00000100

The EnableWindowColorization field is valid.

RACF_ACCENT_COLOR_MENU

0x00000200

The AccentColorMenu field is valid.

RACF_ACCENT_PALETTE

0x00000800

The AccentPaletteLength and AccentPalette fields are valid.

AccentColor (4 bytes): An unsigned, 32-bit integer. The Windows-specific name of the registry value under HKEY_CURRENT_USER\Software\Microsoft\Windows\DWM.

ColorizationColor (4 bytes): An unsigned, 32-bit integer. The Windows-specific name of the registry value under HKEY_CURRENT_USER\Software\Microsoft\Windows\DWM.

ColorizationColorBalance (4 bytes): An unsigned, 32-bit integer. The Windows-specific name of the registry value under HKEY_CURRENT_USER\Software\Microsoft\Windows\DWM.

ColorizationAfterglow (4 bytes): An unsigned, 32-bit integer. The Windows-specific name of the registry value under HKEY_CURRENT_USER\Software\Microsoft\Windows\DWM.

ColorizationAfterglowBalance (4 bytes): An unsigned, 32-bit integer. The Windows-specific name of the registry value under HKEY_CURRENT_USER\Software\Microsoft\Windows\DWM.

ColorizationBlurBalance (4 bytes): An unsigned, 32-bit integer. The Windows-specific name of the registry value under HKEY_CURRENT_USER\Software\Microsoft\Windows\DWM.

ColorizationGlassAttribute (4 bytes): An unsigned, 32-bit integer. The Windows-specific name of the registry value under HKEY_CURRENT_USER\Software\Microsoft\Windows\DWM.

ColorPrevalence (4 bytes): An unsigned, 32-bit integer. The Windows-specific name of the registry value under HKEY_CURRENT_USER\Software\Microsoft\Windows\DWM.

EnableWindowColorization (4 bytes): An unsigned, 32-bit integer. The Windows-specific name of the registry value under HKEY_CURRENT_USER\Software\Microsoft\Windows\DWM.

AccentColorMenu (4 bytes): An unsigned, 32-bit integer. The Windows-specific name of the registry value under HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Accent.

StartColorMenu (4 bytes): An unsigned, 32-bit integer. The Windows-specific name of the registry value under HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Accent.

AccentPaletteLength (4 bytes): An unsigned, 32-bit integer. The length, in bytes, of the AccentPalette field.

AccentPalette (variable): An unsigned, 32-bit integer. The Windows-specific name of the registry value under HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Accent.