Edit

Share via


raw_native_types import attribute

C++ Specific

Disables the use of COM support classes in the high-level wrapper functions, and forces the use of low-level data types instead.

Syntax

#import type-library raw_native_types

Remarks

By default, the high-level error-handling methods use the COM support classes _bstr_t and _variant_t in place of the BSTR and VARIANT data types and raw COM interface pointers. These classes encapsulate the details of allocating and deallocating memory storage for these data types, and greatly simplify type casting and conversion operations.

END C++ Specific

See also

#import attributes
#import directive