windows-nt/Source/XPSP1/NT/base/wmi/bmoflocparser/inc/ltapi.h
2020-09-26 16:20:57 +08:00

41 lines
775 B
C

//-----------------------------------------------------------------------------
//
// File: ltapi.h
// Copyright (C) 1994-1996 Microsoft Corporation
// All rights reserved.
//
// Entry point macros for DLL's
//
//-----------------------------------------------------------------------------
#ifdef LTAPIENTRY
#undef LTAPIENTRY
#endif
#ifdef IMPLEMENT
#define LTAPIENTRY __declspec(dllexport)
#else // IMPLEMENT
#define LTAPIENTRY __declspec(dllimport)
#endif // IMPLEMENT
#ifndef LTAPI_H
#define LTAPI_H
//
// Allow the use of C++ reference types and const methods, without
// breaking the 'C' world.
//
#ifdef __cplusplus
#define REFERENCE &
#define CONST_METHOD const
#else
#define REFERENCE *
#define CONST_METHOD
#endif
#include <MitThrow.h>
#endif