{I+=codeWee;}
[C++] WinApi : Get Current Module Handle
HMODULE GetCurrentModuleHandle()
{ 
	HMODULE hMod = NULL;    
	GetModuleHandleExW(GET_MODULE_HANDLE_EX_FLAG_FROM_ADDRESS | GET_MODULE_HANDLE_EX_FLAG_UNCHANGED_REFCOUNT, 
		reinterpret_cast<LPCWSTR>(&GetCurrentModuleHandle), &hMod);     
	return hMod; 
}
HTML | PHP | C++ | DirectX11 | Javascript | C# | HTML5 | ASP | SQL | General | CSS | Oculus Rift | Unity3d | Virtools SDK | Tip | NSIS | PowerShell | node.js | Web API | RTSP | All
Copyright© 2016 CodeWee.com All rights reserved.