开发者

Why this function has both Unicode and ANSI versions?

开发者 https://www.devze.com 2023-03-28 08:21 出处:网络
Why does EndUpdateR开发者_运维问答esource have both Unicode and ANSI versions?Because BeginUpdateResource has (due to its LPCTSTR parameter), and the handles produced by the two versions may need diff

Why does EndUpdateR开发者_运维问答esource have both Unicode and ANSI versions?


Because BeginUpdateResource has (due to its LPCTSTR parameter), and the handles produced by the two versions may need different internal clean-up. (Even if they don't today, a prudent API designer will leave open the possibility that they may tomorrow).

0

精彩评论

暂无评论...
验证码 换一张
取 消