CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Aug 2003
    Posts
    938

    What is 'OUT' keyword/macro?

    Hey.
    I noticed a few keywords/(macros?) in a program. The exact was usage was as follows:
    Code:
    voi functionhere(...., OUT TCHAR* pszStr, ....).....
    I was wondering what does OUT mean before TCHAR*? I also know that there is an IN (used mostly in ntddk). I wasn't able to find any info on this due to the fact i am not sure what to search fro (out is way too common to give me any good results ... ).
    Thx in advance.

  2. #2
    Join Date
    Jan 2004
    Location
    Düsseldorf, Germany
    Posts
    2,401

    Re: What is 'OUT' keyword/macro?

    My guess is that it is that OUT is defined to the null string, therefore has just documentary purpose. But to know, you will have to find the definition in the include files. Just go through them one by one and search for a line that starts with "#define OUT".
    More computing sins are committed in the name of efficiency (without necessarily achieving it) than for any other single reason - including blind stupidity. --W.A.Wulf

    Premature optimization is the root of all evil --Donald E. Knuth


    Please read Information on posting before posting, especially the info on using [code] tags.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured