8
8
9
9
#endregion
10
10
11
- namespace Zeiss . PiWeb . Volume
12
- {
13
- #region usings
11
+ // ReSharper disable UnusedParameter.Global
12
+ namespace Zeiss . PiWeb . Volume ;
14
13
15
- using System . Runtime . InteropServices ;
16
- using Zeiss . PiWeb . Volume . Interop ;
14
+ #region usings
17
15
18
- #endregion
16
+ using Zeiss . PiWeb . Volume . Interop ;
19
17
20
- internal static class NativeMethods
21
- {
22
- #region methods
18
+ #endregion
23
19
24
- [ DllImport ( "PiWeb.Volume.Core.dll" , CallingConvention = CallingConvention . Cdecl , CharSet = CharSet . Ansi ) ]
25
- internal static extern VolumeError CompressVolume ( InteropSliceReader inputStream , InteropStream outputStream , ushort width , ushort height , [ MarshalAs ( UnmanagedType . LPStr ) ] string encoderName , [ MarshalAs ( UnmanagedType . LPStr ) ] string pixelFormat , [ MarshalAs ( UnmanagedType . LPStr ) ] string options , int bitrate ) ;
20
+ internal static class NativeMethods
21
+ {
22
+ #region methods
26
23
27
- [ DllImport ( "PiWeb.Volume.Core.dll" , CallingConvention = CallingConvention . Cdecl ) ]
28
- internal static extern VolumeError DecompressVolume ( InteropStream inputStream , InteropSliceWriter outputStream ) ;
24
+ internal static VolumeError CompressVolume ( InteropSliceReader inputStream , InteropStream outputStream , ushort width , ushort height , string encoderName , string pixelFormat , string options , int bitrate )
25
+ {
26
+ return VolumeError . CodecInvalidName ;
27
+ }
29
28
30
- [ DllImport ( "PiWeb.Volume.Core.dll" , CallingConvention = CallingConvention . Cdecl ) ]
31
- internal static extern VolumeError DecompressSlices ( InteropStream inputStream , InteropSliceWriter outputStream , ushort index , ushort count ) ;
29
+ internal static VolumeError DecompressVolume ( InteropStream inputStream , InteropSliceWriter outputStream )
30
+ {
31
+ return VolumeError . CodecInvalidName ;
32
+ }
32
33
33
- #endregion
34
+ internal static VolumeError DecompressSlices ( InteropStream inputStream , InteropSliceWriter outputStream , ushort index , ushort count )
35
+ {
36
+ return VolumeError . CodecInvalidName ;
34
37
}
38
+
39
+ #endregion
35
40
}
0 commit comments