DOCERR: lineInitialize returns LINEERR_UNINITIALIZED

ID: Q159379

4.00 WINDOWS kbprg kbdocerr

The information in this article applies to:

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.

KBCategory: kbprg kbdocerr KBSubcategory: TAPI Additional reference words: 4.00 kbdss

Keywords          : kbTAPI Tapi 
Version           : 4.00
Platform          : WINDOWS

Last Reviewed: August 5, 1998