共用方式為


out (C++)

Identifies pointer parameters that are returned from the called procedure to the calling procedure (from the server to the client).

[out]

Remarks

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

Example

See the example for bindable for a sample use of out.

Requirements

Attribute Context

Applies to

Interface parameter

Repeatable

No

Required attributes

None

Invalid attributes

None

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

See Also

Concepts

IDL Attributes

Parameter Attributes

defaultvalue

id

ATL Samples