src/Foundation/Media/Gimela.Media.Video.VFW/Win32.cs
/// <summary>
/// Retrieve the save options for a file and returns them in a buffer.
/// </summary>
/// 
/// <param name="window">Handle to the parent window for the Compression Options dialog box.</param>
/// <param name="flags">Flags for displaying the Compression Options dialog box.</param>
/// <param name="streams">Number of streams that have their options set by the dialog box.</param>
/// <param name="streamInterfaces">Pointer to an array of stream interface pointers.</param>
/// <param name="options">Pointer to an array of pointers to AVICOMPRESSOPTIONS structures.</param>
/// 
/// <returns>Returns TRUE if the user pressed OK, FALSE for CANCEL, or an error otherwise.</returns>
/// 
Retrieve the save options for a file and returns them in a buffer.
Retrieve the save options for a file and returns them in a buffer .
[DllImport("avifil32.dll")]
    public static extern int AVISaveOptions(
        IntPtr window,
        int flags,
        int streams,
        [In, MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 0)] IntPtr[] streamInterfaces,
        [In, MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 0)] IntPtr[] options);
[ DllImport ( " " ) ] public static extern int AVISaveOptions ( IntPtr window , int flags , int streams , [ In , MarshalAs ( UnmanagedType . LPArray , SizeParamIndex = 0 ) ] IntPtr [ ] streamInterfaces , [ In , MarshalAs ( UnmanagedType . LPArray , SizeParamIndex = 0 ) ] IntPtr [ ] options ) ;
Retrieve the save options for a file and returns them in a buffer.
Retrieve the save options for a file and returns them in a buffer .
Returns TRUE if the user pressed OK, FALSE for CANCEL, or an error otherwise.
Returns TRUE if the user pressed OK FALSE for CANCEL or an error otherwise .
window
IntPtr
Handle to the parent window for the Compression Options dialog box.
Handle to the parent window for the Compression Options dialog box .
flags
int
Flags for displaying the Compression Options dialog box.
Flags for displaying the Compression Options dialog box .
streams
int
Number of streams that have their options set by the dialog box.
Number of streams that have their options set by the dialog box .
IntPtr[]
[In, MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 0)]
streamInterfaces
Pointer to an array of stream interface pointers.
Pointer to an array of stream interface pointers .
options
Pointer to an array of pointers to AVICOMPRESSOPTIONS structures.
Pointer to an array of pointers to AVICOMPRESSOPTIONS structures .