dllentry.c

来自「rtai-3.1-test3的源代码(Real-Time Application」· C语言 代码 · 共 62 行

C
62
字号
/* *	dllEntry.c */#define WIN32_LEAN_AND_MEAN#include <windows.h>#undef WIN32_LEAN_AND_MEAN/* *---------------------------------------------------------------------- * * DllEntryPoint -- * *	This routine is called by Borland to invoke the *	initialization code for the library. * * Results: *	TRUE. * * Side effects: *	See DllMain. * *---------------------------------------------------------------------- */BOOL APIENTRYDllEntryPoint(    HINSTANCE hInst,		/* Library instance handle. */    DWORD reason,		/* Reason this function is being called. */    LPVOID reserved)		/* Not used. */{    return TRUE;}/* *---------------------------------------------------------------------- * * DllMain -- * *	This routine is called by the VC++ C run time library init *	code invoke the initialization code for the library. * * Results: *	TRUE. * * Side effects: *	None. * *---------------------------------------------------------------------- */BOOL APIENTRYDllMain(    HINSTANCE hInst,		/* Library instance handle. */    DWORD reason,		/* Reason this function is being called. */    LPVOID reserved)		/* Not used. */{    return TRUE;}

⌨️ 快捷键说明

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