Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

40 lines
815 B

//-----------------------------------------------------------------------------
//
// 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