OS.GetClassInfo (0, windowClass, lpWndClass);
OS.GetClassInfo (hInstance, windowClass, lpWndClass);
void releaseDisplay () {	if (embeddedHwnd != 0) {		OS.PostMessage (embeddedHwnd, SWT_DESTROY, 0, 0);	}	/* Unhook the message hook */	if (!OS.IsWinCE) {		if (msgHook != 0) OS.UnhookWindowsHookEx (msgHook);		msgHook = 0;	}	/* Unhook the filter hook */	if (!OS.IsWinCE) {		if (filterHook != 0) OS.UnhookWindowsHookEx (filterHook);		filterHook = 0;		msgFilterCallback.dispose ();		msgFilterCallback = null;		msgFilterProc = 0;	}		/* Unhook the idle hook */	if (!OS.IsWinCE) {		if (idleHook != 0) OS.UnhookWindowsHookEx (idleHook);		idleHook = 0;		foregroundIdleCallback.dispose ();		foregroundIdleCallback = null;		foregroundIdleProc = 0;	}		/* Destroy the message only HWND */	if (hwndMessage != 0) OS.DestroyWindow (hwndMessage);	hwndMessage = 0;	messageCallback.dispose ();	messageCallback = null;	messageProc = 0;		/* Unregister the SWT window class */	int hHeap = OS.GetProcessHeap ();	int hInstance = OS.GetModuleHandle (null);	WNDCLASS lpWndClass = new WNDCLASS ();	OS.GetClassInfo (0, windowClass, lpWndClass);	OS.UnregisterClass (windowClass, hInstance);	OS.HeapFree (hHeap, 0, lpWndClass.lpszClassName);		/* Unregister the SWT drop shadow window class */	OS.GetClassInfo (0, windowShadowClass, lpWndClass);	OS.UnregisterClass (windowShadowClass, hInstance);	OS.HeapFree (hHeap, 0, lpWndClass.lpszClassName);	windowClass = windowShadowClass = null;	windowCallback.dispose ();	windowCallback = null;	windowProc = 0;		/* Release the System fonts */	if (systemFont != null) systemFont.dispose ();	systemFont = null;	lfSystemFont = null;		/* Release the System Images */	if (errorImage != null) errorImage.dispose ();	if (infoImage != null) infoImage.dispose ();	if (questionImage != null) questionImage.dispose ();	if (warningIcon != null) warningIcon.dispose ();	errorImage = infoImage = questionImage = warningIcon = null;		/* Release Sort Indicators */	if (upArrow != null) upArrow.dispose ();	if (downArrow != null) downArrow.dispose ();	upArrow = downArrow = null;		/* Release the System Cursors */	for (int i = 0; i < cursors.length; i++) {		if (cursors [i] != null) cursors [i].dispose ();	}	cursors = null;	/* Release Acquired Resources */	if (resources != null) {		for (int i=0; i<resources.length; i++) {			if (resources [i] != null) resources [i].dispose ();		}		resources = null;	}	/* Release Custom Colors for ChooseColor */	if (lpCustColors != 0) OS.HeapFree (hHeap, 0, lpCustColors);	lpCustColors = 0;		/* Uninitialize OLE */	if (!OS.IsWinCE) {		OS.OleUninitialize ();	}		/* Release references */	thread = null;	msg = null;	keyboard = null;	modalDialogShell = null;	modalShells = null;	data = null;	keys = null;	values = null;	bars = popups = null;	indexTable = null;	controlTable = null;	lastControl = lastGetControl = lastHittestControl = null;	imageList = toolImageList = toolHotImageList = toolDisabledImageList = null;}