This is the first TAPI function that must be used to initialize TAPI. The lpdwAPIVersion parameter must be set to at least 0x00020000. This function should be followed by a lineNegotiateAPIVersion.
LONG
WINAPI
lineInitializeEx(
LPHLINEAPP lphLineApp,
HINSTANCE hInstance,
LINECALLBACK lpfnCallback,
LPCSTR lpszFriendlyAppName,
LPDWORD lpdwNumDevs,
LPDWORD lpdwAPIVersion,
LPLINEINITIALIZEEXPARAMS lpLineInitializeExParams
);