Пример #1
0
 /// <summary>
 /// The AVISaveOptions function retrieves the save options for a file and returns them in a buffer.
 /// </summary>
 /// <param name="hwnd">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="nStreams">Number of streams that have their options set by the dialog box.</param>
 /// <param name="ppavi">Pointer to an array of stream interface pointers. The nStreams parameter indicates the number of pointers in the array.></param>
 /// <param name="ao">Pointer to an array of pointers to AVICOMPRESSOPTIONS structures. These structures hold the compression options set by the dialog box. The nStreams parameter indicates the number of pointers in the array.</param>
 /// <returns>Returns true if the user pressed OK, false for CANCEL, or an error otherwise.</returns>
 public static unsafe bool AVISaveOptions(IntPtr hwnd, CompressionDialog flags, int nStreams, IntPtr *ppavi,
                                          AVICompressOptions **ao)
 {
     return(Native.AVISaveOptions(hwnd, flags, nStreams, ppavi, ao));
 }