共用方式為


EXTERNDEF

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at EXTERNDEF.

Defines one or more external variables, labels, or symbols called name whose type is type.

Syntax

  
EXTERNDEF [[langtype]] name:type [[, [[langtype]] name:type]]...  

Remarks

If name is defined in the module, it is treated as PUBLIC. If name is referenced in the module, it is treated as EXTERN. If name is not referenced, it is ignored. The type can be ABS, which imports name as a constant. Normally used in include files.

See Also

Directives Reference