Exemplo n.º 1
0
/*
	termAVI -- gets device ID for "avivideo" from mciGetDeviceID,
		then closes the device with MCI_CLOSE.
*/
void termAVI(void)
{
    WORD               wID;
    MCI_GENERIC_PARMS  mciClose;

    wID = mciGetDeviceID("avivideo");
    mciSendCommand(wID, MCI_CLOSE, 0L, 
                   (DWORD)(LPMCI_GENERIC_PARMS)&mciClose);
}
Exemplo n.º 2
0
/*
	termAVI -- gets device ID for "avivideo" from mciGetDeviceID,
		then closes the device with MCI_CLOSE.
*/
void termAVI(void)
{
    WORD               wID;
    MCI_GENERIC_PARMS  mciClose;

    //
    // Get the device ID for the opened device type and then close
    // the device type.
    //
    wID = mciGetDeviceID("avivideo");
    mciSendCommand(wID, MCI_CLOSE, 0L, 
                   (DWORD)(LPMCI_GENERIC_PARMS)&mciClose);
}