Package xnap.io

Examples of xnap.io.VideoFile$GUID


    int pVarResultAddress = 0;
    try {
      pVarResultAddress = OS.GlobalAlloc(OS.GMEM_FIXED | OS.GMEM_ZEROINIT,
          Variant.sizeof);
      int[] pArgErr = new int[1];
      int hr = dispatch.Invoke(dispId, new GUID(), COM.LOCALE_USER_DEFAULT,
          COM.DISPATCH_METHOD, new DISPPARAMS(), pVarResultAddress,
          new EXCEPINFO(), pArgErr);

      if (hr >= COM.S_OK) {
        return Utils.win32_new(pVarResultAddress);
View Full Code Here


  // CHECKSTYLE_OFF
  public int QueryInterface(int riid, int ppvObject) {
    if (riid == 0 || ppvObject == 0) {
      return COM.E_NOINTERFACE;
    }
    GUID guid = new GUID();
    COM.MoveMemory(guid, riid, GUID.sizeof);

    if (COM.IsEqualGUID(guid, COM.IIDIUnknown)) {
      OS.MoveMemory(ppvObject, new int[] {getAddress()}, 4);
      AddRef();
View Full Code Here

    {
  jtLength.setText("");
  jtWidth.setText("");
  jtHeight.setText("");
 
  VideoFile vf = new VideoFile(getFile());

  if (vf.parse()) {
      jtLength.setText(Formatter.formatLength(vf.getLength()));
      jtHeight.setText(vf.getHeight() + "");
      jtWidth.setText(vf.getWidth() + "");

      setStatus(null);
  }
  else {
      setStatus("Not a valid video file");
View Full Code Here

TOP

Related Classes of xnap.io.VideoFile$GUID

Copyright © 2018 www.massapicom. 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.