10#ifndef INCLUDED_SHELL_INC_SPSUPP_COMOPENDOCUMENTS_HPP
11#define INCLUDED_SHELL_INC_SPSUPP_COMOPENDOCUMENTS_HPP
37 void **ppvObject)
override;
42 UINT *pctinfo)
override;
47 ITypeInfo **ppTInfo)
override;
54 DISPID *rgDispId)
override;
56 HRESULT STDMETHODCALLTYPE
Invoke(
61 DISPPARAMS *pDispParams,
63 EXCEPINFO *pExcepInfo,
64 UINT *puArgErr)
override;
69 BSTR bstrTemplateLocation,
70 BSTR bstrDefaultSaveLocation,
71 VARIANT_BOOL *pbResult)
override;
74 BSTR bstrDocumentLocation,
76 VARIANT_BOOL *pbResult)
override;
81 BSTR bstrDocumentLocation,
83 VARIANT_BOOL *pbResult)
override;
87 BSTR bstrDocumentLocation,
89 VARIANT_BOOL *pbResult)
override;
93 BSTR bstrDocumentLocation,
95 VARIANT_BOOL *pbResult)
override;
99 BSTR bstrTemplateLocation,
100 BSTR bstrDefaultSaveLocation,
101 VARIANT_BOOL *pbResult)
override;
104 VARIANT_BOOL *pbResult)
override;
110 BSTR bstrDocumentLocation,
113 VARIANT_BOOL *pbResult)
override;
116 BSTR bstrDocumentLocation,
119 VARIANT_BOOL bKeepCheckout,
120 VARIANT_BOOL *pbResult)
override;
123 BSTR bstrDocumentLocationRaw,
124 VARIANT_BOOL *pbResult)
override;
134 VARIANT varProgID)
override;
137 BSTR bstrDocumentLocationRaw,
138 VARIANT_BOOL fEditAfterCheckout,
140 VARIANT_BOOL *pbResult)
override;
144 BSTR bstrDocumentLocation,
145 VARIANT_BOOL fUseLocalCopy,
147 VARIANT_BOOL *pbResult)
override;
152 BSTR bstrBlogName)
override;
158 DWORD *pdwSupportedOptions,
159 DWORD *pdwEnabledOptions)
override;
163 DWORD dwOptionSetMask,
164 DWORD dwEnabledOptions)
override;
173 static constexpr DWORD
iSupportedOptionsMask = INTERFACESAFE_FOR_UNTRUSTED_CALLER | INTERFACESAFE_FOR_UNTRUSTED_DATA;
HRESULT STDMETHODCALLTYPE EditDocument2(IDispatch *pdisp, BSTR bstrDocumentLocation, VARIANT varProgID, VARIANT_BOOL *pbResult) override
HRESULT STDMETHODCALLTYPE GetTypeInfo(UINT iTInfo, LCID lcid, ITypeInfo **ppTInfo) override
HRESULT STDMETHODCALLTYPE QueryInterface(REFIID riid, void **ppvObject) override
HRESULT STDMETHODCALLTYPE GetIDsOfNames(REFIID riid, LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId) override
HRESULT STDMETHODCALLTYPE GetTypeInfoCount(UINT *pctinfo) override
static ITypeInfo * m_pTypeInfo
HRESULT STDMETHODCALLTYPE PromptedOnLastOpen(VARIANT_BOOL *pbResult) override
HRESULT STDMETHODCALLTYPE EditDocument3(IDispatch *pdisp, BSTR bstrDocumentLocation, VARIANT_BOOL fUseLocalCopy, VARIANT varProgID, VARIANT_BOOL *pbResult) override
static constexpr DWORD iSupportedOptionsMask
static LONG GetObjectCount()
virtual ~COMOpenDocuments() override
HRESULT STDMETHODCALLTYPE Invoke(DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams, VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr) override
HRESULT STDMETHODCALLTYPE DiscardLocalCheckout(BSTR bstrDocumentLocationRaw, VARIANT_BOOL *pbResult) override
HRESULT STDMETHODCALLTYPE EditDocument(BSTR bstrDocumentLocation, VARIANT varProgID, VARIANT_BOOL *pbResult) override
HRESULT STDMETHODCALLTYPE CheckinDocument(BSTR bstrDocumentLocation, int CheckinType, BSTR CheckinComment, VARIANT_BOOL bKeepCheckout, VARIANT_BOOL *pbResult) override
HRESULT STDMETHODCALLTYPE SetInterfaceSafetyOptions(REFIID riid, DWORD dwOptionSetMask, DWORD dwEnabledOptions) override
HRESULT STDMETHODCALLTYPE GetInterfaceSafetyOptions(REFIID riid, DWORD *pdwSupportedOptions, DWORD *pdwEnabledOptions) override
HRESULT STDMETHODCALLTYPE CreateNewDocument(BSTR bstrTemplateLocation, BSTR bstrDefaultSaveLocation, VARIANT_BOOL *pbResult) override
HRESULT STDMETHODCALLTYPE NewBlogPost(BSTR bstrProviderId, BSTR bstrBlogUrl, BSTR bstrBlogName) override
HRESULT STDMETHODCALLTYPE ViewDocument(BSTR bstrDocumentLocation, VARIANT varProgID, VARIANT_BOOL *pbResult) override
HRESULT STDMETHODCALLTYPE CheckoutDocumentPrompt(BSTR bstrDocumentLocationRaw, VARIANT_BOOL fEditAfterCheckout, VARIANT varProgID, VARIANT_BOOL *pbResult) override
HRESULT STDMETHODCALLTYPE CreateNewDocument2(IDispatch *pdisp, BSTR bstrTemplateLocation, BSTR bstrDefaultSaveLocation, VARIANT_BOOL *pbResult) override
HRESULT STDMETHODCALLTYPE ViewInExcel(BSTR SiteUrl, BSTR FileName, BSTR SessionId, BSTR Cmd, BSTR Sheet, int Row, int Column, VARIANT varProgID) override
HRESULT STDMETHODCALLTYPE ViewDocument2(IDispatch *pdisp, BSTR bstrDocumentLocation, VARIANT varProgID, VARIANT_BOOL *pbResult) override
HRESULT STDMETHODCALLTYPE ViewDocument3(IDispatch *pdisp, BSTR bstrDocumentLocation, int OpenType, VARIANT varProgID, VARIANT_BOOL *pbResult) override