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

📄 questioninfo.tlh

📁 本文件是一个用vc编程的在线考试系统的源代码
💻 TLH
字号:
// Created by Microsoft (R) C/C++ Compiler Version 12.00.8168.0 (118cd61e).
//
// f:\《visual c++项目案例导航》源代码\第3部分源码\组件\exam\debugu\QuestionInfo.tlh
//
// C++ source equivalent of Win32 type library QuestionInfo.tlb
// compiler-generated file created 07/04/02 at 10:16:46 - DO NOT EDIT!

#pragma once
#pragma pack(push, 8)

#include <comdef.h>

//
// Forward references and typedefs
//

struct /* coclass */ Question;
struct __declspec(uuid("362abd33-561c-4541-9e21-300573ab2163"))
/* dual interface */ IQuestion;

//
// Smart pointer typedef declarations
//

_COM_SMARTPTR_TYPEDEF(IQuestion, __uuidof(IQuestion));

//
// Type library items
//

struct __declspec(uuid("7672935a-b914-466a-bb82-9ec892636123"))
Question;
    // [ default ] interface IQuestion

struct __declspec(uuid("362abd33-561c-4541-9e21-300573ab2163"))
IQuestion : IDispatch
{
    //
    // Property data
    //

    __declspec(property(get=Getcontent,put=Putcontent))
    _bstr_t content;
    __declspec(property(get=GetQ1,put=PutQ1))
    _bstr_t Q1;
    __declspec(property(get=GetQ2,put=PutQ2))
    _bstr_t Q2;
    __declspec(property(get=GetQ3,put=PutQ3))
    _bstr_t Q3;
    __declspec(property(get=GetQ4,put=PutQ4))
    _bstr_t Q4;
    __declspec(property(get=GetQ5,put=PutQ5))
    _bstr_t Q5;
    __declspec(property(get=GetAnswer,put=PutAnswer))
    short Answer;

    //
    // Wrapper methods for error-handling
    //

    _bstr_t Getcontent ( );
    void Putcontent (
        _bstr_t pVal );
    _bstr_t GetQ1 ( );
    void PutQ1 (
        _bstr_t pVal );
    _bstr_t GetQ2 ( );
    void PutQ2 (
        _bstr_t pVal );
    _bstr_t GetQ3 ( );
    void PutQ3 (
        _bstr_t pVal );
    _bstr_t GetQ4 ( );
    void PutQ4 (
        _bstr_t pVal );
    _bstr_t GetQ5 ( );
    void PutQ5 (
        _bstr_t pVal );
    _bstr_t GetQuestion (
        int x_nType,
        int x_nQID );
    int PutQuestion (
        int x_nType );
    int DeleteQuestion (
        int x_nType,
        int x_nQID );
    short GetAnswer ( );
    void PutAnswer (
        short pVal );

    //
    // Raw methods provided by interface
    //

    virtual HRESULT __stdcall get_content (
        BSTR * pVal ) = 0;
    virtual HRESULT __stdcall put_content (
        BSTR pVal ) = 0;
    virtual HRESULT __stdcall get_Q1 (
        BSTR * pVal ) = 0;
    virtual HRESULT __stdcall put_Q1 (
        BSTR pVal ) = 0;
    virtual HRESULT __stdcall get_Q2 (
        BSTR * pVal ) = 0;
    virtual HRESULT __stdcall put_Q2 (
        BSTR pVal ) = 0;
    virtual HRESULT __stdcall get_Q3 (
        BSTR * pVal ) = 0;
    virtual HRESULT __stdcall put_Q3 (
        BSTR pVal ) = 0;
    virtual HRESULT __stdcall get_Q4 (
        BSTR * pVal ) = 0;
    virtual HRESULT __stdcall put_Q4 (
        BSTR pVal ) = 0;
    virtual HRESULT __stdcall get_Q5 (
        BSTR * pVal ) = 0;
    virtual HRESULT __stdcall put_Q5 (
        BSTR pVal ) = 0;
    virtual HRESULT __stdcall raw_GetQuestion (
        int x_nType,
        int x_nQID,
        BSTR * x_QInfo ) = 0;
    virtual HRESULT __stdcall raw_PutQuestion (
        int x_nType,
        int * x_QID ) = 0;
    virtual HRESULT __stdcall raw_DeleteQuestion (
        int x_nType,
        int x_nQID,
        int * x_Success ) = 0;
    virtual HRESULT __stdcall get_Answer (
        short * pVal ) = 0;
    virtual HRESULT __stdcall put_Answer (
        short pVal ) = 0;
};

//
// Wrapper method implementations
//

#include "f:\《visual c++项目案例导航》源代码\第3部分源码\组件\exam\debugu\QuestionInfo.tli"

#pragma pack(pop)

⌨️ 快捷键说明

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