What does it mean when `Ex` is added to a function/method name?

前端 未结 4 793
感情败类
感情败类 2021-02-05 07:31

I don\'t work with the Windows API much, but I\'ve seen it used there as well as occasionally in a codebase here at work.

4条回答
  •  臣服心动
    2021-02-05 08:07

    It's usually done as a way of changing the parameters to a function in an API without breaking existing client code. Old code can continue to use the previous version, while new code can take advantage of the new features offered by the Ex version.

提交回复
热议问题