Table of Contents

Struct MswUtils.NativeMethods.WindowCompositionAttributeData

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

Represents data used with SetWindowCompositionAttribute(nint, ref WindowCompositionAttributeData) to set a specific window composition attribute.

public readonly struct MswUtils.NativeMethods.WindowCompositionAttributeData

Remarks

The attribute field specifies which composition attribute is being set. The data field is a pointer to the attribute value, and size is the size, in bytes, of that value. This structure should be marshaled exactly as defined when passed to native APIs.

Constructors

WindowCompositionAttributeData(WindowCompositionAttribute, nint, int)

Initializes a new instance of the MswUtils.NativeMethods.WindowCompositionAttributeData structure.

Fields

attribute

The composition attribute to get or set.

data

Pointer to the data for the attribute. The interpretation depends on attribute.

size

Size, in bytes, of the data pointed to by data.