Microsoft KB Archive/10213
INFO: Window Handles of Global Objects
The information in this article applies to:
- Microsoft Windows Software Development Kit (SDK) versions 3.0, 3.1
A handle is a unique, fixed identifier for a global object. Handles exist to allow easy, indirect access to an object that may move in memory.
Handles are unique only among the objects to which they refer. A handle to a window will always be different from all other handles to windows, but it could have the same value as a handle to a brush (or to any other object).
It is safe to hold onto a window handle (or any handle) of a global object. As long as that object exists, its handle will not change.
Additional query words:
Keywords : kb16bitonly kbSDKPlatform kbGrpDSUser kbWndw
Issue type : kbinfo
Technology : kbAudDeveloper kbWin3xSearch kbSDKSearch kbWinSDKSearch kbWinSDK300 kbWinSDK310
Last Reviewed: November 6, 1999