RESDLL.C
资源名称:MSDN_VC98.zip [点击查看]
上传用户:bangxh
上传日期:2007-01-31
资源大小:42235k
文件大小:1k
源码类别:
Windows编程
开发平台:
Visual C++
- #include <windows.h>
- // **************************************************************************-
- //
- // Function: DllMain(HANDLE, DWORD, LPVOID)
- //
- // **************************************************************************-
- //
- // Description:
- //
- // This is the main initialization routine called by the NT kernel when
- // a new thread requests use of the DLL. It's also called when a thread
- // stops using the DLL. A parameter passed to the function identifies the
- // reason for calling.
- //
- // **************************************************************************-
- BOOL APIENTRY DllMain(HANDLE hDLL, DWORD dwReason, LPVOID lpReserved)
- {
- // Nothing to initialize.
- return TRUE;
- }