共用方式為


auto_rename

C++ Specific

Renames C++ reserved words by appending two underscores (__) to the variable name to resolve potential name conflicts.

auto_rename

Remarks

This attribute is used when importing a type library that uses one or more C++ reserved words (keywords or macros) as variable names.

END C++ Specific

See Also

Reference

#import Attributes (C/C++)

#import Directive (C/C++)