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
stringThe unmanaged name, as it appears in the export directory.
vTableType
VTableTypeThe 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
uintThe ordinal.
vTableType
VTableTypeThe 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
uintThe new ordinal to use.
name
stringThe unmanaged name, as it appears in the export directory.
vTableType
VTableTypeThe 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
IsByName
Gets a value indicating whether the method is exported by name.
public bool IsByName { get; }
Property Value
IsByOrdinal
Gets a value indicating whether the method is exported by ordinal.
public bool IsByOrdinal { get; }
Property Value
Name
When IsByName is true
, gets the name that is used to export the method.
public string? Name { get; }
Property Value
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; }