Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > C Programming > Meaning of __in , __out, __in_opt

Reply
Thread Tools

Meaning of __in , __out, __in_opt

 
 
rup
Guest
Posts: n/a
 
      09-28-2007
What is the meaning of these keywords used before variables in a
function parameters?

__in
__out
__in_opt

 
Reply With Quote
 
 
 
 
jacob navia
Guest
Posts: n/a
 
      09-28-2007
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
 
Reply With Quote
 
 
 
 
CBFalconer
Guest
Posts: n/a
 
      09-28-2007
rup wrote:
>
> What is the meaning of these keywords used before variables in a
> function parameters?
>
> __in
> __out
> __in_opt


They are reserved for the implementor. So read your compiler
documentation. We have no idea.

--
Chuck F (cbfalconer at maineline dot net)
Available for consulting/temporary embedded and systems.
<http://cbfalconer.home.att.net>


--
Posted via a free Usenet account from http://www.teranews.com

 
Reply With Quote
 
Tor Rustad
Guest
Posts: n/a
 
      09-28-2007
rup wrote:
> What is the meaning of these keywords used before variables in a
> function parameters?
>
> __in
> __out
> __in_opt


Sure there wasn't an __inout there too?

I use my own IN, OUT and INOUT macros, to document flow:

#define IN
#define OUT
#define INOUT

Identifiers with "__" prefix, is reserved by your implementation, i.e.
are *not* keywords in C.

--
Tor <torust [at] online [dot] no>
"I have stopped reading Stephen King novels. Now I just read C code instead"
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Understanding search queries, semantics, and "Meaning" ...aren't weall looking for meaning? 5lvqbwl02@sneakemail.com Python 4 01-14-2009 02:28 PM
use work.my_package.all-->what exactly meaning of this Parthav VHDL 4 01-13-2006 07:50 PM
WHAT IS THE MEANING *FESWANY MCSE 3 01-28-2005 02:55 PM
Meaning of word "develop" in the exam (70-300) TomTom MCSD 10 08-13-2004 04:39 PM
Meaning of output value? Sander Odekerken VHDL 2 05-18-2004 05:41 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57