Share via


EXPORTAPI

Defines an API function that can be exported from an .EXE or .DLL without using a .DEF file.

Syntax

#define EXPORTAPI     __declspec( dllexport )HRESULT

Requirements

For an explanation of the requirement values, see Requirements.

Platforms: Windows Server 2016, Windows 10, Windows Server 2012 R2, Windows 8.1, Windows Server 2012, Windows 8, Windows Server 2008 R2, Windows 7, Windows Server 2008, Windows Vista

Header: Declared in xolehlp.h