Package org.jboss.resteasy.test.providers.jaxb.regression

Examples of org.jboss.resteasy.test.providers.jaxb.regression.Regression636Test$Guid


  // 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();
      return COM.S_OK;
View Full Code Here


    if (pVarResult != null)
      pVarResultAddress = OS.GlobalAlloc(OS.GMEM_FIXED | OS.GMEM_ZEROINIT, VARIANT.sizeof);
    int result =
        objIDispatch.Invoke(
            dispIdMember,
            new GUID(),
            COM.LOCALE_USER_DEFAULT,
            wFlags,
            pDispParams,
            pVarResultAddress,
            excepInfo,
View Full Code Here

   */
  private static int[] oleAutomationGetIdsOfNames(IDispatch dispatch) {
    String[] names = new String[]{"valueOf"};
    int[] ids = new int[names.length];
    int result =
        dispatch.GetIDsOfNames(new GUID(), names, names.length, COM.LOCALE_USER_DEFAULT, ids);
    if (result != COM.S_OK) {
      return null;
    }
    return ids;
  }
View Full Code Here

      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(),
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)) {
      COM.MoveMemory(ppvObject, new int[] {getAddress()}, 4);
      AddRef();
View Full Code Here

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

      if (hr >= COM.S_OK) {
        result = Variant.win32_new(pVarResultAddress);
        globalRef = result.getInt();
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

   * by hand.
   */
  private static int[] oleAutomationGetIdsOfNames(IDispatch dispatch) {
    String[] names = new String[] {"valueOf"};
    int[] ids = new int[names.length];
    int result = dispatch.GetIDsOfNames(new GUID(), names, names.length,
        COM.LOCALE_USER_DEFAULT, ids);
    if (result != COM.S_OK) {
      return null;
    }
    return ids;
View Full Code Here

    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 Variant.win32_new(pVarResultAddress);
View Full Code Here

   * by hand.
   */
  private static int[] oleAutomationGetIdsOfNames(IDispatch dispatch) {
    String[] names = new String[] {"valueOf"};
    int[] ids = new int[names.length];
    int result = dispatch.GetIDsOfNames(new GUID(), names, names.length,
        COM.LOCALE_USER_DEFAULT, ids);
    if (result != COM.S_OK) {
      return null;
    }
    return ids;
View Full Code Here

TOP

Related Classes of org.jboss.resteasy.test.providers.jaxb.regression.Regression636Test$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.