Table of Contents

Struct UnmanagedExportInfo

Namespace
AsmResolver.DotNet
Assembly
AsmResolver.DotNet.dll

Provides information about how a method should be exported as an unmanaged symbol in the final PE file.

public readonly struct UnmanagedExportInfo
Inherited Members

Constructors

UnmanagedExportInfo(string, VTableType)

Creates a new instance of the export information, exporting the method by name.

public UnmanagedExportInfo(string name, VTableType vTableType)

Parameters

name string

The unmanaged name, as it appears in the export directory.

vTableType VTableType

The type of VTable fixup to apply.

UnmanagedExportInfo(uint, VTableType)

Creates a new instance of the export information, exporting the method by ordinal.

public UnmanagedExportInfo(uint ordinal, VTableType vTableType)

Parameters

ordinal uint

The ordinal.

vTableType VTableType

The type of VTable fixup to apply.

UnmanagedExportInfo(uint, string, VTableType)

Creates a new instance of the export information, exporting the method by name.

public UnmanagedExportInfo(uint ordinal, string name, VTableType vTableType)

Parameters

ordinal uint

The new ordinal to use.

name string

The unmanaged name, as it appears in the export directory.

vTableType VTableType

The type of VTable fixup to apply.

Properties

HasFixedOrdinal

Gets a value indicating whether the export is fixed to an ordinal.

public bool HasFixedOrdinal { get; }

Property Value

bool

IsByName

Gets a value indicating whether the method is exported by name.

public bool IsByName { get; }

Property Value

bool

IsByOrdinal

Gets a value indicating whether the method is exported by ordinal.

public bool IsByOrdinal { get; }

Property Value

bool

Name

When IsByName is true, gets the name that is used to export the method.

public string? Name { get; }

Property Value

string

Ordinal

When HasFixedOrdinal is true, gets the ordinal that is used to export the method.

public uint? Ordinal { get; }

Property Value

uint?

VTableType

Gets a value indicating the type of VTable fixup to apply to the export.

public VTableType VTableType { get; }

Property Value

VTableType