CcTerminate
Appearance
Call this function once at the end of the application (or when the application wishes to cease captioning). It closes the captioning system and releases any resources that were allocated on behalf of captioning.
Syntax
ccTerminate(hwndCaption)
Parameters
- hwndCaption (HWND)
- Caption window handle.
- This function does not return a value.
Returns
This function does not return a value.
Example Code
Declaration:
#include <os2.h> HWND hwndCaption; ccTerminate(hwndCaption);
Use sample:
/* * Close the captioning system. This will release all the * resources that were allocated. */ ccTerminate(hwndCaption);