Examples of strlen()


Examples of org.eclipse.swt.internal.win32.TCHAR.strlen()

    pszText = info.dwTypeData;
    TCHAR buffer = new TCHAR(0, info.cch / TCHAR.sizeof);
    OS.MoveMemory(buffer, pszText, info.cch);
    if (pszText != 0)
      OS.HeapFree(hHeap, 0, pszText);
    return buffer.toString(0, buffer.strlen());
  }

  private void initSysMenuPopup(int style, int clsStyle) {
    boolean gray = (style & Win32.WS_THICKFRAME) == 0
        || (style & (Win32.WS_MAXIMIZE | Win32.WS_MINIMIZE)) != 0;
View Full Code Here

Examples of org.eclipse.swt.internal.win32.TCHAR.strlen()

  public static String getClassName(int handle)
  {
    TCHAR buffer = new TCHAR(0, 128);
    Extension.GetClassName(handle, buffer, buffer.length());
    return buffer.toString(0, buffer.strlen());
  }

  /**
   * Returns a desktop window handle.
   *
 
View Full Code Here

Examples of org.eclipse.swt.internal.win32.TCHAR.strlen()

   */
  public static String getWindowClassName(int handle)
  {
    TCHAR buffer = new TCHAR(0, 128);
    Extension.GetClassName(handle, buffer, buffer.length());
    return buffer.toString(0, buffer.strlen());
  }

  /**
   * Get specified window extension style.
   *
 
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.