Bagikan melalui


entry

Specifies an exported function or constant in a module by identifying the entry point in the DLL.

[ entry(
   id
) ]

Parameters

  • id
    The ID of the entry point.

Remarks

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

Example

See the example for idl_module for an example use of entry.

Requirements

Attribute Context

Applies to

idl_module attribute

Repeatable

No

Required attributes

None

Invalid attributes

None

For more information, see Attribute Contexts.

See Also

Concepts

Visual C++ Samples

Other Resources

IDL Attributes