예제 #1
0
파일: ExtMFD.cpp 프로젝트: Artoria2e5/obtr
DLLCLBK void ExitModule (HINSTANCE hDLL)
{
	// Unregister window classes
	UnregisterClass ("ExtMFD_Display", g_hInst);
	UnregisterClass ("ExtMFD_Button", g_hInst);

	// Free bitmap resources
	DeleteObject (g_hPin);

	// Unregister the custom function in Orbiter
	oapiUnregisterCustomCmd (g_dwCmd);
}
예제 #2
0
MGAFinder::~MGAFinder() {
	oapiUnregisterCustomCmd(dwCmd);
}