hwISession GetHWCHandle

Returns the HWC Record and Playback interface object to load HWC files and execute HWC commands.

Syntax

hwISession_handle GetHWCHandle hwcHandle

Application

Tcl Query

Description

This command retrieves a handle to load HWC files and execute HWC commands.

Inputs

hwcHandle
The user-defined name of the HWC handle that you want to create with this command. In the examples below, the HWC handle is "hwcHandle".

Example

To obtain the HWC handle:
hwi GetSessionHandle sessHandle
sessHandle GetHWCHandle hwcHandle
Returns: hwcHandle

Error

Returns the HWC handle name if successful.

Returns an error message if the command fails.