Why does this feature have both Unicode and ANSI versions?

Why do EndUpdateResource have both Unicode and ANSI versions?

+4
source share
1 answer

Because BeginUpdateResource has (because of its LPCTSTR parameter), and for handles created by these two versions, another internal cleanup may be required. (Even if they don’t do it today, a reasonable API designer will leave the opportunity, perhaps tomorrow).

+4
source

All Articles