local (C++)

When used in the interface header, allows you to use the MIDL compiler as a header generator. When used in an individual function, designates a local procedure for which no stubs are generated.

[local]

Remarks

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

Example

See call_as for an example of how to use local.

Requirements

Attribute Context

Applies to

interface, interface method

Repeatable

No

Required attributes

None

Invalid attributes

dispinterface

For more information, see Attribute Contexts.

See Also

Reference

call_as

Concepts

Visual C++ Samples

Other Resources

IDL Attributes

Interface Attributes

Method Attributes