Opening Multiple AVI Files

If your application opens multiple files, it should include routines such as the following simple functions. The application would use the "initAVI" function during its initialization and the "termAVI" function during its termination.

// Initialize the MCIAVI driver. This returns TRUE if OK,

// FALSE on error.

BOOL initAVI(VOID)

{

// Perform additional initialization before loading first file.

return mciSendString("open digitalvideo", NULL, 0, NULL) == 0;

}

// Close the MCIAVI driver.

  • oid termAVI(VOID)

{

mciSendString("close digitalvideo", NULL, 0, NULL);

}

Software for developers
Delphi Components
.Net Components
Software for Android Developers
More information resources
MegaDetailed.Net
Unix Manual Pages
Delphi Examples
Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database