mirror of
				https://github.com/diamante0018/BlackOpsPlugin.git
				synced 2025-11-04 02:57:04 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			13 lines
		
	
	
		
			384 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			384 B
		
	
	
	
		
			C++
		
	
	
	
	
	
#include "std_include.hpp"
 | 
						|
#include "loader/component_loader.hpp"
 | 
						|
 | 
						|
BOOL APIENTRY DllMain(HMODULE /*module_*/, DWORD ul_reason_for_call,
 | 
						|
                      LPVOID /*reserved_*/) {
 | 
						|
  if (ul_reason_for_call == DLL_PROCESS_ATTACH) {
 | 
						|
    component_loader::post_unpack();
 | 
						|
  } else if (ul_reason_for_call == DLL_PROCESS_DETACH) {
 | 
						|
    component_loader::pre_destroy();
 | 
						|
  }
 | 
						|
 | 
						|
  return TRUE;
 | 
						|
} |