INFO: Use of Allocations w/ cbClsExtra & cbWndExtra in Windows

ID: Q11606


The information in this article applies to:
  • Microsoft Windows Software Development Kit (SDK)
  • Microsoft Win32 Software Development Kit (SDK)
  • Microsoft Windows 2000


SUMMARY

The following is an explanation of the use of the allocations with cbClsExtra and cbWndExtra?:

  • cbClsExtra: Extra bytes to allocate to CLASS data structure in USER.EXE local heap when RegisterClass() is called. Accessed by Get/Set CLASS Word/Long ();.


  • cbWndExtra: Extra bytes to allocate to WND data structure in USER.EXE local heap when CreateWindow() is called. Accessed by Get/Set WND Word/Long ();.


You can use these structures at your discretion and for any purpose you desire.

Additional query words:

Keywords : kbNTOS kbWinOS2000 kbSDKWin32 kbGrpUser kbWinOS kbWndw kbWndwClass kbWndwProp
Version : WINDOWS:
Platform : WINDOWS
Issue type : kbinfo


Last Reviewed: February 2, 2000
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.