DOCERR: lineInitialize returns LINEERR_UNINITIALIZED

ID: Q159379


The information in this article applies to:
  • Microsoft Win32 Application Programming Interface (API), version 4.0


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 Tapi
Version : winnt:4.0
Platform : winnt
Issue type :


Last Reviewed: January 10, 2000
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.