Table of Contents

Struct MswUtils.NativeMethods.HighContrastData

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

Contains data used by SystemParametersInfo(uint, uint, ref HighContrastData, uint) for high contrast settings.

public readonly struct MswUtils.NativeMethods.HighContrastData

Remarks

This structure maps to the native HIGHCONTRAST structure. The size field must be initialized to the size of this structure (in bytes) before calling native APIs.

Constructors

HighContrastData(object?)

Initializes a new instance of the MswUtils.NativeMethods.HighContrastData structure with default values.

Fields

flags

Flags that specify the high-contrast options. The meaning of the bits corresponds to the native HIGHCONTRAST flags.

schemeNamePointer

Pointer to a null-terminated string that contains the name of the high-contrast color scheme. This is typically Zero when not used.

size

Size of this structure, in bytes. This is initialized in the constructor to SizeOf(Type).