mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
[AaruFormat] Add function to retrieve image information from library.
This commit is contained in:
14
Aaru.Images/AaruFormat/Metadata.cs
Normal file
14
Aaru.Images/AaruFormat/Metadata.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Aaru.Images;
|
||||
|
||||
public sealed partial class AaruFormat
|
||||
{
|
||||
// AARU_EXPORT int32_t AARU_CALL aaruf_get_image_info(const void *context, ImageInfo *image_info)
|
||||
[DllImport("libaaruformat",
|
||||
EntryPoint = "aaruf_get_image_info",
|
||||
SetLastError = true,
|
||||
CallingConvention = CallingConvention.StdCall)]
|
||||
private static extern Status aaruf_get_image_info(IntPtr context, ref AaruFormatImageInfo imageInfo);
|
||||
}
|
||||
Reference in New Issue
Block a user