2001-08-22 20:06:00 +02:00
|
|
|
/*
|
|
|
|
* List of components. (for internal use)
|
|
|
|
*
|
|
|
|
* hidenori@a2.ctktv.ne.jp
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef QUARTZ_COMPLIST_H
|
|
|
|
#define QUARTZ_COMPLIST_H
|
|
|
|
|
|
|
|
typedef struct QUARTZ_CompList QUARTZ_CompList;
|
|
|
|
typedef struct QUARTZ_CompListItem QUARTZ_CompListItem;
|
|
|
|
|
|
|
|
QUARTZ_CompList* QUARTZ_CompList_Alloc( void );
|
|
|
|
void QUARTZ_CompList_Free( QUARTZ_CompList* pList );
|
2001-09-07 21:46:49 +02:00
|
|
|
void QUARTZ_CompList_Lock( QUARTZ_CompList* pList );
|
|
|
|
void QUARTZ_CompList_Unlock( QUARTZ_CompList* pList );
|
|
|
|
|
|
|
|
QUARTZ_CompList* QUARTZ_CompList_Dup(
|
|
|
|
const QUARTZ_CompList* pList, BOOL fDupData );
|
|
|
|
HRESULT QUARTZ_CompList_AddComp(
|
|
|
|
QUARTZ_CompList* pList, IUnknown* punk,
|
|
|
|
const void* pvData, DWORD dwDataLen );
|
2001-10-14 18:13:14 +02:00
|
|
|
HRESULT QUARTZ_CompList_AddTailComp(
|
|
|
|
QUARTZ_CompList* pList, IUnknown* punk,
|
|
|
|
const void* pvData, DWORD dwDataLen );
|
2001-08-22 20:06:00 +02:00
|
|
|
HRESULT QUARTZ_CompList_RemoveComp( QUARTZ_CompList* pList, IUnknown* punk );
|
|
|
|
QUARTZ_CompListItem* QUARTZ_CompList_SearchComp(
|
|
|
|
QUARTZ_CompList* pList, IUnknown* punk );
|
2001-09-07 21:46:49 +02:00
|
|
|
QUARTZ_CompListItem* QUARTZ_CompList_SearchData(
|
|
|
|
QUARTZ_CompList* pList, const void* pvData, DWORD dwDataLen );
|
2001-08-22 20:06:00 +02:00
|
|
|
QUARTZ_CompListItem* QUARTZ_CompList_GetFirst(
|
|
|
|
QUARTZ_CompList* pList );
|
2001-10-14 18:13:14 +02:00
|
|
|
QUARTZ_CompListItem* QUARTZ_CompList_GetLast(
|
|
|
|
QUARTZ_CompList* pList );
|
2001-08-22 20:06:00 +02:00
|
|
|
QUARTZ_CompListItem* QUARTZ_CompList_GetNext(
|
|
|
|
QUARTZ_CompList* pList, QUARTZ_CompListItem* pPrev );
|
2001-10-14 18:13:14 +02:00
|
|
|
QUARTZ_CompListItem* QUARTZ_CompList_GetPrev(
|
|
|
|
QUARTZ_CompList* pList, QUARTZ_CompListItem* pNext );
|
2001-08-22 20:06:00 +02:00
|
|
|
IUnknown* QUARTZ_CompList_GetItemPtr( QUARTZ_CompListItem* pItem );
|
2001-09-07 21:46:49 +02:00
|
|
|
const void* QUARTZ_CompList_GetDataPtr( QUARTZ_CompListItem* pItem );
|
|
|
|
DWORD QUARTZ_CompList_GetDataLength( QUARTZ_CompListItem* pItem );
|
2001-08-22 20:06:00 +02:00
|
|
|
|
|
|
|
|
|
|
|
#endif /* QUARTZ_COMPLIST_H */
|