Line Initialization and Shutdown

The TAPI function lineInitialize (Table 11.1) must be called before any other TAPI function is called. All TAPI functions start with "line," but this function doesn't initialize any one particular line device. The function returns a HLINEAPP handle that is the application's usage handle for TAPI. The header file "tapi.h" must be included when using any of the TAPI functions.

Table 11.1. lineInitialize—Initializes an applications use of TAPI.DLL
lineInitialize
LPHLINEAPP lphLineAppPointer to a HLINEAPP handle in which the application's usage handle for TAPI is returned.
HINSTANCE hInstanceInstance handle of the application or DLL calling the function.
LINECALLBACK lpfnCallbackCallback function, through which notifications ...

Get Windows® CE 3.0 Application Programming now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.