📄 hxdb.h
字号:
* * Call this to find the PPV permissions for the specified URL * and user. * */ STDMETHOD(GetPermissions) ( THIS_ IHXPPVDBManagerResponse* pPPVDBManagerResponseNew, IHXBuffer* pBufferPrincipalID, IHXBuffer* pBufferURL ) PURE; /************************************************************************ * Method: * IHXPPVDBManager::SetPermissions * Purpose: * * Call this to set the PPV permissions for the specified URL * and user. * */ STDMETHOD(SetPermissions) ( THIS_ IHXPPVDBManagerResponse* pPPVDBManagerResponseNew, IHXBuffer* pBufferPrincipalID, IHXBuffer* pBufferURL, IHXValues* pValuesPermissions ) PURE; /************************************************************************ * Method: * IHXPPVDBManager::RevokePermissions * Purpose: * * Call this to remove the PPV permissions for the specified URL * and user. * */ STDMETHOD(RevokePermissions) ( THIS_ IHXPPVDBManagerResponse* pPPVDBManagerResponseNew, IHXBuffer* pBufferPrincipalID, IHXBuffer* pBufferURL ) PURE; /************************************************************************ * Method: * IHXPPVDBManager::RevokeAllPermissions * Purpose: * * Call this to remove the PPV permissions for all URL's * that this user has access too. * */ STDMETHOD(RevokeAllPermissions) ( THIS_ IHXPPVDBManagerResponse* pPPVDBManagerResponseNew, IHXBuffer* pBufferPrincipalID ) PURE; /************************************************************************ * Method: * IHXPPVDBManager::LogAccessAttempt * Purpose: * * Call this to record the results of an attempt to access * protected content. * */ STDMETHOD(LogAccessAttempt) ( THIS_ IHXValues* pValuesAccess ) PURE;};/**************************************************************************** * * Interface: * * IHXPPVDBManagerResponse * * Purpose: * * A database user will implement this when it desires to * manage Pay-Per-View permission data. * This interface receives the results of IHXPPVDBManager * methods * * IHXPPVDBManagerResponse: * * {00002A09-0901-11d1-8B06-00A024406D59} * */DEFINE_GUID(IID_IHXPPVDBManagerResponse, 0x00002A09, 0x901, 0x11d1, 0x8b, 0x6, 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);#undef INTERFACE#define INTERFACE IHXPPVDBManagerResponseDECLARE_INTERFACE_(IHXPPVDBManagerResponse, IUnknown){ /* * IUnknown methods */ STDMETHOD(QueryInterface) ( THIS_ REFIID IIDOfInterfaceDesired, void** ppVoidRequestedInterface ) PURE; STDMETHOD_(ULONG32,AddRef) ( THIS ) PURE; STDMETHOD_(ULONG32,Release) ( THIS ) PURE; /************************************************************************ * Method: * IHXPPVDBManagerResponse::GetPermissionsDone * Purpose: * * Reports the success or failure of * IHXPPVDBManager::GetPermissions * If successful then the Permissions are valid * */ STDMETHOD(GetPermissionsDone) ( THIS_ HX_RESULT ResultStatus, IHXBuffer* pBufferPrincipalID, IHXValues* pValuesPermissions ) PURE; /************************************************************************ * Method: * IHXPPVDBManagerResponse::SetPermissionsDone * Purpose: * * Reports the success or failure of * IHXPPVDBManager::SetPermissions * */ STDMETHOD(SetPermissionsDone) ( THIS_ HX_RESULT ResultStatus, IHXBuffer* pBufferPrincipalID ) PURE; /************************************************************************ * Method: * IHXPPVDBManagerResponse::RevokePermissionsDone * Purpose: * * Reports the success or failure of * IHXPPVDBManager::RevokePermissions * */ STDMETHOD(RevokePermissionsDone) ( THIS_ HX_RESULT ResultStatus, IHXBuffer* pBufferPrincipalID ) PURE; /************************************************************************ * Method: * IHXPPVDBManagerResponse::RevokeAllPermissionsDone * Purpose: * * Reports the success or failure of * IHXPPVDBManager::RevokeAllPermissions * */ STDMETHOD(RevokeAllPermissionsDone) ( THIS_ HX_RESULT ResultStatus, IHXBuffer* pBufferPrincipalID ) PURE;};/**************************************************************************** * * Interface: * * IHXRedirectDBManager * * Purpose: * * A database plugin will implement this when it desires to provide * storage of URL's to redirect. * * IHXRedirectDBManager: * * {00002A0C-0901-11d1-8B06-00A024406D59} * */DEFINE_GUID(IID_IHXRedirectDBManager, 0x00002A0C, 0x901, 0x11d1, 0x8b, 0x6, 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);#undef INTERFACE#define INTERFACE IHXRedirectDBManagerDECLARE_INTERFACE_(IHXRedirectDBManager, IUnknown){ /* * IUnknown methods */ STDMETHOD(QueryInterface) ( THIS_ REFIID IIDOfInterfaceDesired, void** ppVoidRequestedInterface ) PURE; STDMETHOD_(ULONG32,AddRef) ( THIS ) PURE; STDMETHOD_(ULONG32,Release) ( THIS ) PURE; /************************************************************************ * Method: * IHXRedirectDBManager::GetRedirect * Purpose: * * Call this to retrieve the URL that the specified URL should * be redirected to. * */ STDMETHOD(GetRedirect) ( THIS_ IHXRedirectDBManagerResponse* pRedirectDBManagerResponseNew, IHXBuffer* pBufferURL ) PURE; /************************************************************************ * Method: * IHXRedirectDBManager::AddRedirect * Purpose: * * Call this to set the new URL that the specified URL should * be redirected to. * */ STDMETHOD(AddRedirect) ( THIS_ IHXRedirectDBManagerResponse* pRedirectDBManagerResponseNew, IHXBuffer* pBufferURL, IHXBuffer* pBufferNewURL ) PURE; /************************************************************************ * Method: * IHXRedirectDBManager::RemoveRedirect * Purpose: * * Call this to stop redirecting the specified URL. * */ STDMETHOD(RemoveRedirect) ( THIS_ IHXRedirectDBManagerResponse* pRedirectDBManagerResponseNew, IHXBuffer* pBufferURL ) PURE;};/**************************************************************************** * * Interface: * * IHXRedirectDBManagerResponse * * Purpose: * * A database user will implement this when it desires to * manage the URL's to redirect. * This interface receives the results of IHXRedirectDBManager * methods * * IHXRedirectDBManagerResponse: * * {00002A0B-0901-11d1-8B06-00A024406D59} * */DEFINE_GUID(IID_IHXRedirectDBManagerResponse, 0x00002A0B, 0x901, 0x11d1, 0x8b, 0x6, 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);#undef INTERFACE#define INTERFACE IHXRedirectDBManagerResponseDECLARE_INTERFACE_(IHXRedirectDBManagerResponse, IUnknown){ /* * IUnknown methods */ STDMETHOD(QueryInterface) ( THIS_ REFIID IIDOfInterfaceDesired, void** ppVoidRequestedInterface ) PURE; STDMETHOD_(ULONG32,AddRef) ( THIS ) PURE; STDMETHOD_(ULONG32,Release) ( THIS ) PURE; /************************************************************************ * Method: * IHXRedirectDBManagerResponse::GetRedirectDone * Purpose: * * Reports the success or failure of * IHXRedirectDBManager::GetRedirect * If successful then the new URL is valid * */ STDMETHOD(GetRedirectDone) ( THIS_ HX_RESULT ResultStatus, IHXBuffer* pBufferURL, IHXBuffer* pBufferNewURL ) PURE; /************************************************************************ * Method: * IHXRedirectDBManagerResponse::AddRedirectDone * Purpose: * * Reports the success or failure of * IHXRedirectDBManager::AddRedirect * */ STDMETHOD(AddRedirectDone) ( THIS_ HX_RESULT ResultStatus, IHXBuffer* pBufferURL ) PURE; /************************************************************************ * Method: * IHXRedirectDBManagerResponse::RemoveRedirectDone * Purpose: * * Reports the success or failure of * IHXRedirectDBManager::RemoveRedirect * */ STDMETHOD(RemoveRedirectDone) ( THIS_ HX_RESULT ResultStatus, IHXBuffer* pBufferURL ) PURE;};/**************************************************************************** * * Interface: * * IHXRegistrationLogger * * Purpose: * * A database plugin will implement this when it desires to provide * storage of player registration attempts. * * IHXRegistrationLogger: * * {00002A0E-0901-11d1-8B06-00A024406D59} * */DEFINE_GUID(IID_IHXRegistrationLogger, 0x00002A0E, 0x901, 0x11d1, 0x8b, 0x6, 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);#undef INTERFACE#define INTERFACE IHXRegistrationLoggerDECLARE_INTERFACE_(IHXRegistrationLogger, IUnknown){ /* * IUnknown methods */ STDMETHOD(QueryInterface) ( THIS_ REFIID IIDOfInterfaceDesired, void** ppVoidRequestedInterface ) PURE; STDMETHOD_(ULONG32,AddRef) ( THIS ) PURE; STDMETHOD_(ULONG32,Release) ( THIS ) PURE; /************************************************************************ * Method: * IHXRegistrationLogger::LogRegistrationAttempt * Purpose: * * Call this to record the results of an attempt to register * a player's GUID. * */ STDMETHOD(LogRegistrationAttempt) ( THIS_ IHXValues* pValuesRegistration ) PURE;};#endif /* !_HXDB_H_ */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -