PRB: Calling LoadMenuIndirect() with Invalid Data Hangs SystemLast reviewed: September 29, 1995Article ID: Q131281 |
The information in this article applies to:
SYMPTOMSUnder Windows 95 if you call LoadMenuIndirect() with invalid data, the system hangs (stops responding).
CAUSEInvalid data anywhere in the array of MENUITEMTEMPLATE structures passed to the LoadMenuIndirect() function may cause this problem. An example of this might be an extra NULL byte after a MENUITEMTEMPLATE structure. Under Windows NT version 3.5, passing the same invalid data in the MENUITEMTEMPLATE structure causes LoadMenuIndirect() to return NULL, with GetLastError() reporting an ERROR_INVALID_DATA value.
STATUSThis behavior is by design.
|
Additional reference words: 4.00 freeze lock up Menus
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |