wndCls.set_hCursor(0);
wndCls.set_lpszClassName(namePtr);
short classAtom = win32.RegisterClassExW(wndCls);
int winError = win32.GetLastError();
namePtr.unlock();
if (classAtom == 0) {
// awt.1A=Failed to register window class {0} GetLastError returned {1}
throw new InternalError(Messages.getString("awt.1A", //$NON-NLS-1$
className, winError));