src/Foundation/Media/Gimela.Media.Video.VFW/Win32.cs
/// <summary>
/// Create a compressed stream from an uncompressed stream and a
/// compression filter, and returns the address of a pointer to
/// the compressed stream.
/// </summary>
/// 
/// <param name="compressedStream">Pointer to a buffer that receives the compressed stream pointer.</param>
/// <param name="sourceStream">Pointer to the stream to be compressed.</param>
/// <param name="options">Pointer to a structure that identifies the type of compression to use and the options to apply.</param>
/// <param name="clsidHandler">Pointer to a class identifier used to create the stream.</param>
/// 
/// <returns>Returns 0 if successful or an error otherwise.</returns>
/// 
Create a compressed stream from an uncompressed stream and a
compression filter, and returns the address of a pointer to
the compressed stream.
Create a compressed stream from an uncompressed stream and a compression filter and returns the address of a pointer to the compressed stream .
[DllImport("avifil32.dll")]
    public static extern int AVIMakeCompressedStream(
        out IntPtr compressedStream,
        IntPtr sourceStream,
        ref AVICOMPRESSOPTIONS options,
        IntPtr clsidHandler);
[ DllImport ( " " ) ] public static extern int AVIMakeCompressedStream ( out IntPtr compressedStream , IntPtr sourceStream , ref AVICOMPRESSOPTIONS options , IntPtr clsidHandler ) ;
Create a compressed stream from an uncompressed stream and a
compression filter, and returns the address of a pointer to
the compressed stream.
Create a compressed stream from an uncompressed stream and a compression filter and returns the address of a pointer to the compressed stream .
Returns 0 if successful or an error otherwise.
Returns 0 if successful or an error otherwise .
IntPtr
out
sourceStream
IntPtr
Pointer to the stream to be compressed.
Pointer to the stream to be compressed .
AVICOMPRESSOPTIONS
ref
clsidHandler
IntPtr
Pointer to a class identifier used to create the stream.
Pointer to a class identifier used to create the stream .
compressedStream
Pointer to a buffer that receives the compressed stream pointer.
Pointer to a buffer that receives the compressed stream pointer .
options
Pointer to a structure that identifies the type of compression to use and the options to apply.
Pointer to a structure that identifies the type of compression to use and the options to apply .