窗口属性 - 它们是如何实现的?
I'm curious if there is anyone around here that has inside information on the implementation details of window properties (SetProp
, GetProp
, etc.) in Windows.
For instance, how are storage and lookups done?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
警告:我很久之前看过这个,所以1)我的记忆可能是错误的,2)它可能已经过时了,即使我记得正确。
当我查看时,我很确定它们是作为链接列表实现的,并且如果窗口有多个属性,则性能相当。
Warning: I looked at this a long time ago, so 1) my memory may be wrong, and 2) it may be out of date, even if I am remembering correctly.
When I looked, I'm pretty sure they were implemented as linked-lists, and performance was quite poor if you had more than a few properties for a window.