共用方式為


no_dual_interfaces

C++ Specific

Changes the way the compiler generates wrapper functions for dual interface methods.

no_dual_interfaces

Remarks

Normally, the wrapper will call the method through the virtual function table for the interface. With no_dual_interfaces, the wrapper instead calls IDispatch::Invoke to invoke the method.

END C++ Specific

See Also

Reference

#import Attributes (C/C++)

#import Directive (C/C++)