Knowledge Base

DOCERR: lineInitialize returns LINEERR_UNINITIALIZED

Article ID: 159379

Article Last Modified on 11/21/2006


APPLIES TO


This article was previously published under Q159379

SUMMARY

TAPI distinguishes each calling application by its hInstance value. On Windows 95, it is an error to call lineInitialize() with an hInstance value of NULL.

The Win32 SDK documentation for TAPI 1.4 incorrectly documents the return code under this condition to be LINEERR_INVALPARAM.

MORE INFORMATION

Under Windows 95, if lineInitialize() is called with an hInstance value of NULL, it will return LINEERR_UNINITIALIZED.

Under TAPI 2.0, it is acceptable to call lineInitialize() or lineInitializeEx() with hInstance value of 0 or NULL. In this case, TAPI will use the module handle of the calling process by default.

REFERENCES

Win32 API Reference, lineInitialize() or lineInitializeEx() functions.

Additional query words: 4.00 kbdss

Keywords: kbtapi KB159379