![JAR search and dependency download from the Maven repository](/logo.png)
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 = new Integer(0);
/**
* Indicates that the Cdecl calling convention is used for a method.
*/
public static final Integer CC_CDECL = new Integer(1);
/**
* Indicates that the Mscpascal calling convention is used for a method.
*/
public static final Integer CC_MSCPASCAL = new Integer(CC_CDECL.intValue() + (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 = new Integer(CC_PASCAL.intValue() + 1);
/**
* Indicates that the Stdcall calling convention is used for a method.
*/
public static final Integer CC_STDCALL = new Integer(CC_MACPASCAL.intValue() + 1);
public static final Integer CC_FPFASTCALL = new Integer(CC_STDCALL.intValue() + 1);
/**
* Indicates that the Syscall calling convention is used for a method.
*/
public static final Integer CC_SYSCALL = new Integer(CC_FPFASTCALL.intValue() + 1);
/**
* Indicates that the Mpwcdecl calling convention is used for a method.
*/
public static final Integer CC_MPWCDECL = new Integer(CC_SYSCALL.intValue() + 1);
/**
* Indicates that the Mpwpascal calling convention is used for a method.
*/
public static final Integer CC_MPWPASCAL = new Integer(CC_MPWCDECL.intValue() + 1);
/**
* Indicates the end of the CALLCONV enumeration.
*/
public static final Integer CC_MAX = new Integer(CC_MPWPASCAL.intValue() + 1);
}