Jump to content

CcTerminate

From EDM2
Revision as of 03:11, 5 November 2025 by Martini (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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