The AVISaveOptions function retrieves the save options for a file and returns them in a buffer.
BOOL AVISaveOptions(
HWND hwnd,
UINT uiFlags,
int nStreams,
PAVISTREAM * ppavi,
LPAVICOMPRESSOPTIONS * plpOptions
);
Returns TRUE if the user pressed OK, FALSE for CANCEL, or an error otherwise.
This function presents a standard Compression Options dialog box using hwnd as the parent window handle. When the user is finished selecting the compression options for each stream, the options are returned in the AVICOMPRESSOPTIONS structure in the array referenced by plpOptions. The calling application must pass the interface pointers for the streams in the array referenced by ppavi.
An application must allocate memory for the AVICOMPRESSOPTIONS structures and the array of pointers to these structures.
Windows NT: Requires version 3.1 or later.
Windows: Requires Windows 95 or later.
Windows CE: Unsupported.
Header: Declared in vfw.h.
Import Library: Use vfw32.lib.
AVIFile Functions and Macros Overview, AVIFile Functions, ICCompressorChoose, AVICOMPRESSOPTIONS