📄 art_dll.c
字号:
/* ------------------------------------------------------------------------- */
/* The ART Gallery */
/* ------------------------------------------------------------------------- */
/* Art_DLL.c */
/* Version: 1.0 */
/* Written By: Lars H. Liden laliden@cns.bu.edu */
/* Last Update: 8/02/95 */
/* */
/* The following code is used to compile The ART Gallery as a dynamic linked */
/* library using Borland C++ */
/* */
/* Please see Art_Doc.txt for a full documentation. */
/* */
/* Send all bug reports to laliden@cns.bu.edu */
/* ------------------------------------------------------------------------- */
#include <windows.h>
/*------------------------------------------------------------------------ */
/* LibMain */
/* */
/* Returns: int - status of operation */
/* -1 - if DLL was successfully loaded */
/*------------------------------------------------------------------------ */
int FAR PASCAL LibMain( HANDLE hInstance, WORD wDataSegment, WORD wHeapSize,
LPSTR lpszCmdLine )
{
hInstance = hInstance; // These lines are simply used to get
wDataSegment = wDataSegment; // rid of compiler warnings and are
lpszCmdLine = lpszCmdLine; // useless.
if ( wHeapSize != 0 )
UnlockData( 0 );
return (-1); // Indicate that the DLL was initialized successfully.
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -