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

📄 dbmon.inc

📁 Oracle C++ libary support Oracle Database 8,9i,10g
💻 INC
字号:

#pragma once

//
// interface IDBMonitor wrapper method implementations
//

inline HRESULT IDBMonitor::GetVersion ( LPSTR * pVersion ) {
    HRESULT _hr = raw_GetVersion(pVersion);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _hr;
}

inline HRESULT IDBMonitor::SetCaption ( LPSTR Caption ) {
    HRESULT _hr = raw_SetCaption(Caption);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _hr;
}

inline HRESULT IDBMonitor::IsMonitorActive ( long * Active ) {
    HRESULT _hr = raw_IsMonitorActive(Active);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _hr;
}

inline HRESULT IDBMonitor::OnEvent ( struct TMonitorMessage * Msg, LPSTR ParamStr ) {
    HRESULT _hr = raw_OnEvent(Msg, ParamStr);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _hr;
}

inline HRESULT IDBMonitor::OnExecute ( struct TMonitorMessage * Msg, LPSTR SQL, struct TSQLParam Params[1000], long ParamCount, long RowsAffected ) {
    HRESULT _hr = raw_OnExecute(Msg, SQL, Params, ParamCount, RowsAffected);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _hr;
}

⌨️ 快捷键说明

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