Sample Programs

Several sample programs are provided, each of which illustrates the use of one of the Z and I Emulator for Windows APIs. If you choose to install the sample programs, they will be installed in the \SAMPLES directory.
Note: International Business Machines Corporation provides these files as is, without warranty of any kind, either express or implied, including, but not limited to, the implied warranties of merchantability or fitness for a particular purpose.
The sample program files include source and supporting files for the following Z and I Emulator for Windows APIs:
  • Emulator High-Level Language Programming Interface (EHLLAPI)
  • PCSAPI Functions
The following files are installed in the \SAMPLES directory.
Table 1. Sample Program Subdirectories
File Name Description
DDE_C.H DDE include file
EHLAPI32.H IBM® standard 32-bit EHLLAPI include file
WHLLAPI.H WinHLLAPI 16-bit include file
HAPI_C.H EHLLAPI include file
PCSAPI.H PCSAPI include file
PCSCALLS.LIB Import library for standard interface
PCSCAL32.LIB Import library for enhanced interface
EHLAPI32.LIB Import library for IBM® Standard 32-bit EHLLAPI interface
WHLLAPI.LIB Import library for WinHLLAPI 16-bit interface
WHLAPI32.LIB Import library for WinHLLAPI 32-bit interface
The following subdirectories are created in the \SAMPLES directory.
Table 2. Sample Program Subdirectories
File Name Description
ECL The sample\ecl\cpp folder contains all files related HACL CPP sample.

The sample\ecl\vb folder contains all files related to HACL VB.Net sample.

HLLSMP

Shows how to use EHLLAPI to request a keystroke and log on to a VM system.(X86).

It supports the logon, pastetext and sendkey functionalities. Refer to the hllsmp\ Readme.txt for the details on using the above-mentioned functionalities with hllsmp.exe. (X64).