📄 hxfiles.h
字号:
* Implementation only required by broadcast plugin file systems. * * IID_IHXBroadcastMapper: * * {0000020D-0901-11d1-8B06-00A024406D59} * */DEFINE_GUID(IID_IHXBroadcastMapper, 0x0000020d, 0x901, 0x11d1, 0x8b, 0x6, 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);#undef INTERFACE#define INTERFACE IHXBroadcastMapperDECLARE_INTERFACE_(IHXBroadcastMapper, IUnknown){ /* * IUnknown methods */ STDMETHOD(QueryInterface) (THIS_ REFIID riid, void** ppvObj) PURE; STDMETHOD_(ULONG32,AddRef) (THIS) PURE; STDMETHOD_(ULONG32,Release) (THIS) PURE; /* * IHXBroadcastMapper methods */ /************************************************************************ * Method: * IHXBroadcastMapper::FindBroadcastType * Purpose: */ STDMETHOD(FindBroadcastType) (THIS_ const char* /*IN*/ pURL, IHXBroadcastMapperResponse* /*IN*/ pBroadcastMapperResponse) PURE;};/**************************************************************************** * * Interface: * * IHXBroadcastMapperResponse * * Purpose: * * Response interface for IHXBroadcastMapper. * Implementation only required by broadcast plugin file systems. * * IID_IHXBroadcastMapperResponse: * * {0000020E-0901-11d1-8B06-00A024406D59} * */DEFINE_GUID(IID_IHXBroadcastMapperResponse, 0x0000020e, 0x901, 0x11d1, 0x8b, 0x6, 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);#undef INTERFACE#define INTERFACE IHXBroadcastMapperResponseDECLARE_INTERFACE_(IHXBroadcastMapperResponse, IUnknown){ /* * IUnknown methods */ STDMETHOD(QueryInterface) (THIS_ REFIID riid, void** ppvObj) PURE; STDMETHOD_(ULONG32,AddRef) (THIS) PURE; STDMETHOD_(ULONG32,Release) (THIS) PURE; /* * IHXBroadcastMapperResponse methods */ /************************************************************************ * Method: * IHXBroadcastMapperResponse::BroadcastTypeFound * Purpose: * Notification interface provided by users of the IHXBroadcastMapper * interface. This method is called by the File Object when the * initialization of the file is complete, and the broadcast type is * available for the request file. If the file is not valid for the * file system, the status HXR_FAILED should be returned, * with the broadcast type set to NULL. * */ STDMETHOD(BroadcastTypeFound) (THIS_ HX_RESULT status, const char* pBroadcastType) PURE;};/**************************************************************************** * * Interface: * * IHXGetFileFromSamePool * * Purpose: * * Gives out File Objects based on filenames and relative "paths" * * IID_IHXGetFileFromSamePool: * * {0000020f-0901-11d1-8B06-00A024406D59} * */DEFINE_GUID(IID_IHXGetFileFromSamePool, 0x0000020f, 0x901, 0x11d1, 0x8b, 0x6, 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);#undef INTERFACE#define INTERFACE IHXGetFileFromSamePool#define CLSID_IHXGetFileFromSamePool IID_IHXGetFileFromSamePoolDECLARE_INTERFACE_(IHXGetFileFromSamePool, IUnknown){ /* * IUnknown methods */ STDMETHOD(QueryInterface) (THIS_ REFIID riid, void** ppvObj) PURE; STDMETHOD_(ULONG32,AddRef) (THIS) PURE; STDMETHOD_(ULONG32,Release) (THIS) PURE; /* * IHXGetFileFromSamePool method */ /************************************************************************ * Method: * IHXGetFileFromSamePool::GetFileObjectFromPool * Purpose: * To get another FileObject from the same pool. */ STDMETHOD(GetFileObjectFromPool) (THIS_ IHXGetFileFromSamePoolResponse*) PURE;};/**************************************************************************** * * Interface: * * IHXGetFileFromSamePoolResponse * * Purpose: * * Gives out File Objects based on filenames and relative "paths" * * IID_IHXGetFileFromSamePoolResponse: * * {00000210-0901-11d1-8B06-00A024406D59} * */DEFINE_GUID(IID_IHXGetFileFromSamePoolResponse, 0x00000210, 0x901, 0x11d1, 0x8b, 0x6, 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);#undef INTERFACE#define INTERFACE IHXGetFileFromSamePoolResponse#define CLSID_IHXGetFileFromSamePoolResponse IID_IHXGetFileFromSamePoolResponseDECLARE_INTERFACE_(IHXGetFileFromSamePoolResponse, IUnknown){ /* * IUnknown methods */ STDMETHOD(QueryInterface) (THIS_ REFIID riid, void** ppvObj) PURE; STDMETHOD_(ULONG32,AddRef) (THIS) PURE; STDMETHOD_(ULONG32,Release) (THIS) PURE; /* * IHXGetFileFromSamePoolResponse method */ /************************************************************************ * Method: * IHXGetFileFromSamePoolResponse::FileObjectReady * Purpose: * To return another FileObject from the same pool. */ STDMETHOD(FileObjectReady) (THIS_ HX_RESULT status, IUnknown* ppUnknown) PURE;};/**************************************************************************** * * Interface: * * IHXFileAuthenticator * * Purpose: * * Set and Get a file object's authenticator object. * * IID_IHXFileAuthenticator: * * {00000211-0901-11d1-8B06-00A024406D59} * */DEFINE_GUID(IID_IHXFileAuthenticator, 0x00000211, 0x901, 0x11d1, 0x8b, 0x6, 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);#undef INTERFACE#define INTERFACE IHXFileAuthenticator#define CLSID_IHXFileAuthenticator IID_IHXFileAuthenticatorDECLARE_INTERFACE_(IHXFileAuthenticator, IUnknown){ /* * IUnknown methods */ STDMETHOD(QueryInterface) (THIS_ REFIID riid, void** ppvObj) PURE; STDMETHOD_(ULONG32,AddRef) (THIS) PURE; STDMETHOD_(ULONG32,Release) (THIS) PURE; /* * IHXFileAuthenticator methods */ STDMETHOD(SetAuthenticator) (THIS_ IHXAuthenticator* pAuthenticator) PURE; STDMETHOD(GetAuthenticator) (THIS_ REF(IHXAuthenticator*) pAuthenticator) PURE;};/**************************************************************************** * * Interface: * * IHXRequestHandler * * Purpose: * * Object to manage IHXRequest objects * * IID_IHXRequestHandler: * * {00000212-0901-11d1-8B06-00A024406D59} * */DEFINE_GUID(IID_IHXRequestHandler, 0x00000212, 0x901, 0x11d1, 0x8b, 0x6, 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);#undef INTERFACE#define INTERFACE IHXRequestHandler#define CLSID_IHXRequestHandler IID_IHXRequestHandlerDECLARE_INTERFACE_(IHXRequestHandler, IUnknown){ /* * IUnknown methods */ STDMETHOD(QueryInterface) (THIS_ REFIID riid, void** ppvObj) PURE; STDMETHOD_(ULONG32,AddRef) (THIS) PURE; STDMETHOD_(ULONG32,Release) (THIS) PURE; /************************************************************************ * Method: * IHXRequestHandler::SetRequest * Purpose: * Associates an IHXRequest with an object */ STDMETHOD(SetRequest) (THIS_ IHXRequest* /*IN*/ pRequest) PURE; /************************************************************************ * Method: * IHXRequestHandler::GetRequest * Purpose: * Gets the IHXRequest object associated with an object */ STDMETHOD(GetRequest) (THIS_ REF(IHXRequest*) /*OUT*/ pRequest) PURE;};/**************************************************************************** * * Interface: * * IHXRequestContext * * Purpose: * * Object to manage the context of the Request * * IID_IHXRequestContext: * * {00000217-0901-11d1-8B06-00A024406D59} * */DEFINE_GUID(IID_IHXRequestContext, 0x00000217, 0x901, 0x11d1, 0x8b, 0x6, 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);#undef INTERFACE#define INTERFACE IHXRequestContext#define CLSID_IHXRequestContext IID_IHXRequestContextDECLARE_INTERFACE_(IHXRequestContext, IUnknown){ /* * IUnknown methods */ STDMETHOD(QueryInterface) (THIS_ REFIID riid, void** ppvObj) PURE; STDMETHOD_(ULONG32,AddRef) (THIS) PURE; STDMETHOD_(ULONG32,Release) (THIS) PURE; /* * IHXRequestContext methods */ /************************************************************************ * Method: * IHXRequestContext::SetUserContext * Purpose: * Sets the Authenticated users Context. */ STDMETHOD(SetUserContext) ( THIS_ IUnknown* pIUnknownNewContext ) PURE; /************************************************************************ * Method: * IHXRequestContext::GetUserContext * Purpose: * Gets the Authenticated users Context. */ STDMETHOD(GetUserContext) ( THIS_ REF(IUnknown*) pIUnknownCurrentContext ) PURE; /************************************************************************ * Method: * IHXRequestContext::SetRequester * Purpose: * Sets the Object that made the request. */ STDMETHOD(SetRequester) ( THIS_ IUnknown* pIUnknownNewRequester ) PURE; /************************************************************************ * Method: * IHXRequestContext::GetRequester * Purpose: * Gets the Object that made the request. */ STDMETHOD(GetRequester) ( THIS_ REF(IUnknown*) pIUnknownCurrentRequester ) PURE;};/**************************************************************************** * * Interface: * * IHXRequest * * Purpose: * * Object to manage the RFC822 headers sent by the client * * IID_IHXRequest: * * {00000213-0901-11d1-8B06-00A024406D59} * */DEFINE_GUID(IID_IHXRequest, 0x00000213, 0x901, 0x11d1, 0x8b, 0x6, 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);#undef INTERFACE#define INTERFACE IHXRequest#define CLSID_IHXRequest IID_IHXRequestDECLARE_INTERFACE_(IHXRequest, IUnknown){ /* * IUnknown methods */ STDMETHOD(QueryInterface) (THIS_ REFIID riid, void** ppvObj) PURE; STDMETHOD_(ULONG32,AddRef) (THIS) PURE; STDMETHOD_(ULONG32,Release) (THIS) PURE; /* * IHXRequest methods */ /************************************************************************ * Method: * IHXRequest::SetRequestHeaders * Purpose: * Sets the headers that will be sent in the RFC822 header section * of the request message */ STDMETHOD(SetRequestHeaders) (THIS_ IHXValues* pRequestHeaders) PURE; /************************************************************************ * Method: * IHXRequest::GetRequestHeaders * Purpose: * Gets the headers that were sent in the RFC822 header section * of the request message */ STDMETHOD(GetRequestHeaders) (THIS_ REF(IHXValues*) pRequestHeaders) PURE; /************************************************************************ * Method: * IHXRequest::SetResponseHeaders * Purpose: * Sets the headers that will be returned in the RFC822 header * section of the response message */ STDMETHOD(SetResponseHeaders) (THIS_ IHXValues* pResponseHeaders) PURE; /************************************************************************ * Method: * IHXRequest::GetResponseHeaders * Purpose: * Gets the headers that were returned in the RFC822 header section * of the response message */ STDMETHOD(GetResponseHeaders) (THIS_ REF(IHXValues*) pResponseHeaders) PURE; /************************************************************************ * Method: * IHXRequest::SetURL * Purpose: * Sets the fully qualified path associated with a file object. * Note: On the server, this path does not include the file system * mount point. */ STDMETHOD(SetURL) (THIS_ const char* pURL) PURE; /************************************************************************ * Method: * IHXRequest::GetURL * Purpose: * Returns the fully qualified path associated with a file object. * Note: On the server, this path does not include the file system * mount point. * * Note: The returned pointer's lifetime expires as soon as the
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -