⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 dllentrypoint.c

📁 这是一个Linux下的集成开发环境
💻 C
字号:
/*  * dllEntryPoint.c -- * *	This file implements the Dll entry point as needed by Windows. */#define WIN32_LEAN_AND_MEAN#include <windows.h>/* CYGNUS LOCAL */#include <tcl.h>#ifdef __CYGWIN32__/* * The following declaration is for the VC++ DLL entry point. */BOOL APIENTRY		DllMain _ANSI_ARGS_((HINSTANCE hInst,			    DWORD reason, LPVOID reserved));/* cygwin32 requires an impure pointer variable, which must be   explicitly initialized when the DLL starts up.  */struct _reent *_impure_ptr;extern struct _reent *_imp__reent_data;/* *---------------------------------------------------------------------- * * DllMain -- * *	DLL entry point. * * Results: *	TRUE on sucess, FALSE on failure. * * Side effects: *	None. * *---------------------------------------------------------------------- */BOOL APIENTRYDllMain(hInstance, reason, reserved)    HINSTANCE hInstance;    DWORD reason;    LPVOID reserved;{    /* CYGNUS LOCAL */    /* cygwin32 requires the impure data pointer to be initialized       when the DLL starts up.  */    _impure_ptr = _imp__reent_data;    /* END CYGNUS LOCAL */        return(TRUE);}/* END CYGNUS LOCAL */#else /* __CYGWIN32__ */#if defined(_MSC_VER)#   define DllEntryPoint DllMain#endif/* *---------------------------------------------------------------------- * * DllEntryPoint -- * *	This wrapper function is used by Windows to invoke the *	initialization code for the DLL.  If we are compiling *	with Visual C++, this routine will be renamed to DllMain. * * Results: *	Returns TRUE; * * Side effects: *	None. * *---------------------------------------------------------------------- */BOOL APIENTRYDllEntryPoint(hInst, reason, reserved)    HINSTANCE hInst;		/* Library instance handle. */    DWORD reason;		/* Reason this function is being called. */    LPVOID reserved;		/* Not used. */{    return TRUE;}#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -