Skip to content

Commit

Permalink
Corrected the DLL name in the x86 P/Invoke signatures
Browse files Browse the repository at this point in the history
  • Loading branch information
0xC0000054 committed Sep 5, 2017
1 parent b4ac8cf commit 5ad33e5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions DdsFile.cs
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,13 @@ private struct DDSSaveInfo

private static class DdsIO_x86
{
[DllImport("DdsFileTypePlusIO_Win32.dll", CallingConvention = CallingConvention.StdCall)]
[DllImport("DdsFileTypePlusIO_x86.dll", CallingConvention = CallingConvention.StdCall)]
internal static unsafe extern int Load([In] byte* input, [In] UIntPtr inputSize, [In, Out] ref DDSLoadInfo info);

[DllImport("DdsFileTypePlusIO_Win32.dll", CallingConvention = CallingConvention.StdCall)]
[DllImport("DdsFileTypePlusIO_x86.dll", CallingConvention = CallingConvention.StdCall)]
internal static extern void FreeLoadInfo([In, Out] ref DDSLoadInfo info);

[DllImport("DdsFileTypePlusIO_Win32.dll", CallingConvention = CallingConvention.StdCall)]
[DllImport("DdsFileTypePlusIO_x86.dll", CallingConvention = CallingConvention.StdCall)]
internal static unsafe extern int Save(
[In] ref DDSSaveInfo input,
[In, MarshalAs(UnmanagedType.FunctionPtr)] PinnedByteArrayAllocDelegate allocDelegate,
Expand Down

0 comments on commit 5ad33e5

Please sign in to comment.