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

📄 cvisrvr.c

📁 使用ActiveX控件控制NI公司的Labwindows/CVI开发环境。
💻 C
📖 第 1 页 / 共 4 页
字号:
    unsigned int __paramTypes[] = {CAVT_CSTRING, CAVT_LONG, CAVT_LONG};

    __result = CA_MethodInvoke (objectHandle, errorInfo, 0x46, CAVT_LONG,
                                returnValue, 3, __paramTypes, fpFilePath,
                                language, includeInstrDriverHeader);

    return __result;
}

HRESULT CVIFUNC CVI_AppSetDllImportLibraryChoices (CAObjHandle objectHandle,
                                                   ERRORINFO *errorInfo,
                                                   long forAllCompilers,
                                                   long useVXIPnPDir,
                                                   long *returnValue)
{
    HRESULT __result;
    unsigned int __paramTypes[] = {CAVT_LONG, CAVT_LONG};

    __result = CA_MethodInvoke (objectHandle, errorInfo, 0x47, CAVT_LONG,
                                returnValue, 2, __paramTypes, forAllCompilers,
                                useVXIPnPDir);

    return __result;
}

HRESULT CVIFUNC CVI_AppSetProjectWindowZoom (CAObjHandle objectHandle,
                                             ERRORINFO *errorInfo,
                                             enum CVIEnum_CVIWindowZoom zoomState,
                                             long *returnValue)
{
    HRESULT __result;
    unsigned int __paramTypes[] = {CAVT_LONG};

    __result = CA_MethodInvoke (objectHandle, errorInfo, 0x48, CAVT_LONG,
                                returnValue, 1, __paramTypes, zoomState);

    return __result;
}

HRESULT CVIFUNC CVI_AppAddIncludePath (CAObjHandle objectHandle,
                                       ERRORINFO *errorInfo,
                                       char *includePathString,
                                       enum CVIEnum_CVICompilerIncludeList whichList,
                                       long *returnValue)
{
    HRESULT __result;
    unsigned int __paramTypes[] = {CAVT_CSTRING, CAVT_LONG};

    __result = CA_MethodInvoke (objectHandle, errorInfo, 0x49, CAVT_LONG,
                                returnValue, 2, __paramTypes,
                                includePathString, whichList);

    return __result;
}

HRESULT CVIFUNC CVI_AppGetDebugExecutionState (CAObjHandle objectHandle,
                                               ERRORINFO *errorInfo,
                                               enum CVIEnum_CVIDebugExecutionState *exeState,
                                               long *returnValue)
{
    HRESULT __result;
    unsigned int __paramTypes[] = {CAVT_LONG | CAVT_BYREFO};

    __result = CA_MethodInvoke (objectHandle, errorInfo, 0x4A, CAVT_LONG,
                                returnValue, 1, __paramTypes, exeState);

    return __result;
}

HRESULT CVIFUNC CVI_AppSetDebugExecutionState (CAObjHandle objectHandle,
                                               ERRORINFO *errorInfo,
                                               enum CVIEnum_CVIDebugExecutionState exeState,
                                               long *returnValue)
{
    HRESULT __result;
    unsigned int __paramTypes[] = {CAVT_LONG};

    __result = CA_MethodInvoke (objectHandle, errorInfo, 0x4B, CAVT_LONG,
                                returnValue, 1, __paramTypes, exeState);

    return __result;
}

HRESULT CVIFUNC CVI_AppSetDllExportOption (CAObjHandle objectHandle,
                                           ERRORINFO *errorInfo,
                                           enum CVIEnum_CVIDllExportOptions exportOption,
                                           long *returnValue)
{
    HRESULT __result;
    unsigned int __paramTypes[] = {CAVT_LONG};

    __result = CA_MethodInvoke (objectHandle, errorInfo, 0x4C, CAVT_LONG,
                                returnValue, 1, __paramTypes, exportOption);

    return __result;
}

HRESULT CVIFUNC CVI_AppSetDllDebuggingOption (CAObjHandle objectHandle,
                                              ERRORINFO *errorInfo, long enabled,
                                              long *returnValue)
{
    HRESULT __result;
    unsigned int __paramTypes[] = {CAVT_LONG};

    __result = CA_MethodInvoke (objectHandle, errorInfo, 0x4D, CAVT_LONG,
                                returnValue, 1, __paramTypes, enabled);

    return __result;
}

HRESULT CVIFUNC CVI_AppSetProjPathSaveOption (CAObjHandle objectHandle,
                                              ERRORINFO *errorInfo,
                                              long saveOrigProjPath,
                                              long *returnValue)
{
    HRESULT __result;
    unsigned int __paramTypes[] = {CAVT_LONG};

    __result = CA_MethodInvoke (objectHandle, errorInfo, 0x4E, CAVT_LONG,
                                returnValue, 1, __paramTypes, saveOrigProjPath);

    return __result;
}

