DOC: CB_INITSTORAGE & LB_INITSTORAGE Not Implemented on WinNT (166128)



The information in this article applies to:

  • Microsoft Platform Software Development Kit (SDK) 1.0
  • Microsoft Visual C++ 4.0
  • Microsoft Visual C++ 4.1
  • Microsoft Visual C++, 32-bit Enterprise Edition 4.2
  • Microsoft Visual C++, 32-bit Enterprise Edition 5.0
  • Microsoft Visual C++, 32-bit Professional Edition 4.2
  • Microsoft Visual C++, 32-bit Professional Edition 5.0

This article was previously published under Q166128

SUMMARY

Some versions of the documentation for the Windows SDK incorrectly state that the CB_INITSTORAGE and LB_INITSTORAGE messages are implemented on Windows NT.

MORE INFORMATION

The Win32 SDK documentation states that these messages are supported on Windows NT in both the Overview and in the Win32api.csv file. This is incorrect. They are only implemented on Windows 95.

The CB_INITSTORAGE and LB_INITSTORAGE messages are sent to a combobox or listbox to allocate and initialize memory when very large numbers of items are to be added. It is not required, but it speeds up the process of inserting strings.

On Windows NT, both of these messages are sent with out actually allocating memory. They return the value passed as the wParam of the message.

Modification Type:MinorLast Reviewed:7/11/2005
Keywords:kbdocerr KB166128