⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 lapiplat.h

📁 IBM Lotus C++ API 7.0a for IBM Lotus Notes/Domino Directory Release --------- ------------------
💻 H
字号:
/****************************************************************************

    FILE:       lapiplat.h

    PURPOSE:    platform-specific macro definitions for toolkit samples

    DESCRIPTION:
    Notes API Toolkit version definitions and macro definitions for Notes API
    Toolkit samples to allow platform-independent sample code.  The following
    macros must be defined for each platform:

        LAPI_MAIN
        LAPI_INIT(status)
        LAPI_INIT_ERROR
        LAPI_RETURN(status)
        LAPI_DUMP_ERROR(error)

****************************************************************************/

#ifndef LAPIPLAT_DEFS
#define LAPIPLAT_DEFS

#ifdef __cplusplus
extern "C" {
#endif

#define NOTESAPI_VERSION   "Notes/Domino 7.0"
#define NOTESAPI_MAJOR_VERSION 7
#define NOTESAPI_MINOR_VERSION 0
#define NOTESAPI_MINOR_POINT_VERSION 0

/*
#if defined(EBCDIC_RTL)
#include "ascii_a.h"
#endif
*/
//replace LIBASCII with QADRT
#ifndef GLOBAL_DEFS
#include <global.h>
#endif

#ifndef OSMISC_DEFS
#include <osmisc.h>
#endif

#if defined (UNIX)
#define LPSTR char *
#endif

/****************************************************************************
*
*       LAPI_MAIN
*
****************************************************************************/

#define LAPI_MAIN  STATUS LNPUBLIC NotesMain(int argc, char far *argv[])

/****************************************************************************
*
*       LAPI_INIT
*
****************************************************************************/

#define LAPI_INIT(x)

/****************************************************************************
*
*       LAPI_INIT_ERROR
*
****************************************************************************/

#define LAPI_INIT_ERROR

/****************************************************************************
*
*       LAPI_RETURN
*
****************************************************************************/

#define LAPI_RETURN(x)   return(x)


/****************************************************************************
*
*       LAPI_DUMP_ERROR
*
*       Use in LAPI_RETURN or as a debugging tool for dumping the associated
*       error to stdout.
*
****************************************************************************/

#define LAPI_DUMP_ERROR(x)

#ifdef __cplusplus
}
#endif

#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -