Why this function has both Unicode and ANSI versions?
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).
精彩评论