📄 hxdb.h
字号:
*/
STDMETHOD(QueryInterface)
(
THIS_
REFIID IIDOfInterfaceDesired,
void** ppVoidRequestedInterface
) PURE;
STDMETHOD_(ULONG32,AddRef)
(
THIS
) PURE;
STDMETHOD_(ULONG32,Release)
(
THIS
) PURE;
/************************************************************************
* Method:
* IHXAsyncEnumAuthenticationDBResponse::ResetDone
* Purpose:
*
* Reports the success or failure of
* IHXAsyncEnumAuthenticationDB::Reset
*
*/
STDMETHOD(ResetDone)
(
THIS_
HX_RESULT ResultStatus
) PURE;
/************************************************************************
* Method:
* IHXAsyncEnumAuthenticationDBResponse::NextDone
* Purpose:
*
* Reports the success or failure of
* IHXAsyncEnumAuthenticationDB::Next
* If successful the PrincipalID is valid.
*
*/
STDMETHOD(NextDone)
(
THIS_
HX_RESULT ResultStatus,
IHXBuffer* pBufferNextPrincipalID
) PURE;
/************************************************************************
* Method:
* IHXAsyncEnumAuthenticationDBResponse::SkipDone
* Purpose:
*
* Reports the success or failure of
* IHXAsyncEnumAuthenticationDB::Skip
* If successful the PrincipalID is valid.
*
*/
STDMETHOD(SkipDone)
(
THIS_
HX_RESULT ResultStatus,
IHXBuffer* pBufferNextPrincipalID
) PURE;
};
/****************************************************************************
*
* Interface:
*
* IHXAuthenticationDBAccess
*
* Purpose:
*
* A database plugin will implement this when it desires to provide
* access to authentication data.
*
* IHXAuthenticationDBAccess:
*
* {00002A06-0901-11d1-8B06-00A024406D59}
*
*/
DEFINE_GUID(IID_IHXAuthenticationDBAccess, 0x00002A06, 0x901, 0x11d1, 0x8b, 0x6, 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);
#undef INTERFACE
#define INTERFACE IHXAuthenticationDBAccess
DECLARE_INTERFACE_(IHXAuthenticationDBAccess, IUnknown)
{
/*
* IUnknown methods
*/
STDMETHOD(QueryInterface)
(
THIS_
REFIID IIDOfInterfaceDesired,
void** ppVoidRequestedInterface
) PURE;
STDMETHOD_(ULONG32,AddRef)
(
THIS
) PURE;
STDMETHOD_(ULONG32,Release)
(
THIS
) PURE;
/************************************************************************
* Method:
* IHXAuthenticationDBAccess::_NewEnum
* Purpose:
*
* Call this to make a new enumerator of this collection.
*
*/
STDMETHOD(_NewEnum)
(
THIS_
REF(IHXAsyncEnumAuthenticationDB*) pAsyncEnumAuthenticationDBNew
) PURE;
/************************************************************************
* Method:
* IHXAuthenticationDBAccess::CheckExistence
* Purpose:
*
* Call this to verify the existance of a principal.
*
*/
STDMETHOD(CheckExistence)
(
THIS_
IHXAuthenticationDBAccessResponse* pAuthenticationDBAccessResponseNew,
IHXBuffer* pBufferPrincipalID
) PURE;
/************************************************************************
* Method:
* IHXAuthenticationDBAccess::GetCredentials
* Purpose:
*
* Call this to access the credentials for the specified principal.
*
*/
STDMETHOD(GetCredentials)
(
THIS_
IHXAuthenticationDBAccessResponse* pAuthenticationDBAccessResponseNew,
IHXBuffer* pBufferPrincipalID
) PURE;
};
/****************************************************************************
*
* Interface:
*
* IHXAuthenticationDBAccessResponse
*
* Purpose:
*
* A database user will implement this when it desires to
* access authentication data.
* This interface receives the results of IHXAuthenticationDBAccess
* methods
*
* IHXAuthenticationDBAccessResponse:
*
* {00002A05-0901-11d1-8B06-00A024406D59}
*
*/
DEFINE_GUID(IID_IHXAuthenticationDBAccessResponse, 0x00002A05, 0x901, 0x11d1, 0x8b, 0x6, 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);
#undef INTERFACE
#define INTERFACE IHXAuthenticationDBAccessResponse
DECLARE_INTERFACE_(IHXAuthenticationDBAccessResponse, IUnknown)
{
/*
* IUnknown methods
*/
STDMETHOD(QueryInterface)
(
THIS_
REFIID IIDOfInterfaceDesired,
void** ppVoidRequestedInterface
) PURE;
STDMETHOD_(ULONG32,AddRef)
(
THIS
) PURE;
STDMETHOD_(ULONG32,Release)
(
THIS
) PURE;
/************************************************************************
* Method:
* IHXAuthenticationDBAccessResponse::ExistenceCheckDone
* Purpose:
*
* Reports the success or failure of
* IHXAuthenticationDBAccess::ExistenceCheck
*
*/
STDMETHOD(ExistenceCheckDone)
(
THIS_
HX_RESULT ResultStatus,
IHXBuffer* pBufferPrincipalID
) PURE;
/************************************************************************
* Method:
* IHXAuthenticationDBAccessResponse::GetCredentialsDone
* Purpose:
*
* Reports the success or failure of
* IHXAuthenticationDBAccess::GetCredentials
* If successful the Credentials var is valid.
*
*/
STDMETHOD(GetCredentialsDone)
(
THIS_
HX_RESULT ResultStatus,
IHXBuffer* pBufferPrincipalID,
IHXBuffer* pBufferCredentials
) PURE;
};
/****************************************************************************
*
* Interface:
*
* IHXGUIDDBManager
*
* Purpose:
*
* A database plugin will implement this when it desires to provide
* storage of player GUID data (for Player Authentication).
*
* IHXGUIDDBManager:
*
* {00002A08-0901-11d1-8B06-00A024406D59}
*
*/
DEFINE_GUID(IID_IHXGUIDDBManager, 0x00002A08, 0x901, 0x11d1, 0x8b, 0x6, 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);
#undef INTERFACE
#define INTERFACE IHXGUIDDBManager
DECLARE_INTERFACE_(IHXGUIDDBManager, IUnknown)
{
/*
* IUnknown methods
*/
STDMETHOD(QueryInterface)
(
THIS_
REFIID IIDOfInterfaceDesired,
void** ppVoidRequestedInterface
) PURE;
STDMETHOD_(ULONG32,AddRef)
(
THIS
) PURE;
STDMETHOD_(ULONG32,Release)
(
THIS
) PURE;
/************************************************************************
* Method:
* IHXGUIDDBManager::SetGUIDForPrincipalID
* Purpose:
*
* Call this to associate a player GUID with a user.
*
*/
STDMETHOD(SetGUIDForPrincipalID)
(
THIS_
IHXGUIDDBManagerResponse* pGUIDDBManagerResponseNew,
IHXBuffer* pBufferPrincipalID,
IHXBuffer* pBufferGUID
) PURE;
/************************************************************************
* Method:
* IHXGUIDDBManager::GetPrincipalIDFromGUID
* Purpose:
*
* Call this to get the associated player GUID from a user.
*
*/
STDMETHOD(GetPrincipalIDFromGUID)
(
THIS_
IHXGUIDDBManagerResponse* pGUIDDBManagerResponseNew,
IHXBuffer* pBufferGUID
) PURE;
};
/****************************************************************************
*
* Interface:
*
* IHXGUIDDBManagerResponse
*
* Purpose:
*
* A database user will implement this when it desires to
* manage player GUID data.
* This interface receives the results of IHXGUIDDBManager
* methods
*
* IHXGUIDDBManagerResponse:
*
* {00002A07-0901-11d1-8B06-00A024406D59}
*
*/
DEFINE_GUID(IID_IHXGUIDDBManagerResponse, 0x00002A07, 0x901, 0x11d1, 0x8b, 0x6, 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);
#undef INTERFACE
#define INTERFACE IHXGUIDDBManagerResponse
DECLARE_INTERFACE_(IHXGUIDDBManagerResponse, IUnknown)
{
/*
* IUnknown methods
*/
STDMETHOD(QueryInterface)
(
THIS_
REFIID IIDOfInterfaceDesired,
void** ppVoidRequestedInterface
) PURE;
STDMETHOD_(ULONG32,AddRef)
(
THIS
) PURE;
STDMETHOD_(ULONG32,Release)
(
THIS
) PURE;
/************************************************************************
* Method:
* IHXGUIDDBManagerResponse::SetGUIDForPrincipalIDDone
* Purpose:
*
* Reports the success or failure of
* IHXGUIDDBManager::SetGUIDForPrincipalID
*
*/
STDMETHOD(SetGUIDForPrincipalIDDone)
(
THIS_
HX_RESULT ResultStatus,
IHXBuffer* pBufferPrincipalID
) PURE;
/************************************************************************
* Method:
* IHXGUIDDBManagerResponse::GetPrincipalIDFromGUIDDone
* Purpose:
*
* Reports the success or failure of
* IHXGUIDDBManager::GetGUIDForPrincipalID
*
*/
STDMETHOD(GetPrincipalIDFromGUIDDone)
(
THIS_
HX_RESULT ResultStatus,
IHXBuffer* pBufferGUID,
IHXBuffer* pBufferPrincipalID
) PURE;
};
/****************************************************************************
*
* Interface:
*
* IHXPPVDBManager
*
* Purpose:
*
* A database plugin will implement this when it desires to provide
* storage of Pay-Per-View permission data.
*
* IHXPPVDBManager:
*
* {00002A0A-0901-11d1-8B06-00A024406D59}
*
*/
DEFINE_GUID(IID_IHXPPVDBManager, 0x00002A0A, 0x901, 0x11d1, 0x8b, 0x6, 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);
#undef INTERFACE
#define INTERFACE IHXPPVDBManager
DECLARE_INTERFACE_(IHXPPVDBManager, IUnknown)
{
/*
* IUnknown methods
*/
STDMETHOD(QueryInterface)
(
THIS_
REFIID IIDOfInterfaceDesired,
void** ppVoidRequestedInterface
) PURE;
STDMETHOD_(ULONG32,AddRef)
(
THIS
) PURE;
STDMETHOD_(ULONG32,Release)
(
THIS
) PURE;
/************************************************************************
* Method:
* IHXPPVDBManager::GetPermissions
* Purpose:
*
* Call this to find the PPV permissions for the specified URL
* and user.
*
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -