?? threadmanager_instance.cpp
字號:
// ThreadManager.cpp : Defines the initialization routines for the DLL.
//
#include "stdafx.h"
#include <afxdllx.h>
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
static AFX_EXTENSION_MODULE ThreadManagerDLL = { NULL, NULL };
extern "C" int APIENTRY DllMain( HINSTANCE hInstance, DWORD dwReason, LPVOID lpReserved )
{
if (dwReason == DLL_PROCESS_ATTACH)
{
TRACE0("ThreadManagerD.DLL Initializing!\n");
// Extension DLL one-time initialization
AfxInitExtensionModule( ThreadManagerDLL, hInstance );
// Insert this DLL into the resource chain
new CDynLinkLibrary( ThreadManagerDLL );
}
else if (dwReason == DLL_PROCESS_DETACH)
{
TRACE0( "ThreadManagerD.DLL Terminating!\n" );
}
return( 1 ); // ok
ONLY_IN_DEBUG( lpReserved );
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -