Meaning of __in , __out, __in_opt

R

rup

What is the meaning of these keywords used before variables in a
function parameters?

__in
__out
__in_opt
 
J

jacob navia

rup said:
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
 
C

CBFalconer

rup said:
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.
 
T

Tor Rustad

rup said:
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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,434
Messages
2,571,690
Members
48,796
Latest member
Greg L.

Latest Threads

Top