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 | Value |
---|---|
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
Phản hồi
https://aka.ms/ContentUserFeedback.
Sắp ra mắt: Trong năm 2024, chúng tôi sẽ dần gỡ bỏ Sự cố với GitHub dưới dạng cơ chế phản hồi cho nội dung và thay thế bằng hệ thống phản hồi mới. Để biết thêm thông tin, hãy xem:Gửi và xem ý kiến phản hồi dành cho