c++ - Significance of __IN__ and __OUT__ qualifiers for parameters in ODBC API's Signature -


reading through microsoft implementation of odbc header file sql.h, parameters of declarations of apis qualified __in__ or __out__.

example

sqlreturn  sql_api sqlrowcount(_in_ sqlhstmt statementhandle,                                _out_ sqllen* rowcount); 

i understand, such usage used determined direction transport optimization particularly used in com world data needs marshaled , un-marshalled such usage seems odd in odbc context.

what significance of these qualifiers odbc perspective?

syntactically, there no significance @ all. both #defined nothing someplace. they're helping make api more readable in isolation documentation - marking parameters inputs function , outputs.


Comments

Popular posts from this blog

user interface - Python attempting to create a simple gui, getting "AttributeError: 'MainMenu' object has no attribute 'intro_screen'" -

jquery - Common JavaScript snippet to share files on Google Drive, Dropbox, Box.net or SkyDrive -

Android Gson.fromJson error -