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

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -