// /////////////////////////////////////////////////////////////////////////////// // // THIS FILE IS AUTOMATICALLY GENERATED. DO NOT MODIFY IT BY HAND. // /////////////////////////////////////////////////////////////////////////////// // // #pragma once // // class CFileServiceProxy; class CFileServiceEventSource; // // HRESULT CreateCFileServiceProxy( LPCWSTR pszDeviceAddress, LPCWSTR pszLocalAddress, CFileServiceProxy** ppProxyOut, IWSDXMLContext** ppContextOut); HRESULT CreateCFileServiceProxyById( LPCWSTR pszDeviceAddress, LPCWSTR pszServiceId, LPCWSTR pszLocalAddress, CFileServiceProxy** ppProxyOut, IWSDXMLContext** ppContextOut); // // class CFileServiceProxy: public IFileServiceProxy { protected: ~CFileServiceProxy(); LONG m_cRef; IWSDServiceProxy* m_genericProxy; public: HRESULT STDMETHODCALLTYPE Init(IWSDServiceProxy* genericProxy); CFileServiceProxy(); // // // // IUnknown // HRESULT STDMETHODCALLTYPE QueryInterface(REFIID riid, void **ppvObject); ULONG STDMETHODCALLTYPE AddRef(); ULONG STDMETHODCALLTYPE Release(); // // HRESULT STDMETHODCALLTYPE GetFileList ( /* [out] */ GET_FILE_LIST_RESPONSE** parametersOut ); HRESULT STDMETHODCALLTYPE GetFile ( /* [in] */ GET_FILE_REQUEST* parameters , /* [out] */ GET_FILE_RESPONSE** parametersOut ); // // HRESULT STDMETHODCALLTYPE BeginGetFileList ( /* [in] */ IUnknown* AsyncState , /* [in] */ IWSDAsyncCallback* AsyncCallback , /* [out] */ IWSDAsyncResult** AsyncResultOut ); HRESULT STDMETHODCALLTYPE EndGetFileList ( /* [in] */ IWSDAsyncResult* AsyncResult , /* [out] */ GET_FILE_LIST_RESPONSE** parametersOut ); HRESULT STDMETHODCALLTYPE BeginGetFile ( /* [in] */ GET_FILE_REQUEST* parameters , /* [in] */ IUnknown* AsyncState , /* [in] */ IWSDAsyncCallback* AsyncCallback , /* [out] */ IWSDAsyncResult** AsyncResultOut ); HRESULT STDMETHODCALLTYPE EndGetFile ( /* [in] */ IWSDAsyncResult* AsyncResult , /* [out] */ GET_FILE_RESPONSE** parametersOut ); // // HRESULT STDMETHODCALLTYPE SubscribeToFileChangeEvent ( IFileServiceEventNotify* eventSink ); HRESULT STDMETHODCALLTYPE UnsubscribeToFileChangeEvent ( void ); // // }; // // HRESULT CreateCFileServiceEventSource(IWSDDeviceHost* pHost, LPCWSTR pszServiceId, CFileServiceEventSource** ppEventSourceOut); // // class CFileServiceEventSource: public IFileServiceEventNotify { protected: ~CFileServiceEventSource(); LONG m_cRef; IWSDDeviceHost* m_host; const WCHAR* m_serviceId; public: HRESULT STDMETHODCALLTYPE Init(IWSDDeviceHost* pIWSDDeviceHost, const WCHAR* serviceId); CFileServiceEventSource(); // // // // IUnknown // HRESULT STDMETHODCALLTYPE QueryInterface(REFIID riid, void **ppvObject); ULONG STDMETHODCALLTYPE AddRef(); ULONG STDMETHODCALLTYPE Release(); // // HRESULT STDMETHODCALLTYPE FileChangeEvent ( /* [in] */ FILE_CHANGE_EVENT* result ); // // }; //