Skip to content

Latest commit

 

History

History
71 lines (60 loc) · 1.68 KB

File metadata and controls

71 lines (60 loc) · 1.68 KB
title local (C++) | Microsoft Docs
ms.custom
ms.date 11/04/2016
ms.reviewer
ms.suite
ms.technology
cpp-windows
ms.tgt_pltfrm
ms.topic language-reference
f1_keywords
vc-attr.local
dev_langs
C++
helpviewer_keywords
local attribute
ms.assetid 35cdd668-bd8e-492a-b7b8-263e7b662437
caps.latest.revision 9
author mikeblome
ms.author mblome
manager ghogen
translation.priority.ht
cs-cz
de-de
es-es
fr-fr
it-it
ja-jp
ko-kr
pl-pl
pt-br
ru-ru
tr-tr
zh-cn
zh-tw

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.

Syntax

  
[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

IDL Attributes
Interface Attributes
Method Attributes
call_as