?? questioninfo.tli
字號:
// Created by Microsoft (R) C/C++ Compiler Version 12.00.8168.0 (118cd61e).
//
// f:\《visual c++項目案例導航》源代碼\第3部分源碼\組件\exam\debugu\QuestionInfo.tli
//
// Wrapper implementations for Win32 type library QuestionInfo.tlb
// compiler-generated file created 07/04/02 at 10:16:46 - DO NOT EDIT!
#pragma once
//
// interface IQuestion wrapper method implementations
//
inline _bstr_t IQuestion::Getcontent ( ) {
BSTR _result;
HRESULT _hr = get_content(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _bstr_t(_result, false);
}
inline void IQuestion::Putcontent ( _bstr_t pVal ) {
HRESULT _hr = put_content(pVal);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
inline _bstr_t IQuestion::GetQ1 ( ) {
BSTR _result;
HRESULT _hr = get_Q1(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _bstr_t(_result, false);
}
inline void IQuestion::PutQ1 ( _bstr_t pVal ) {
HRESULT _hr = put_Q1(pVal);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
inline _bstr_t IQuestion::GetQ2 ( ) {
BSTR _result;
HRESULT _hr = get_Q2(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _bstr_t(_result, false);
}
inline void IQuestion::PutQ2 ( _bstr_t pVal ) {
HRESULT _hr = put_Q2(pVal);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
inline _bstr_t IQuestion::GetQ3 ( ) {
BSTR _result;
HRESULT _hr = get_Q3(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _bstr_t(_result, false);
}
inline void IQuestion::PutQ3 ( _bstr_t pVal ) {
HRESULT _hr = put_Q3(pVal);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
inline _bstr_t IQuestion::GetQ4 ( ) {
BSTR _result;
HRESULT _hr = get_Q4(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _bstr_t(_result, false);
}
inline void IQuestion::PutQ4 ( _bstr_t pVal ) {
HRESULT _hr = put_Q4(pVal);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
inline _bstr_t IQuestion::GetQ5 ( ) {
BSTR _result;
HRESULT _hr = get_Q5(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _bstr_t(_result, false);
}
inline void IQuestion::PutQ5 ( _bstr_t pVal ) {
HRESULT _hr = put_Q5(pVal);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
inline _bstr_t IQuestion::GetQuestion ( int x_nType, int x_nQID ) {
BSTR _result;
HRESULT _hr = raw_GetQuestion(x_nType, x_nQID, &_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _bstr_t(_result, false);
}
inline int IQuestion::PutQuestion ( int x_nType ) {
int _result;
HRESULT _hr = raw_PutQuestion(x_nType, &_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
inline int IQuestion::DeleteQuestion ( int x_nType, int x_nQID ) {
int _result;
HRESULT _hr = raw_DeleteQuestion(x_nType, x_nQID, &_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
inline short IQuestion::GetAnswer ( ) {
short _result;
HRESULT _hr = get_Answer(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
inline void IQuestion::PutAnswer ( short pVal ) {
HRESULT _hr = put_Answer(pVal);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -