org.eclipse.swt.win32.win32.x86_3.7.2.v3740f

_MOVE = 3;
  public static final int WM_NCACTIVATE = 134;
  public static final int WM_NCCALCSIZE = 131;
  public static final int WM_NCHITTEST = 132;
  public static final int WM_NCLBUTTONDOWN = 161;
  public static final int WM_NCPAINT = 133;
  public static final int WM_NOTIFY = 78;
  public static final int WM_NULL = 0;
  public static final int WM_PAINT = 15;
  public static final int WM_PALETTECHANGED = 785;
  public static final int WM_PARENTNOTIFY = 528;
  public static final int WM_PASTE = 770;
  public static final int WM_PRINT = 791;
  public static final int WM_PRINTCLIENT = 792;
  public static final int WM_QUERYENDSESSION = 17;
  public static final int WM_QUERYNEWPALETTE = 783;
  public static final int WM_QUERYOPEN = 19;
  public static final int WM_QUERYUISTATE = 297;
  public static final int WM_RBUTTONDBLCLK = 518;
  public static final int WM_RBUTTONDOWN = 516;
  public static final int WM_RBUTTONUP = 517;
  public static final int WM_SETCURSOR = 32;
  public static final int WM_SETFOCUS = 7;
  public static final int WM_SETFONT = 48;
  public static final int WM_SETICON = 128;
  public static final int WM_SETREDRAW = 11;
  public static final int WM_SETTEXT = 12;
  public static final int WM_SETTINGCHANGE = 26;
  public static final int WM_SHOWWINDOW = 24;
  public static final int WM_SIZE = 5;
  public static final int WM_SYSCHAR = 262;
  public static final int WM_SYSCOLORCHANGE = 21;
  public static final int WM_SYSCOMMAND = 274;
  public static final int WM_SYSKEYDOWN = 260;
  public static final int WM_SYSKEYUP = 261;
  public static final int WM_TABLET_FLICK = 715;
  public static final int WM_TIMER = 275;
  public static final int WM_THEMECHANGED = 794;
  public static final int WM_TOUCH = 576;
  public static final int WM_UNDO = 772;
  public static final int WM_UNINITMENUPOPUP = 293;
  public static final int WM_UPDATEUISTATE = 296;
  public static final int WM_USER = 1024;
  public static final int WM_VSCROLL = 277;
  public static final int WM_WINDOWPOSCHANGED = 71;
  public static final int WM_WINDOWPOSCHANGING = 70;
  public static final int WS_BORDER = 8388608;
  public static final int WS_CAPTION = 12582912;
  public static final int WS_CHILD = 1073741824;
  public static final int WS_CLIPCHILDREN = 33554432;
  public static final int WS_CLIPSIBLINGS = 67108864;
  public static final int WS_DISABLED = 67108864;
  public static final int WS_EX_APPWINDOW = 262144;
  public static final int WS_EX_CAPTIONOKBTN = Integer.MIN_VALUE;
  public static final int WS_EX_CLIENTEDGE = 512;
  public static final int WS_EX_COMPOSITED = 33554432;
  public static final int WS_EX_DLGMODALFRAME = 1;
  public static final int WS_EX_LAYERED = 524288;
  public static final int WS_EX_LAYOUTRTL = 4194304;
  public static final int WS_EX_LEFTSCROLLBAR = 16384;
  public static final int WS_EX_MDICHILD = 64;
  public static final int WS_EX_NOINHERITLAYOUT = 1048576;
  public static final int WS_EX_NOACTIVATE = 134217728;
  public static final int WS_EX_RIGHT = 4096;
  public static final int WS_EX_RTLREADING = 8192;
  public static final int WS_EX_STATICEDGE = 131072;
  public static final int WS_EX_TOOLWINDOW = 128;
  public static final int WS_EX_TOPMOST = 8;
  public static final int WS_EX_TRANSPARENT = 32;
  public static final int WS_HSCROLL = 1048576;
  public static final int WS_MAXIMIZEBOX = IsWinCE ? 131072 : 65536;
  public static final int WS_MINIMIZEBOX = IsWinCE ? 65536 : 131072;
  public static final int WS_OVERLAPPED = IsWinCE ? 12582912 : 0;
  public static final int WS_OVERLAPPEDWINDOW = 13565952;
  public static final int WS_POPUP = Integer.MIN_VALUE;
  public static final int WS_SYSMENU = 524288;
  public static final int WS_TABSTOP = 65536;
  public static final int WS_THICKFRAME = 262144;
  public static final int WS_VISIBLE = 268435456;
  public static final int WS_VSCROLL = 2097152;
  public static final int WM_XBUTTONDOWN = 523;
  public static final int WM_XBUTTONUP = 524;
  public static final int WM_XBUTTONDBLCLK = 525;
  public static final int XBUTTON1 = 1;
  public static final int XBUTTON2 = 2;
  public static final int X509_ASN_ENCODING = 1;
  public static final int PROCESS_DUP_HANDLE = 64;
  public static final int PROCESS_VM_READ = 16;
  public static final int DUPLICATE_SAME_ACCESS = 2;
  
  public static int VERSION(int major, int minor)
  {
    return major << 16 | minor;
  }
  
  public static final native int ACCEL_sizeof();
  
  public static final native int ACTCTX_sizeof();
  
  public static final native int BITMAP_sizeof();
  
  public static final native int BITMAPINFOHEADER_sizeof();
  
  public static final native int BLENDFUNCTION_sizeof();
  
  public static final native int BP_PAINTPARAMS_sizeof();
  
  public static final native int BROWSEINFO_sizeof();
  
  public static final native int BUTTON_IMAGELIST_sizeof();
  
  public static final native int CANDIDATEFORM_sizeof();
  
  public static final native int CERT_CONTEXT_sizeof();
  
  public static final native int CERT_INFO_sizeof();
  
  public static final native int CERT_NAME_BLOB_sizeof();
  
  public static final native int CERT_PUBLIC_KEY_INFO_sizeof();
  
  public static final native int CHOOSECOLOR_sizeof();
  
  public static final native int CHOOSEFONT_sizeof();
  
  public static final native int COMBOBOXINFO_sizeof();
  
  public static final native int COMPOSITIONFORM_sizeof();
  
  public static final native int CREATESTRUCT_sizeof();
  
  public static final native int CRYPT_ALGORITHM_IDENTIFIER_sizeof();
  
  public static final native int CRYPT_BIT_BLOB_sizeof();
  
  public static final native int CRYPT_INTEGER_BLOB_sizeof();
  
  public static final native int CRYPT_OBJID_BLOB_sizeof();
  
  public static final native int DEVMODEA_sizeof();
  
  public static final native int DEVMODEW_sizeof();
  
  public static final native int DIBSECTION_sizeof();
  
  public static final native int DLLVERSIONINFO_sizeof();
  
  public static final native int DOCHOSTUIINFO_sizeof();
  
  public static final native int DOCINFO_sizeof();
  
  public static final native int DRAWITEMSTRUCT_sizeof();
  
  public static final native int DROPFILES_sizeof();
  
  public static final native int DWM_BLURBEHIND_sizeof();
  
  public static final native int EMR_sizeof();
  
  public static final native int EMREXTCREATEFONTINDIRECTW_sizeof();
  
  public static final native int EXTLOGFONTW_sizeof();
  
  public static final native int EXTLOGPEN_sizeof();
  
  public static final native int FILETIME_sizeof();
  
  public static final native int FLICK_DATA_sizeof();
  
  public static final native int FLICK_POINT_sizeof();
  
  public static final native int GCP_RESULTS_sizeof();
  
  public static final native int GESTURECONFIG_sizeof();
  
  public static final native int GESTUREINFO_sizeof();
  
  public static final native int GRADIENT_RECT_sizeof();
  
  public static final native int GUITHREADINFO_sizeof();
  
  public static final native int HDITEM_sizeof();
  
  public static final native int HDLAYOUT_sizeof();
  
  public static final native int HDHITTESTINFO_sizeof();
  
  public static final native int HELPINFO_sizeof();
  
  public static final native int HIGHCONTRAST_sizeof();
  
  public static final native int ICONINFO_sizeof();
  
  public static final native int INITCOMMONCONTROLSEX_sizeof();
  
  public static final native int INPUT_sizeof();
  
  public static final native int KEYBDINPUT_sizeof();
  
  public static final native int LITEM_sizeof();
  
  public static final native int LOGBRUSH_sizeof();
  
  public static final native int LOGFONTA_sizeof();
  
  public static final native int LOGFONTW_sizeof();
  
  public static final native int LOGPEN_sizeof();
  
  public static final native int LVCOLUMN_sizeof();
  
  public static final native int LVHITTESTINFO_sizeof();
  
  public static final native int LVITEM_sizeof();
  
  public static final native int LVINSERTMARK_sizeof();
  
  public static final native int MARGINS_sizeof();
  
  public static final native int MCHITTESTINFO_sizeof();
  
  public static final native int MEASUREITEMSTRUCT_sizeof();
  
  public static final native int MENUBARINFO_sizeof();
  
  public static final native int MENUINFO_sizeof();
  
  public static final native int MENUITEMINFO_sizeof();
  
  public static final native int MINMAXINFO_sizeof();
  
  public static final native int MOUSEINPUT_sizeof();
  
  public static final native int MONITORINFO_sizeof();
  
  public static final native int MSG_sizeof();
  
  public static final native int NMCUSTOMDRAW_sizeof();
  
  public static final native int NMHDR_sizeof();
  
  public static final native int NMHEADER_sizeof();
  
  public static final native int NMLINK_sizeof();
  
  public static final native int NMLISTVIEW_sizeof();
  
  public static final native int NMLVCUSTOMDRAW_sizeof();
  
  public static final native int NMLVDISPINFO_sizeof();
  
  public static final native int NMLVFINDITEM_sizeof();
  
  public static final native int NMLVODSTATECHANGE_sizeof();
  
  public static final native int NMREBARCHEVRON_sizeof();
  
  public static final native int NMREBARCHILDSIZE_sizeof();
  
  public static final native int NMRGINFO_sizeof();
  
  public static final native int NMTBHOTITEM_sizeof();
  
  public static final native int NMTREEVIEW_sizeof();
  
  public static final native int NMTOOLBAR_sizeof();
  
  public static final native int NMTTDISPINFOA_sizeof();
  
  public static final native int NMTTDISPINFOW_sizeof();
  
  public static final native int NMTTCUSTOMDRAW_sizeof();
  
  public static final native int NMTVCUSTOMDRAW_sizeof();
  
  public static final native int NMTVDISPINFO_sizeof();
  
  public static final native int NMTVITEMCHANGE_sizeof();
  
  public static final native int NMUPDOWN_sizeof();
  
  public static final native int NONCLIENTMETRICSA_sizeof();
  
  public static final native int NONCLIENTMETRICSW_sizeof();
  
  public static final native int NOTIFYICONDATAA_V2_SIZE();
  
  public static final native int NOTIFYICONDATAW_V2_SIZE();
  
  public static final native int OFNOTIFY_sizeof();
  
  public static final native int OPENFILENAME_sizeof();
  
  public static final native int OSVERSIONINFOA_sizeof();
  
  public static final native int OSVERSIONINFOW_sizeof();
  
  public static final native int OSVERSIONINFOEXA_sizeof();
  
  public static final native int OSVERSIONINFOEXW_sizeof();
  
  public static final native int OUTLINETEXTMETRICA_sizeof();
  
  public static final native int OUTLINETEXTMETRICW_sizeof();
  
  public static final native int PAINTSTRUCT_sizeof();
  
  public static final native int PANOSE_sizeof();
  
  public static final native int POINT_sizeof();
  
  public static final native int PRINTDLG_sizeof();
  
  public static final native int PROCESS_INFORMATION_sizeof();
  
  public static final native int PROPVARIANT_sizeof();
  
  public static final native int PROPERTYKEY_sizeof();
  
  public static final native int REBARBANDINFO_sizeof();
  
  public static final native int RECT_sizeof();
  
  public static final native int SAFEARRAY_sizeof();
  
  public static final native int SAFEARRAYBOUND_sizeof();
  
  public static final native int SCRIPT_ANALYSIS_sizeof();
  
  public static final native int SCRIPT_CONTROL_sizeof();
  
  public static final native int SCRIPT_DIGITSUBSTITUTE_sizeof();
  
  public static final native int SCRIPT_FONTPROPERTIES_sizeof();
  
  public static final native int SCRIPT_ITEM_sizeof();
  
  public static final native int SCRIPT_LOGATTR_sizeof();
  
  public static final native int SCRIPT_PROPERTIES_sizeof();
  
  public static final native int SCRIPT_STATE_sizeof();
  
  public static final native int SCRIPT_STRING_ANALYSIS_sizeof();
  
  public static final native int SCROLLBARINFO_sizeof();
  
  public static final native int SCROLLINFO_sizeof();
  
  public static final native int SHACTIVATEINFO_sizeof();
  
  public static final native int SHDRAGIMAGE_sizeof();
  
  public static final native int SHELLEXECUTEINFO_sizeof();
  
  public static final native int SHFILEINFOA_sizeof();
  
  public static final native int SHFILEINFOW_sizeof();
  
  public static final native int SHMENUBARINFO_sizeof();
  
  public static final native int SHRGINFO_sizeof();
  
  public static final native int SIPINFO_sizeof();
  
  public static final native int SIZE_sizeof();
  
  public static final native int STARTUPINFO_sizeof();
  
  public static final native int SYSTEMTIME_sizeof();
  
  public static final native int TBBUTTON_sizeof();
  
  public static final native int TBBUTTONINFO_sizeof();
  
  public static final native int TCITEM_sizeof();
  
  public static final native int TCHITTESTINFO_sizeof();
  
  public static final native int TEXTMETRICA_sizeof();
  
  public static final native int TEXTMETRICW_sizeof();
  
  public static final native int TF_DA_COLOR_sizeof();
  
  public static final native int TF_DISPLAYATTRIBUTE_sizeof();
  
  public static final native int TOOLINFO_sizeof();
  
  public static final native int TOUCHINPUT_sizeof();
  
  public static final native int TRACKMOUSEEVENT_sizeof();
  
  public static final native int TRIVERTEX_sizeof();
  
  public static final native int TVHITTESTINFO_sizeof();
  
  public static final native int TVINSERTSTRUCT_sizeof();
  
  public static final native int TVITEM_sizeof();
  
  public static final native int TVITEMEX_sizeof();
  
  public static final native int TVSORTCB_sizeof();
  
  public static final native int UDACCEL_sizeof();
  
  public static final native int WINDOWPLACEMENT_sizeof();
  
  public static final native int WINDOWPOS_sizeof();
  
  public static final native int WNDCLASS_sizeof();
  
  public static final int AddFontResourceEx(TCHAR lpszFilename, int fl, int pdv)
  {
    if (IsUnicode)
    {
      char[] lpszFilename1 = lpszFilename == null ? null : chars;
      return AddFontResourceExW(lpszFilename1, fl, pdv);
    }
    byte[] lpszFilename1 = lpszFilename == null ? null : bytes;
    return AddFontResourceExA(lpszFilename1, fl, pdv);
  }
  
  public static final int AssocQueryString(int flags, int str, TCHAR pszAssoc, TCHAR pszExtra, TCHAR pszOut, int[] pcchOut)
  {
    if (IsUnicode)
    {
      char[] pszAssoc1 = pszAssoc == null ? null : chars;
      char[] pszExtra1 = pszExtra == null ? null : chars;
      char[] pszOut1 = pszOut == null ? null : chars;
      return AssocQueryStringW(flags, str, pszAssoc1, pszExtra1, pszOut1, pcchOut);
    }
    byte[] pszAssoc1 = pszAssoc == null ? null : bytes;
    byte[] pszExtra1 = pszExtra == null ? null : bytes;
    byte[] pszOut1 = pszOut == null ? null : bytes;
    return AssocQueryStringA(flags, str, pszAssoc1, pszExtra1, pszOut1, pcchOut);
  }
  
  public static final int CallWindowProc(int lpPrevWndFunc, int hWnd, int Msg, int wParam, int lParam)
  {
    if (IsUnicode) {
      return CallWindowProcW(lpPrevWndFunc, hWnd, Msg, wParam, lParam);
    }
    return CallWindowProcA(lpPrevWndFunc, hWnd, Msg, wParam, lParam);
  }
  
  public static final int CertNameToStr(int dwCertEncodingType, CERT_NAME_BLOB pName, int dwStrType, TCHAR psz, int csz)
  {
    if (IsUnicode)
    {
      char[] psz1 = psz == null ? null : chars;
      return CertNameToStrW(dwCertEncodingType, pName, dwStrType, psz1, csz);
    }
    byte[] psz1 = psz == null ? null : bytes;
    return CertNameToStrA(dwCertEncodingType, pName, dwStrType, psz1, csz);
  }
  
  public static final int CharUpper(int ch)
  {
    if (IsUnicode) {
      return CharUpperW(ch);
    }
    return CharUpperA(ch);
  }
  
  public static final int CharLower(int ch)
  {
    if (IsUnicode) {
      return CharLowerW(ch);
    }
    return CharLowerA(ch);
  }
  
  public static final boolean ChooseColor(CHOOSECOLOR lpcc)
  {
    if (IsUnicode) {
      return ChooseColorW(lpcc);
    }
    return ChooseColorA(lpcc);
  }
  
  public static final boolean ChooseFont(CHOOSEFONT chooseFont)
  {
    if (IsUnicode) {
      return ChooseFontW(chooseFont);
    }
    return ChooseFontA(chooseFont);
  }
  
  public static final int CreateActCtx(ACTCTX pActCtx)
  {
    if (IsUnicode) {
      return CreateActCtxW(pActCtx);
    }
    return CreateActCtxA(pActCtx);
  }
  
  public static final int CreateAcceleratorTable(byte[] lpaccl, int cEntries)
  {
    if (IsUnicode) {
      return CreateAcceleratorTableW(lpaccl, cEntries);
    }
    return CreateAcceleratorTableA(lpaccl, cEntries);
  }
  
  public static final int CreateDC(TCHAR lpszDriver, TCHAR lpszDevice, int lpszOutput, int lpInitData)
  {
    if (IsUnicode)
    {
      char[] lpszDriver1 = lpszDriver == null ? null : chars;
      char[] lpszDevice1 = lpszDevice == null ? null : chars;
      return CreateDCW(lpszDriver1, lpszDevice1, lpszOutput, lpInitData);
    }
    byte[] lpszDriver1 = lpszDriver == null ? null : bytes;
    byte[] lpszDevice1 = lpszDevice == null ? null : bytes;
    return CreateDCA(lpszDriver1, lpszDevice1, lpszOutput, lpInitData);
  }
  
  public static final int CreateEnhMetaFile(int hdcRef, TCHAR lpFilename, RECT lpRect, TCHAR lpDescription)
  {
    if (IsUnicode)
    {
      char[] lpFilename1 = lpFilename == null ? null : chars;
      char[] lpDescription1 = lpDescription == null ? null : chars;
      return CreateEnhMetaFileW(hdcRef, lpFilename1, lpRect, lpDescription1);
    }
    byte[] lpFilename1 = lpFilename == null ? null : bytes;
    byte[] lpDescription1 = lpDescription == null ? null : bytes;
    return CreateEnhMetaFileA(hdcRef, lpFilename1, lpRect, lpDescription1);
  }
  
  public static final int CreateFontIndirect(int lplf)
  {
    if (IsUnicode) {
      return CreateFontIndirectW(lplf);
    }
    return CreateFontIndirectA(lplf);
  }
  
  public static final int CreateFontIndirect(LOGFONT lplf)
  {
    if (IsUnicode) {
      return CreateFontIndirectW((LOGFONTW)lplf);
    }
    return CreateFontIndirectA((LOGFONTA)lplf);
  }
  
  public static final boolean CreateProcess(int lpApplicationName, int lpCommandLine, int lpProcessAttributes, int lpThreadAttributes, boolean bInheritHandles, int dwCreationFlags, int lpEnvironment, int lpCurrentDirectory, STARTUPINFO lpStartupInfo, PROCESS_INFORMATION lpProcessInformation)
  {
    if (IsUnicode) {
      return CreateProcessW(lpApplicationName, lpCommandLine, lpProcessAttributes, lpThreadAttributes, bInheritHandles, dwCreationFlags, lpEnvironment, lpCurrentDirectory, lpStartupInfo, lpProcessInformation);
    }
    return CreateProcessA(lpApplicationName, lpCommandLine, lpProcessAttributes, lpThreadAttributes, bInheritHandles, dwCreationFlags, lpEnvironment, lpCurrentDirectory, lpStartupInfo, lpProcessInformation);
  }
  
  public static final int CreateWindowEx(int dwExStyle, TCHAR lpClassName, TCHAR lpWindowName, int dwStyle, int X, int Y, int nWidth, int nHeight, int hWndParent, int hMenu, int hInstance, CREATESTRUCT lpParam)
  {
    if (IsUnicode)
    {
      char[] lpClassName1 = lpClassName == null ? null : chars;
      char[] lpWindowName1 = lpWindowName == null ? null : chars;
      return CreateWindowExW(dwExStyle, lpClassName1, lpWindowName1, dwStyle, X, Y, nWidth, nHeight, hWndParent, hMenu, hInstance, lpParam);
    }
    byte[] lpClassName1 = lpClassName == null ? null : bytes;
    byte[] lpWindowName1 = lpWindowName == null ? null : bytes;
    return CreateWindowExA(dwExStyle, lpClassName1, lpWindowName1, dwStyle, X, Y, nWidth, nHeight, hWndParent, hMenu, hInstance, lpParam);
  }
  
  public static final int DefMDIChildProc(int hWnd, int Msg, int wParam, int lParam)
  {
    if (IsUnicode) {
      return DefMDIChildProcW(hWnd, Msg, wParam, lParam);
    }
    return DefMDIChildProcA(hWnd, Msg, wParam, lParam);
  }
  
  public static final int DefFrameProc(int hWnd, int hWndMDIClient, int Msg, int wParam, int lParam)
  {
    if (IsUnicode) {
      return DefFrameProcW(hWnd, hWndMDIClient, Msg, wParam, lParam);
    }
    return DefFrameProcA(hWnd, hWndMDIClient, Msg, wParam, lParam);
  }
  
  public static final int DefWindowProc(int hWnd, int Msg, int wParam, int lParam)
  {
    if (IsUnicode) {
      return DefWindowProcW(hWnd, Msg, wParam, lParam);
    }
    return DefWindowProcA(hWnd, Msg, wParam, lParam);
  }
  
  public static final int DispatchMessage(MSG lpmsg)
  {
    if (IsUnicode) {
      return DispatchMessageW(lpmsg);
    }
    return DispatchMessageA(lpmsg);
  }
  
  public static final int DocumentProperties(int hWnd, int hPrinter, TCHAR pDeviceName, int pDevModeOutput, int pDevModeInput, int fMode)
  {
    if (IsUnicode)
    {
      char[] pDeviceName1 = pDeviceName == null ? null : chars;
      return DocumentPropertiesW(hWnd, hPrinter, pDeviceName1, pDevModeOutput, pDevModeInput, fMode);
    }
    byte[] pDeviceName1 = pDeviceName == null ? null : bytes;
    return DocumentPropertiesA(hWnd, hPrinter, pDeviceName1, pDevModeOutput, pDevModeInput, fMode);
  }
  
  public static final int DragQueryFile(int hDrop, int iFile, TCHAR lpszFile, int cch)
  {
    if (IsUnicode)
    {
      char[] lpszFile1 = lpszFile == null ? null : chars;
      return DragQueryFileW(hDrop, iFile, lpszFile1, cch);
    }
    byte[] lpszFile1 = lpszFile == null ? null : bytes;
    return DragQueryFileA(hDrop, iFile, lpszFile1, cch);
  }
  
  public static final boolean DrawState(int hdc, int hbr, int lpOutputFunc, int lData, int wData, int x, int y, int cx, int cy, int fuFlags)
  {
    if (IsUnicode) {
      return DrawStateW(hdc, hbr, lpOutputFunc, lData, wData, x, y, cx, cy, fuFlags);
    }
    return DrawStateA(hdc, hbr, lpOutputFunc, lData, wData, x, y, cx, cy, fuFlags);
  }
  
  public static final int DrawText(int hDC, TCHAR lpString, int nCount, RECT lpRect, int uFormat)
  {
    if (IsUnicode)
    {
      char[] lpString1 = lpString == null ? null : chars;
      return DrawTextW(hDC, lpString1, nCount, lpRect, uFormat);
    }
    byte[] lpString1 = lpString == null ? null : bytes;
    return DrawTextA(hDC, lpString1, nCount, lpRect, uFormat);
  }
  
  public static final int EnumFontFamilies(int hdc, TCHAR lpszFamily, int lpEnumFontFamProc, int lParam)
  {
    if (IsUnicode)
    {
      char[] lpszFamily1 = lpszFamily == null ? null : chars;
      return EnumFontFamiliesW(hdc, lpszFamily1, lpEnumFontFamProc, lParam);
    }
    byte[] lpszFamily1 = lpszFamily == null ? null : bytes;
    return EnumFontFamiliesA(hdc, lpszFamily1, lpEnumFontFamProc, lParam);
  }
  
  public static final int EnumFontFamiliesEx(int hdc, LOGFONT lpLogfont, int lpEnumFontFamExProc, int lParam, int dwFlags)
  {
    if (IsUnicode) {
      return EnumFontFamiliesExW(hdc, (LOGFONTW)lpLogfont, lpEnumFontFamExProc, lParam, dwFlags);
    }
    return EnumFontFamiliesExA(hdc, (LOGFONTA)lpLogfont, lpEnumFontFamExProc, lParam, dwFlags);
  }
  
  public static final boolean EnumSystemLocales(int lpLocaleEnumProc, int dwFlags)
  {
    if (IsUnicode) {
      return EnumSystemLocalesW(lpLocaleEnumProc, dwFlags);
    }
    return EnumSystemLocalesA(lpLocaleEnumProc, dwFlags);
  }
  
  public static final boolean EnumSystemLanguageGroups(int pLangGroupEnumProc, int dwFlags, int lParam)
  {
    if (IsUnicode) {
      return EnumSystemLanguageGroupsW(pLangGroupEnumProc, dwFlags, lParam);
    }
    return EnumSystemLanguageGroupsA(pLangGroupEnumProc, dwFlags, lParam);
  }
  
  public static final int ExpandEnvironmentStrings(TCHAR lpSrc, TCHAR lpDst, int nSize)
  {
    if (IsUnicode)
    {
      char[] lpSrc1 = lpSrc == null ? null : chars;
      char[] lpDst1 = lpDst == null ? null : chars;
      return ExpandEnvironmentStringsW(lpSrc1, lpDst1, nSize);
    }
    byte[] lpSrc1 = lpSrc == null ? null : bytes;
    byte[] lpDst1 = lpDst == null ? null : bytes;
    return ExpandEnvironmentStringsA(lpSrc1, lpDst1, nSize);
  }
  
  public static final int ExtractIconEx(TCHAR lpszFile, int nIconIndex, int[] phiconLarge, int[] phiconSmall, int nIcons)
  {
    if (IsUnicode)
    {
      char[] lpszFile1 = lpszFile == null ? null : chars;
      return ExtractIconExW(lpszFile1, nIconIndex, phiconLarge, phiconSmall, nIcons);
    }
    byte[] lpszFile1 = lpszFile == null ? null : bytes;
    return ExtractIconExA(lpszFile1, nIconIndex, phiconLarge, phiconSmall, nIcons);
  }
  
  public static final boolean ExtTextOut(int hdc, int X, int Y, int fuOptions, RECT lprc, TCHAR lpString, int cbCount, int[] lpDx)
  {
    if (IsUnicode)
    {
      char[] lpString1 = lpString == null ? null : chars;
      return ExtTextOutW(hdc, X, Y, fuOptions, lprc, lpString1, cbCount, lpDx);
    }
    byte[] lpString1 = lpString == null ? null : bytes;
    return ExtTextOutA(hdc, X, Y, fuOptions, lprc, lpString1, cbCount, lpDx);
  }
  
  public static final int FindWindow(TCHAR lpClassName, TCHAR lpWindowName)
  {
    if (IsUnicode)
    {
      char[] lpClassName1 = lpClassName == null ? null : chars;
      char[] lpWindowName1 = lpWindowName == null ? null : chars;
      return FindWindowW(lpClassName1, lpWindowName1);
    }
    byte[] lpClassName1 = lpClassName == null ? null : bytes;
    byte[] lpWindowName1 = lpWindowName == null ? null : bytes;
    return FindWindowA(lpClassName1, lpWindowName1);
  }
  
  public static final int FormatMessage(int dwFlags, int lpSource, int dwMessageId, int dwLanguageId, int[] lpBuffer, int nSize, int Arguments)
  {
    if (IsUnicode) {
      return FormatMessageW(dwFlags, lpSource, dwMessageId, dwLanguageId, lpBuffer, nSize, Arguments);
    }
    return FormatMessageA(dwFlags, lpSource, dwMessageId, dwLanguageId, lpBuffer, nSize, Arguments);
  }
  
  public static final boolean GetCharABCWidths(int hdc, int iFirstChar, int iLastChar, int[] lpabc)
  {
    if (IsUnicode) {
      return GetCharABCWidthsW(hdc, iFirstChar, iLastChar, lpabc);
    }
    return GetCharABCWidthsA(hdc, iFirstChar, iLastChar, lpabc);
  }
  
  public static final int GetCharacterPlacement(int hdc, TCHAR lpString, int nCount, int nMaxExtent, GCP_RESULTS lpResults, int dwFlags)
  {
    if (IsUnicode)
    {
      char[] lpString1 = lpString == null ? null : chars;
      return GetCharacterPlacementW(hdc, lpString1, nCount, nMaxExtent, lpResults, dwFlags);
    }
    byte[] lpString1 = lpString == null ? null : bytes;
    return GetCharacterPlacementA(hdc, lpString1, nCount, nMaxExtent, lpResults, dwFlags);
  }
  
  public static final boolean GetCharWidth(int hdc, int iFirstChar, int iLastChar, int[] lpabc)
  {
    if (IsUnicode) {
      return GetCharWidthW(hdc, iFirstChar, iLastChar, lpabc);
    }
    return GetCharWidthA(hdc, iFirstChar, iLastChar, lpabc);
  }
  
  public static final boolean GetClassInfo(int hInstance, TCHAR lpClassName, WNDCLASS lpWndClass)
  {
    if (IsUnicode)
    {
      char[] lpClassName1 = lpClassName == null ? null : chars;
      return GetClassInfoW(hInstance, lpClassName1, lpWndClass);
    }
    byte[] lpClassName1 = lpClassName == null ? null : bytes;
    return GetClassInfoA(hInstance, lpClassName1, lpWndClass);
  }
  
  public static final int GetClassName(int hWnd, TCHAR lpClassName, int nMaxCount)
  {
    if (IsUnicode)
    {
      char[] lpClassName1 = lpClassName == null ? null : chars;
      return GetClassNameW(hWnd, lpClassName1, nMaxCount);
    }
    byte[] lpClassName1 = lpClassName == null ? null : bytes;
    return GetClassNameA(hWnd, lpClassName1, nMaxCount);
  }
  
  public static final int GetClipboardFormatName(int format, TCHAR lpszFormatName, int cchMaxCount)
  {
    if (IsUnicode)
    {
      char[] lpszFormatName1 = lpszFormatName == null ? null : chars;
      return GetClipboardFormatNameW(format, lpszFormatName1, cchMaxCount);
    }
    byte[] lpszFormatName1 = lpszFormatName == null ? null : bytes;
    return GetClipboardFormatNameA(format, lpszFormatName1, cchMaxCount);
  }
  
  public static final int GetDateFormat(int Locale, int dwFlags, SYSTEMTIME lpDate, TCHAR lpFormat, TCHAR lpDateStr, int cchDate)
  {
    if (IsUnicode)
    {
      char[] lpString1 = lpFormat == null ? null : chars;
      char[] lpString2 = lpDateStr == null ? null : chars;
      return GetDateFormatW(Locale, dwFlags, lpDate, lpString1, lpString2, cchDate);
    }
    byte[] lpString1 = lpFormat == null ? null : bytes;
    byte[] lpString2 = lpDateStr == null ? null : bytes;
    return GetDateFormatA(Locale, dwFlags, lpDate, lpString1, lpString2, cchDate);
  }
  
  public static final int GetKeyNameText(int lParam, TCHAR lpString, int nSize)
  {
    if (IsUnicode)
    {
      char[] lpString1 = lpString == null ? null : chars;
      return GetKeyNameTextW(lParam, lpString1, nSize);
    }
    byte[] lpString1 = lpString == null ? null : bytes;
    return GetKeyNameTextA(lParam, lpString1, nSize);
  }
  
  public static final int GetLocaleInfo(int Locale, int LCType, TCHAR lpLCData, int cchData)
  {
    if (IsUnicode)
    {
      char[] lpLCData1 = lpLCData == null ? null : chars;
      return GetLocaleInfoW(Locale, LCType, lpLCData1, cchData);
    }
    byte[] lpLCData1 = lpLCData == null ? null : bytes;
    return GetLocaleInfoA(Locale, LCType, lpLCData1, cchData);
  }
  
  public static final boolean GetMenuItemInfo(int hMenu, int uItem, boolean fByPosition, MENUITEMINFO lpmii)
  {
    if (IsUnicode) {
      return GetMenuItemInfoW(hMenu, uItem, fByPosition, lpmii);
    }
    return GetMenuItemInfoA(hMenu, uItem, fByPosition, lpmii);
  }
  
  public static final boolean GetMessage(MSG lpMsg, int hWnd, int wMsgFilterMin, int wMsgFilterMax)
  {
    if (IsUnicode) {
      return GetMessageW(lpMsg, hWnd, wMsgFilterMin, wMsgFilterMax);
    }
    return GetMessageA(lpMsg, hWnd, wMsgFilterMin, wMsgFilterMax);
  }
  
  public static final int GetModuleFileName(int hModule, TCHAR lpFilename, int inSize)
  {
    if (IsUnicode)
    {
      char[] lpFilename1 = lpFilename == null ? null : chars;
      return GetModuleFileNameW(hModule, lpFilename1, inSize);
    }
    byte[] lpFilename1 = lpFilename == null ? null : bytes;
    return GetModuleFileNameA(hModule, lpFilename1, inSize);
  }
  
  public static final int GetModuleHandle(TCHAR lpModuleName)
  {
    if (IsUnicode)
    {
      char[] lpModuleName1 = lpModuleName == null ? null : chars;
      return GetModuleHandleW(lpModuleName1);
    }
    byte[] lpModuleName1 = lpModuleName == null ? null : bytes;
    return GetModuleHandleA(lpModuleName1);
  }
  
  public static final boolean GetMonitorInfo(int hmonitor, MONITORINFO lpmi)
  {
    if (IsUnicode) {
      return GetMonitorInfoW(hmonitor, lpmi);
    }
    return GetMonitorInfoA(hmonitor, lpmi);
  }
  
  public static final int GetObject(int hgdiobj, int cbBuffer, BITMAP lpvObject)
  {
    if (IsUnicode) {
      return GetObjectW(hgdiobj, cbBuffer, lpvObject);
    }
    return GetObjectA(hgdiobj, cbBuffer, lpvObject);
  }
  
  public static final int GetObject(int hgdiobj, int cbBuffer, DIBSECTION lpvObject)
  {
    if (IsUnicode) {
      return GetObjectW(hgdiobj, cbBuffer, lpvObject);
    }
    return GetObjectA(hgdiobj, cbBuffer, lpvObject);
  }
  
  public static final int GetObject(int hgdiobj, int cbBuffer, EXTLOGPEN lpvObject)
  {
    if (IsUnicode) {
      return GetObjectW(hgdiobj, cbBuffer, lpvObject);
    }
    return GetObjectA(hgdiobj, cbBuffer, lpvObject);
  }
  
  public static final int GetObject(int hgdiobj, int cbBuffer, LOGBRUSH lpvObject)
  {
    if (IsUnicode) {
      return GetObjectW(hgdiobj, cbBuffer, lpvObject);
    }
    return GetObjectA(hgdiobj, cbBuffer, lpvObject);
  }
  
  public static final int GetObject(int hgdiobj, int cbBuffer, LOGFONT lpvObject)
  {
    if (IsUnicode) {
      return GetObjectW(hgdiobj, cbBuffer, (LOGFONTW)lpvObject);
    }
    return GetObjectA(hgdiobj, cbBuffer, (LOGFONTA)lpvObject);
  }
  
  public static final int GetObject(int hgdiobj, int cbBuffer, LOGPEN lpvObject)
  {
    if (IsUnicode) {
      return GetObjectW(hgdiobj, cbBuffer, lpvObject);
    }
    return GetObjectA(hgdiobj, cbBuffer, lpvObject);
  }
  
  public static final int GetObject(int hgdiobj, int cbBuffer, int lpvObject)
  {
    if (IsUnicode) {
      return GetObjectW(hgdiobj, cbBuffer, lpvObject);
    }
    return GetObjectA(hgdiobj, cbBuffer, lpvObject);
  }
  
  public static final boolean GetOpenFileName(OPENFILENAME lpofn)
  {
    if (IsUnicode) {
      return GetOpenFileNameW(lpofn);
    }
    return GetOpenFileNameA(lpofn);
  }
  
  public static final int GetOutlineTextMetrics(int hdc, int cbData, OUTLINETEXTMETRIC lpOTM)
  {
    if (IsUnicode) {
      return GetOutlineTextMetricsW(hdc, cbData, (OUTLINETEXTMETRICW)lpOTM);
    }
    return GetOutlineTextMetricsA(hdc, cbData, (OUTLINETEXTMETRICA)lpOTM);
  }
  
  public static final int GetProfileString(TCHAR lpAppName, TCHAR lpKeyName, TCHAR lpDefault, TCHAR lpReturnedString, int nSize)
  {
    if (IsUnicode)
    {
      char[] lpAppName1 = lpAppName == null ? null : chars;
      char[] lpKeyName1 = lpKeyName == null ? null : chars;
      char[] lpDefault1 = lpDefault == null ? null : chars;
      char[] lpReturnedString1 = lpReturnedString == null ? null : chars;
      return GetProfileStringW(lpAppName1, lpKeyName1, lpDefault1, lpReturnedString1, nSize);
    }
    byte[] lpAppName1 = lpAppName == null ? null : bytes;
    byte[] lpKeyName1 = lpKeyName == null ? null : bytes;
    byte[] lpDefault1 = lpDefault == null ? null : bytes;
    byte[] lpReturnedString1 = lpReturnedString == null ? null : bytes;
    return GetProfileStringA(lpAppName1, lpKeyName1, lpDefault1, lpReturnedString1, nSize);
  }
  
  public static int GetProp(int hWnd, int lpString)
  {
    if (IsUnicode) {
      return GetPropW(hWnd, lpString);
    }
    return GetPropA(hWnd, lpString);
  }
  
  public static final boolean GetSaveFileName(OPENFILENAME lpofn)
  {
    if (IsUnicode) {
      return GetSaveFileNameW(lpofn);
    }
    return GetSaveFileNameA(lpofn);
  }
  
  public static final void GetStartupInfo(STARTUPINFO lpStartupInfo)
  {
    if (IsUnicode) {
      GetStartupInfoW(lpStartupInfo);
    } else {
      GetStartupInfoA(lpStartupInfo);
    }
  }
  
  public static final boolean GetTextExtentPoint32(int hdc, TCHAR lpString, int cbString, SIZE lpSize)
  {
    if (IsUnicode)
    {
      char[] lpString1 = lpString == null ? null : chars;
      return GetTextExtentPoint32W(hdc, lpString1, cbString, lpSize);
    }
    byte[] lpString1 = lpString == null ? null : bytes;
    return GetTextExtentPoint32A(hdc, lpString1, cbString, lpSize);
  }
  
  public static final boolean GetTextMetrics(int hdc, TEXTMETRIC lptm)
  {
    if (IsUnicode) {
      return GetTextMetricsW(hdc, (TEXTMETRICW)lptm);
    }
    return GetTextMetricsA(hdc, (TEXTMETRICA)lptm);
  }
  
  public static final int GetTimeFormat(int Locale, int dwFlags, SYSTEMTIME lpTime, TCHAR lpFormat, TCHAR lpTimeStr, int cchTime)
  {
    if (IsUnicode)
    {
      char[] lpString1 = lpFormat == null ? null : chars;
      char[] lpString2 = lpTimeStr == null ? null : chars;
      return GetTimeFormatW(Locale, dwFlags, lpTime, lpString1, lpString2, cchTime);
    }
    byte[] lpString1 = lpFormat == null ? null : bytes;
    byte[] lpString2 = lpTimeStr == null ? null : bytes;
    return GetTimeFormatA(Locale, dwFlags, lpTime, lpString1, lpString2, cchTime);
  }
  
  public static final boolean GetVersionEx(OSVERSIONINFO lpVersionInfo)
  {
    if (IsUnicode) {
      return GetVersionExW((OSVERSIONINFOW)lpVersionInfo);
    }
    return GetVersionExA((OSVERSIONINFOA)lpVersionInfo);
  }
  
  public static final boolean GetVersionEx(OSVERSIONINFOEX lpVersionInfo)
  {
    if (IsUnicode) {
      return GetVersionExW((OSVERSIONINFOEXW)lpVersionInfo);
    }
    return GetVersionExA((OSVERSIONINFOEXA)lpVersionInfo);
  }
  
  public static final int GetWindowLong(int hWnd, int nIndex)
  {
    if (IsUnicode) {
      return GetWindowLongW(hWnd, nIndex);
    }
    return GetWindowLongA(hWnd, nIndex);
  }
  
  public static final int GetWindowLongPtr(int hWnd, int nIndex)
  {
    if (IsUnicode) {
      return GetWindowLongPtrW(hWnd, nIndex);
    }
    return GetWindowLongPtrA(hWnd, nIndex);
  }
  
  public static final int GetWindowText(int hWnd, TCHAR lpString, int nMaxCount)
  {
    if (IsUnicode)
    {
      char[] lpString1 = lpString == null ? null : chars;
      return GetWindowTextW(hWnd, lpString1, nMaxCount);
    }
    byte[] lpString1 = lpString == null ? null : bytes;
    return GetWindowTextA(hWnd, lpString1, nMaxCount);
  }
  
  public static final int GetWindowTextLength(int hWnd)
  {
    if (IsUnicode) {
      return GetWindowTextLengthW(hWnd);
    }
    return GetWindowTextLengthA(hWnd);
  }
  
  public static final int GlobalAddAtom(TCHAR lpString)
  {
    if (IsUnicode)
    {
      char[] lpString1 = lpString == null ? null : chars;
      return GlobalAddAtomW(lpString1);
    }
    byte[] lpString1 = lpString == null ? null : bytes;
    return GlobalAddAtomA(lpString1);
  }
  
  public static final boolean ImmGetCompositionFont(int hIMC, LOGFONT lplf)
  {
    if (IsUnicode) {
      return ImmGetCompositionFontW(hIMC, (LOGFONTW)lplf);
    }
    return ImmGetCompositionFontA(hIMC, (LOGFONTA)lplf);
  }
  
  public static final boolean ImmSetCompositionFont(int hIMC, LOGFONT lplf)
  {
    if (IsUnicode) {
      return ImmSetCompositionFontW(hIMC, (LOGFONTW)lplf);
    }
    return ImmSetCompositionFontA(hIMC, (LOGFONTA)lplf);
  }
  
  public static final int ImmGetCompositionString(int hIMC, int dwIndex, byte[] lpBuf, int dwBufLen)
  {
    if (IsUnicode) {
      return ImmGetCompositionStringW(hIMC, dwIndex, lpBuf, dwBufLen);
    }
    return ImmGetCompositionStringA(hIMC, dwIndex, lpBuf, dwBufLen);
  }
  
  public static final int ImmGetCompositionString(int hIMC, int dwIndex, int[] lpBuf, int dwBufLen)
  {
    if (IsUnicode) {
      return ImmGetCompositionStringW(hIMC, dwIndex, lpBuf, dwBufLen);
    }
    return ImmGetCompositionStringA(hIMC, dwIndex, lpBuf, dwBufLen);
  }
  
  public static final int ImmGetCompositionString(int hIMC, int dwIndex, TCHAR lpBuf, int dwBufLen)
  {
    if (IsUnicode)
    {
      char[] lpBuf1 = lpBuf == null ? null : chars;
      return ImmGetCompositionStringW(hIMC, dwIndex, lpBuf1, dwBufLen);
    }
    byte[] lpBuf1 = lpBuf == null ? null : bytes;
    return ImmGetCompositionStringA(hIMC, dwIndex, lpBuf1, dwBufLen);
  }
  
  public static final boolean InternetGetCookie(TCHAR lpszUrl, TCHAR lpszCookieName, TCHAR lpszCookieData, int[] lpdwSize)
  {
    if (IsUnicode)
    {
      char[] url = lpszUrl == null ? null : chars;
      char[] cookieName = lpszCookieName == null ? null : chars;
      char[] cookieData = lpszCookieData == null ? null : chars;
      return InternetGetCookieW(url, cookieName, cookieData, lpdwSize);
    }
    byte[] url = lpszUrl == null ? null : bytes;
    byte[] cookieName = lpszCookieName == null ? null : bytes;
    byte[] cookieData = lpszCookieData == null ? null : bytes;
    return InternetGetCookieA(url, cookieName, cookieData, lpdwSize);
  }
  
  public static final boolean InternetSetCookie(TCHAR lpszUrl, TCHAR lpszCookieName, TCHAR lpszCookieData)
  {
    if (IsUnicode)
    {
      char[] url = lpszUrl == null ? null : chars;
      char[] cookieName = lpszCookieName == null ? null : chars;
      char[] cookieData = lpszCookieData == null ? null : chars;
      return InternetSetCookieW(url, cookieName, cookieData);
    }
    byte[] url = lpszUrl == null ? null : bytes;
    byte[] cookieName = lpszCookieName == null ? null : bytes;
    byte[] cookieData = lpszCookieData == null ? null : bytes;
    return InternetSetCookieA(url, cookieName, cookieData);
  }
  
  public static final boolean InsertMenu(int hMenu, int uPosition, int uFlags, int uIDNewItem, TCHAR lpNewItem)
  {
    if (IsUnicode)
    {
      char[] lpNewItem1 = lpNewItem == null ? null : chars;
      return InsertMenuW(hMenu, uPosition, uFlags, uIDNewItem, lpNewItem1);
    }
    byte[] lpNewItem1 = lpNewItem == null ? null : bytes;
    return InsertMenuA(hMenu, uPosition, uFlags, uIDNewItem, lpNewItem1);
  }
  
  public static final boolean InsertMenuItem(int hMenu, int uItem, boolean fByPosition, MENUITEMINFO lpmii)
  {
    if (IsUnicode) {
      return Insert
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146

Further reading...

For more information on Java 1.5 Tiger, you may find Java 1.5 Tiger, A developer's Notebook by D. Flanagan and B. McLaughlin from O'Reilly of interest.

New!JAR listings


Copyright 2006-2017. Infinite Loop Ltd