Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.

pointer_default 

Specifies the default pointer attribute for all pointers, except top-level pointers that appear in parameter lists.


[ pointer_default(
      value
) ]

Parameters

value

A value that describes the pointer type: ptr, ref, or unique.

The pointer_default C++ attribute has the same functionality as the pointer_default MIDL attribute.

See the example for defaultvalue for a sample use of pointer_default.

Attribute Context

Applies to

interface

Repeatable

No

Required attributes

None

Invalid attributes

None

For more information about the attribute contexts, see Attribute Contexts.

Community Additions

ADD
Show:
© 2015 Microsoft