HRESULT CVIFUNC CVI_AppGenWinHelpFileFromFPFile (CAObjHandle objectHandle,
                                                 ERRORINFO *errorInfo,
                                                 char *fpFilePath,
                                                 enum CVIEnum_CVIFTGenHelpLang language,
                                                 long includeInstrDriverHeader,
                                                 long *returnValue)
{
    HRESULT __result;
    unsigned int __paramTypes[] = {CAVT_CSTRING, CAVT_LONG, CAVT_LONG};

    __result = CA_MethodInvoke (objectHandle, errorInfo, 0x4F, CAVT_LONG,
                                returnValue, 3, __paramTypes, fpFilePath,
                                language, includeInstrDriverHeader);

    return __result;
}

HRESULT CVIFUNC CVI_AppGoToDefinition (CAObjHandle objectHandle,
                                       ERRORINFO *errorInfo, char *identifier,
                                       long promptNotFoundDialog,
                                       long *foundDefinition, long *returnValue)
{
    HRESULT __result;
    unsigned int __paramTypes[] = {CAVT_CSTRING, CAVT_LONG,
                                   CAVT_LONG | CAVT_BYREFO};

    __result = CA_MethodInvoke (objectHandle, errorInfo, 0x50, CAVT_LONG,
                                returnValue, 3, __paramTypes, identifier,
                                promptNotFoundDialog, foundDefinition);

    return __result;
}

HRESULT CVIFUNC CVI_AppSetActiveConfiguration (CAObjHandle objectHandle,
                                               ERRORINFO *errorInfo,
                                               enum CVIEnum_CVIBuildConfigurationOptions buildOption,
                                               long *returnValue)
{
    HRESULT __result;
    unsigned int __paramTypes[] = {CAVT_LONG};

    __result = CA_MethodInvoke (objectHandle, errorInfo, 0x51, CAVT_LONG,
                                returnValue, 1, __paramTypes, buildOption);

    return __result;
}

HRESULT CVIFUNC CVI_AppSetDllExportHeaderFiles (CAObjHandle objectHandle,
                                                ERRORINFO *errorInfo,
                                                SAFEARRAY *headerFilenames,
                                                long *returnValue)
{
    HRESULT __result;
    unsigned int __paramTypes[] = {CAVT_CSTRING | CAVT_ARRAY};

    __result = CA_MethodInvoke (objectHandle, errorInfo, 0x52, CAVT_LONG,
                                returnValue, 1, __paramTypes, headerFilenames);

    return __result;
}

HRESULT CVIFUNC CVI_AppGetDebuggeeProcessId (CAObjHandle objectHandle,
                                             ERRORINFO *errorInfo,
                                             long *processId, long *returnValue)
{
    HRESULT __result;
    unsigned int __paramTypes[] = {CAVT_LONG | CAVT_BYREFO};

    __result = CA_MethodInvoke (objectHandle, errorInfo, 0x53, CAVT_LONG,
                                returnValue, 1, __paramTypes, processId);

    return __result;
}

HRESULT CVIFUNC CVI_AppReservedFunc1 (CAObjHandle objectHandle,
                                      ERRORINFO *errorInfo, char *arg1,
                                      char *arg2, char *arg3, long arg4,
                                      long *returnValue)
{
    HRESULT __result;
    unsigned int __paramTypes[] = {CAVT_CSTRING, CAVT_CSTRING, CAVT_CSTRING,
                                   CAVT_LONG};

    __result = CA_MethodInvoke (objectHandle, errorInfo, 0x54, CAVT_LONG,
                                returnValue, 4, __paramTypes, arg1, arg2, arg3,
                                arg4);

    return __result;
}

HRESULT CVIFUNC CVI_AppDiffTextFiles (CAObjHandle objectHandle,
                                      ERRORINFO *errorInfo, char *file1,
                                      char *file2, long options,
                                      long numMatchLines, long *returnValue)
{
    HRESULT __result;
    unsigned int __paramTypes[] = {CAVT_CSTRING, CAVT_CSTRING, CAVT_LONG,
                                   CAVT_LONG};

    __result = CA_MethodInvoke (objectHandle, errorInfo, 0x55, CAVT_LONG,
                                returnValue, 4, __paramTypes, file1, file2,
                                options, numMatchLines);

    return __result;
}

HRESULT CVIFUNC CVI_AppSetProjectTargetFile (CAObjHandle objectHandle,
                                             ERRORINFO *errorInfo,
                                             enum CVIEnum_CVIBuildConfigurationOptions buildOption,
                                             char *absolutePathname,
                                             long *returnValue)
{
    HRESULT __result;
    unsigned int __paramTypes[] = {CAVT_LONG, CAVT_CSTRING};

    __result = CA_MethodInvoke (objectHandle, errorInfo, 0x56, CAVT_LONG,
                                returnValue, 2, __paramTypes, buildOption,
                                absolutePathname);

    return __result;
}

