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

📄 msppt9.tli

📁 让powerpoint支持插入internet资源
💻 TLI
📖 第 1 页 / 共 5 页
字号:
// Created by Microsoft (R) C/C++ Compiler Version 12.00.8168.0 (95132a5f).
//
// MSPPT9.tli
//
// Wrapper implementations for Win32 type library c:\\Program Files\\Microsoft Office\\Office\\MSPPT9.OLB
// compiler-generated file created 06/23/03 at 11:45:39 - DO NOT EDIT!


//
// interface Collection wrapper method implementations
//

#pragma implementation_key(1)
inline IUnknownPtr MSPPT::Collection::Get_NewEnum ( ) {
    IUnknown * _result;
    HRESULT _hr = get__NewEnum(&_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return IUnknownPtr(_result, false);
}

#pragma implementation_key(2)
inline _variant_t MSPPT::Collection::_Index ( int index ) {
    VARIANT _result;
    VariantInit(&_result);
    HRESULT _hr = raw__Index(index, &_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _variant_t(_result, false);
}

#pragma implementation_key(3)
inline long MSPPT::Collection::GetCount ( ) {
    long _result;
    HRESULT _hr = get_Count(&_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _result;
}

//
// interface _Application wrapper method implementations
//

#pragma implementation_key(4)
inline MSPPT::PresentationsPtr MSPPT::_Application::GetPresentations ( ) {
    struct Presentations * _result;
    HRESULT _hr = get_Presentations(&_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return PresentationsPtr(_result, false);
}

#pragma implementation_key(5)
inline MSPPT::DocumentWindowsPtr MSPPT::_Application::GetWindows ( ) {
    struct DocumentWindows * _result;
    HRESULT _hr = get_Windows(&_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return DocumentWindowsPtr(_result, false);
}

#pragma implementation_key(6)
inline MSPPT::PPDialogsPtr MSPPT::_Application::GetDialogs ( ) {
    struct PPDialogs * _result;
    HRESULT _hr = get_Dialogs(&_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return PPDialogsPtr(_result, false);
}

#pragma implementation_key(7)
inline MSPPT::DocumentWindowPtr MSPPT::_Application::GetActiveWindow ( ) {
    struct DocumentWindow * _result;
    HRESULT _hr = get_ActiveWindow(&_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return DocumentWindowPtr(_result, false);
}

#pragma implementation_key(8)
inline MSPPT::_PresentationPtr MSPPT::_Application::GetActivePresentation ( ) {
    struct _Presentation * _result;
    HRESULT _hr = get_ActivePresentation(&_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _PresentationPtr(_result, false);
}

#pragma implementation_key(9)
inline MSPPT::SlideShowWindowsPtr MSPPT::_Application::GetSlideShowWindows ( ) {
    struct SlideShowWindows * _result;
    HRESULT _hr = get_SlideShowWindows(&_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return SlideShowWindowsPtr(_result, false);
}

#pragma implementation_key(10)
inline Office::_CommandBarsPtr MSPPT::_Application::GetCommandBars ( ) {
    struct Office::_CommandBars * _result;
    HRESULT _hr = get_CommandBars(&_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return Office::_CommandBarsPtr(_result, false);
}

#pragma implementation_key(11)
inline _bstr_t MSPPT::_Application::GetPath ( ) {
    BSTR _result;
    HRESULT _hr = get_Path(&_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _bstr_t(_result, false);
}

#pragma implementation_key(12)
inline _bstr_t MSPPT::_Application::GetName ( ) {
    BSTR _result;
    HRESULT _hr = get_Name(&_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _bstr_t(_result, false);
}

#pragma implementation_key(13)
inline _bstr_t MSPPT::_Application::GetCaption ( ) {
    BSTR _result;
    HRESULT _hr = get_Caption(&_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _bstr_t(_result, false);
}

#pragma implementation_key(14)
inline void MSPPT::_Application::PutCaption ( _bstr_t Caption ) {
    HRESULT _hr = put_Caption(Caption);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}

#pragma implementation_key(15)
inline Office::AssistantPtr MSPPT::_Application::GetAssistant ( ) {
    struct Office::Assistant * _result;
    HRESULT _hr = get_Assistant(&_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return Office::AssistantPtr(_result, false);
}

#pragma implementation_key(16)
inline Office::FileSearchPtr MSPPT::_Application::GetFileSearch ( ) {
    struct Office::FileSearch * _result;
    HRESULT _hr = get_FileSearch(&_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return Office::FileSearchPtr(_result, false);
}

#pragma implementation_key(17)
inline Office::IFindPtr MSPPT::_Application::GetFileFind ( ) {
    struct Office::IFind * _result;
    HRESULT _hr = get_FileFind(&_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return Office::IFindPtr(_result, false);
}

#pragma implementation_key(18)
inline _bstr_t MSPPT::_Application::GetBuild ( ) {
    BSTR _result;
    HRESULT _hr = get_Build(&_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _bstr_t(_result, false);
}

#pragma implementation_key(19)
inline _bstr_t MSPPT::_Application::GetVersion ( ) {
    BSTR _result;
    HRESULT _hr = get_Version(&_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _bstr_t(_result, false);
}

#pragma implementation_key(20)
inline _bstr_t MSPPT::_Application::GetOperatingSystem ( ) {
    BSTR _result;
    HRESULT _hr = get_OperatingSystem(&_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _bstr_t(_result, false);
}

#pragma implementation_key(21)
inline _bstr_t MSPPT::_Application::GetActivePrinter ( ) {
    BSTR _result;
    HRESULT _hr = get_ActivePrinter(&_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _bstr_t(_result, false);
}

#pragma implementation_key(22)
inline long MSPPT::_Application::GetCreator ( ) {
    long _result;
    HRESULT _hr = get_Creator(&_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _result;
}

#pragma implementation_key(23)
inline MSPPT::AddInsPtr MSPPT::_Application::GetAddIns ( ) {
    struct AddIns * _result;
    HRESULT _hr = get_AddIns(&_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return AddInsPtr(_result, false);
}

#pragma implementation_key(24)
inline VBE6::VBEPtr MSPPT::_Application::GetVBE ( ) {
    struct VBE6::VBE * _result;
    HRESULT _hr = get_VBE(&_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return VBE6::VBEPtr(_result, false);
}

#pragma implementation_key(25)
inline HRESULT MSPPT::_Application::Help ( _bstr_t HelpFile, int ContextID ) {
    HRESULT _hr = raw_Help(HelpFile, ContextID);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _hr;
}

#pragma implementation_key(26)
inline HRESULT MSPPT::_Application::Quit ( ) {
    HRESULT _hr = raw_Quit();
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _hr;
}

#pragma implementation_key(27)
inline _variant_t MSPPT::_Application::Run ( _bstr_t MacroName, SAFEARRAY * * safeArrayOfParams ) {
    VARIANT _result;
    VariantInit(&_result);
    HRESULT _hr = raw_Run(MacroName, safeArrayOfParams, &_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _variant_t(_result, false);
}

#pragma implementation_key(28)
inline MSPPT::FileDialogPtr MSPPT::_Application::FileDialog ( enum PpFileDialogType Type ) {
    struct FileDialog * _result;
    HRESULT _hr = raw_FileDialog(Type, &_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return FileDialogPtr(_result, false);
}

#pragma implementation_key(29)
inline HRESULT MSPPT::_Application::LaunchSpelling ( struct DocumentWindow * pWindow ) {
    HRESULT _hr = raw_LaunchSpelling(pWindow);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _hr;
}

#pragma implementation_key(30)
inline float MSPPT::_Application::GetLeft ( ) {
    float _result;
    HRESULT _hr = get_Left(&_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _result;
}

#pragma implementation_key(31)
inline void MSPPT::_Application::PutLeft ( float Left ) {
    HRESULT _hr = put_Left(Left);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}

#pragma implementation_key(32)
inline float MSPPT::_Application::GetTop ( ) {
    float _result;
    HRESULT _hr = get_Top(&_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _result;
}

#pragma implementation_key(33)
inline void MSPPT::_Application::PutTop ( float Top ) {
    HRESULT _hr = put_Top(Top);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}

#pragma implementation_key(34)
inline float MSPPT::_Application::GetWidth ( ) {
    float _result;
    HRESULT _hr = get_Width(&_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _result;
}

#pragma implementation_key(35)
inline void MSPPT::_Application::PutWidth ( float Width ) {
    HRESULT _hr = put_Width(Width);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}

#pragma implementation_key(36)
inline float MSPPT::_Application::GetHeight ( ) {
    float _result;
    HRESULT _hr = get_Height(&_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _result;
}

#pragma implementation_key(37)
inline void MSPPT::_Application::PutHeight ( float Height ) {
    HRESULT _hr = put_Height(Height);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}

#pragma implementation_key(38)
inline enum PpWindowState MSPPT::_Application::GetWindowState ( ) {
    enum PpWindowState _result;
    HRESULT _hr = get_WindowState(&_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _result;
}

#pragma implementation_key(39)
inline void MSPPT::_Application::PutWindowState ( enum PpWindowState WindowState ) {
    HRESULT _hr = put_WindowState(WindowState);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}

#pragma implementation_key(40)
inline enum Office::MsoTriState MSPPT::_Application::GetVisible ( ) {
    enum Office::MsoTriState _result;
    HRESULT _hr = get_Visible(&_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _result;
}

#pragma implementation_key(41)
inline void MSPPT::_Application::PutVisible ( enum Office::MsoTriState Visible ) {
    HRESULT _hr = put_Visible(Visible);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}

#pragma implementation_key(42)
inline long MSPPT::_Application::GetHWND ( ) {
    long _result;
    HRESULT _hr = get_HWND(&_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _result;
}

#pragma implementation_key(43)
inline enum Office::MsoTriState MSPPT::_Application::GetActive ( ) {
    enum Office::MsoTriState _result;
    HRESULT _hr = get_Active(&_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _result;
}

#pragma implementation_key(44)
inline HRESULT MSPPT::_Application::Activate ( ) {
    HRESULT _hr = raw_Activate();
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _hr;
}

#pragma implementation_key(45)
inline Office::AnswerWizardPtr MSPPT::_Application::GetAnswerWizard ( ) {
    struct Office::AnswerWizard * _result;
    HRESULT _hr = get_AnswerWizard(&_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return Office::AnswerWizardPtr(_result, false);
}

#pragma implementation_key(46)
inline Office::COMAddInsPtr MSPPT::_Application::GetCOMAddIns ( ) {
    struct Office::COMAddIns * _result;
    HRESULT _hr = get_COMAddIns(&_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return Office::COMAddInsPtr(_result, false);
}

#pragma implementation_key(47)
inline _bstr_t MSPPT::_Application::GetProductCode ( ) {
    BSTR _result;
    HRESULT _hr = get_ProductCode(&_result);

⌨️ 快捷键说明

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