Table of Contents

Struct DmabufError

Namespace
Gdk
Assembly
Gdk-4.0.dll

Contains all error codes of the DmabufError error-domain.

public readonly ref struct DmabufError
Inherited Members

Constructors

DmabufError(int)

Creates a new error in the DmabufError domain with a given error code.

public DmabufError(int errorCode)

Parameters

errorCode int

A specific error code of the domain

Properties

Any

Can be used to match a GException with any error code of the "DmabufError" error-domain.

public static Quark Any { get; }

Property Value

Quark

CreationFailed

Can be used to match a GException with the "CreationFailed" code (2).

public static DmabufError CreationFailed { get; }

Property Value

DmabufError

NotAvailable

Can be used to match a GException with the "NotAvailable" code (0).

public static DmabufError NotAvailable { get; }

Property Value

DmabufError

UnsupportedFormat

Can be used to match a GException with the "UnsupportedFormat" code (1).

public static DmabufError UnsupportedFormat { get; }

Property Value

DmabufError

Operators

implicit operator ErrorCode(DmabufError)

Converts a DmabufError into a ErrorCode which can be used to match a GException.

public static implicit operator ErrorCode(DmabufError e)

Parameters

e DmabufError

Returns

ErrorCode