summaryrefslogtreecommitdiffstats
path: root/public/sdk/inc/mfc40/afxv_dll.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--public/sdk/inc/mfc40/afxv_dll.h53
1 files changed, 53 insertions, 0 deletions
diff --git a/public/sdk/inc/mfc40/afxv_dll.h b/public/sdk/inc/mfc40/afxv_dll.h
new file mode 100644
index 000000000..b22778a5d
--- /dev/null
+++ b/public/sdk/inc/mfc40/afxv_dll.h
@@ -0,0 +1,53 @@
+// This is a part of the Microsoft Foundation Classes C++ library.
+// Copyright (C) 1992-1995 Microsoft Corporation
+// All rights reserved.
+//
+// This source code is only intended as a supplement to the
+// Microsoft Foundation Classes Reference and related
+// electronic documentation provided with the library.
+// See these sources for detailed information regarding the
+// Microsoft Foundation Classes product.
+
+// special header for _AFXDLL variant.
+
+// default AFX_XXX_DATA and AFX_XXX_DATADEF macros for using MFC DLLs
+
+#ifndef AFX_CORE_DATA
+ #define AFX_CORE_DATA AFX_DATA_IMPORT
+ #define AFX_CORE_DATADEF
+#endif
+
+#ifndef AFX_OLE_DATA
+ #define AFX_OLE_DATA AFX_DATA_IMPORT
+ #define AFX_OLE_DATADEF
+#endif
+
+#ifndef AFX_DB_DATA
+ #define AFX_DB_DATA AFX_DATA_IMPORT
+ #define AFX_DB_DATADEF
+#endif
+
+#ifndef AFX_NET_DATA
+ #define AFX_NET_DATA AFX_DATA_IMPORT
+ #define AFX_NET_DATADEF
+#endif
+
+// default AFX_EXT_DATA and AFX_EXT_DATADEF macros for using or
+// creating MFC extension DLLs, depending on _AFX_EXT_IMPL
+// AFX_EXT_CLASS can be used to import or export entire classes
+// in an extension DLL without the hassle of creating a .DEF file
+// with decorated names.
+
+#ifndef AFX_EXT_DATA
+ #ifdef _AFXEXT
+ #define AFX_EXT_CLASS AFX_CLASS_EXPORT
+ #define AFX_EXT_API AFX_API_EXPORT
+ #define AFX_EXT_DATA AFX_DATA_EXPORT
+ #define AFX_EXT_DATADEF
+ #else
+ #define AFX_EXT_CLASS AFX_CLASS_IMPORT
+ #define AFX_EXT_API AFX_API_IMPORT
+ #define AFX_EXT_DATA AFX_DATA_IMPORT
+ #define AFX_EXT_DATADEF
+ #endif
+#endif