windows-nt/Source/XPSP1/NT/base/wmi/bmoflocparser/inc/ltapi.h

41 lines
775 B
C
Raw Permalink Normal View History

2020-09-26 03:20:57 -05:00
//-----------------------------------------------------------------------------
//
// 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