HRESULT CVIFUNC CVI_AppSetProjectDebuggingLevel (CAObjHandle objectHandle,
                                                 ERRORINFO *errorInfo,
                                                 enum CVIEnum_CVIDebuggingLevels level,
                                                 long *returnValue)
{
    HRESULT __result;
    unsigned int __paramTypes[] = {CAVT_LONG};

    __result = CA_MethodInvoke (objectHandle, errorInfo, 0x57, CAVT_LONG,
                                returnValue, 1, __paramTypes, level);

    return __result;
}

HRESULT CVIFUNC CVI_AppSetBreakOnFirstChanceExceptions (CAObjHandle objectHandle,
                                                        ERRORINFO *errorInfo,
                                                        long enabled,
                                                        long *returnValue)
{
    HRESULT __result;
    unsigned int __paramTypes[] = {CAVT_LONG};

    __result = CA_MethodInvoke (objectHandle, errorInfo, 0x58, CAVT_LONG,
                                returnValue, 1, __paramTypes, enabled);

    return __result;
}

HRESULT CVIFUNC CVI_AppSetInteractiveWindowMemorySize (CAObjHandle objectHandle,
                                                       ERRORINFO *errorInfo,
                                                       long size,
                                                       long *returnValue)
{
    HRESULT __result;
    unsigned int __paramTypes[] = {CAVT_LONG};

    __result = CA_MethodInvoke (objectHandle, errorInfo, 0x59, CAVT_LONG,
                                returnValue, 1, __paramTypes, size);

    return __result;
}

HRESULT CVIFUNC CVI_AppForceSourceFilesIntoInteractiveWindow (CAObjHandle objectHandle,
                                                              ERRORINFO *errorInfo,
                                                              long forceProject,
                                                              long forceInstrument,
                                                              long *returnValue)
{
    HRESULT __result;
    unsigned int __paramTypes[] = {CAVT_LONG, CAVT_LONG};

    __result = CA_MethodInvoke (objectHandle, errorInfo, 0x60, CAVT_LONG,
                                returnValue, 2, __paramTypes, forceProject,
                                forceInstrument);

    return __result;
}

HRESULT CVIFUNC CVI_AppReservedFunc2 (CAObjHandle objectHandle,
                                      ERRORINFO *errorInfo, long arg1, long arg2,
                                      long arg3, long *returnValue)
{
    HRESULT __result;
    unsigned int __paramTypes[] = {CAVT_LONG, CAVT_LONG, CAVT_LONG};

    __result = CA_MethodInvoke (objectHandle, errorInfo, 0x61, CAVT_LONG,
                                returnValue, 3, __paramTypes, arg1, arg2, arg3);

    return __result;
}

HRESULT CVIFUNC CVI_AppSaveBuildErrorWindowContents (CAObjHandle objectHandle,
                                                     ERRORINFO *errorInfo,
                                                     char *file,
                                                     long *returnValue)
{
    HRESULT __result;
    unsigned int __paramTypes[] = {CAVT_CSTRING};

    __result = CA_MethodInvoke (objectHandle, errorInfo, 0x62, CAVT_LONG,
                                returnValue, 1, __paramTypes, file);

    return __result;
}

HRESULT CVIFUNC CVI_AppSetProjectVersionInfo (CAObjHandle objectHandle,
                                              ERRORINFO *errorInfo,
                                              enum CVIEnum_CVIProjectVersionInfo which,
                                              char *text, long majorHi,
                                              long majorLo, long minorHi,
                                              long minorLo, long *returnValue)
{
    HRESULT __result;
    unsigned int __paramTypes[] = {CAVT_LONG, CAVT_CSTRING, CAVT_LONG,
                                   CAVT_LONG, CAVT_LONG, CAVT_LONG};

    __result = CA_MethodInvoke (objectHandle, errorInfo, 0x63, CAVT_LONG,
                                returnValue, 6, __paramTypes, which, text,
                                majorHi, majorLo, minorHi, minorLo);

    return __result;
}

HRESULT CVIFUNC CVI_AppGetProjectVersionInfo (CAObjHandle objectHandle,
                                              ERRORINFO *errorInfo,
                                              enum CVIEnum_CVIProjectVersionInfo which,
                                              char **text, long *majorHi,
                                              long *majorLo, long *minorHi,
                                              long *minorLo, long *returnValue)
{
    HRESULT __result;
    unsigned int __paramTypes[] = {CAVT_LONG, CAVT_CSTRING | CAVT_BYREFO,
                                   CAVT_LONG | CAVT_BYREFO,
                                   CAVT_LONG | CAVT_BYREFO,
                                   CAVT_LONG | CAVT_BYREFO,
                                   CAVT_LONG | CAVT_BYREFO};

    __result = CA_MethodInvoke (objectHandle, errorInfo, 0x64, CAVT_LONG,
                                returnValue, 6, __paramTypes, which, text,
                                majorHi, majorLo, minorHi, minorLo);

    return __result;
}

⌨️ 快捷键说明

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