Jump to content

CcTerminate: Difference between revisions

From EDM2
Created page with "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: <pre> #include <os2.h> HWND hwndCapt..."
 
(No difference)

Latest revision as of 03:11, 5 November 2025

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);

Related Functions