__in __out 是什么

rup wrote:
> What is the meaning of these keywords used before variables in a
> function parameters?
>
> __in
> __out
> __in_opt
>


These are Microsoft extensions that annotate the parameters for

__in: input parameter
__out output parameter
__in_opt: optional input parameter

posted on 2012-07-25 17:21  kkmm  阅读(421)  评论(0编辑  收藏  举报