All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.jinterop.dcom.impls.automation.CallConv Maven / Gradle / Ivy

/** j-Interop (Pure Java implementation of DCOM protocol)
 * Copyright (C) 2006  Vikram Roopchand
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 3.0 of the License, or (at your option) any later version.
 *
 * Though a sincere effort has been made to deliver a professional,
 * quality product,the library itself is distributed WITHOUT ANY WARRANTY;
 * See the GNU Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the Free Software
 * Foundation Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110, USA
 */
package org.jinterop.dcom.impls.automation;

/**
 * Implements the CALLCONV data type of COM Automation.
 * 

* Definition from MSDN: Identifies the calling convention used by a member * function. * * * @since 2.0 (formerly CALLCONV) */ public interface CallConv { public static final Integer CC_FASTCALL = 0; /** * Indicates that the Cdecl calling convention is used for a method. */ public static final Integer CC_CDECL = 1; /** * Indicates that the Mscpascal calling convention is used for a method. */ public static final Integer CC_MSCPASCAL = CC_CDECL + (1); /** * Indicates that the Pascal calling convention is used for a method. */ public static final Integer CC_PASCAL = CC_MSCPASCAL; /** * Indicates that the Macpascal calling convention is used for a method. */ public static final Integer CC_MACPASCAL = CC_PASCAL + 1; /** * Indicates that the Stdcall calling convention is used for a method. */ public static final Integer CC_STDCALL = CC_MACPASCAL + 1; public static final Integer CC_FPFASTCALL = CC_STDCALL + 1; /** * Indicates that the Syscall calling convention is used for a method. */ public static final Integer CC_SYSCALL = CC_FPFASTCALL + 1; /** * Indicates that the Mpwcdecl calling convention is used for a method. */ public static final Integer CC_MPWCDECL = CC_SYSCALL + 1; /** * Indicates that the Mpwpascal calling convention is used for a method. */ public static final Integer CC_MPWPASCAL = CC_MPWCDECL + 1; /** * Indicates the end of the CALLCONV enumeration. */ public static final Integer CC_MAX = CC_MPWPASCAL + 1; }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy