38 lines
1.3 KiB
C
38 lines
1.3 KiB
C
/*
|
|
* 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 );
|
|
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 );
|
|
HRESULT QUARTZ_CompList_RemoveComp( QUARTZ_CompList* pList, IUnknown* punk );
|
|
QUARTZ_CompListItem* QUARTZ_CompList_SearchComp(
|
|
QUARTZ_CompList* pList, IUnknown* punk );
|
|
QUARTZ_CompListItem* QUARTZ_CompList_SearchData(
|
|
QUARTZ_CompList* pList, const void* pvData, DWORD dwDataLen );
|
|
QUARTZ_CompListItem* QUARTZ_CompList_GetFirst(
|
|
QUARTZ_CompList* pList );
|
|
QUARTZ_CompListItem* QUARTZ_CompList_GetNext(
|
|
QUARTZ_CompList* pList, QUARTZ_CompListItem* pPrev );
|
|
IUnknown* QUARTZ_CompList_GetItemPtr( QUARTZ_CompListItem* pItem );
|
|
const void* QUARTZ_CompList_GetDataPtr( QUARTZ_CompListItem* pItem );
|
|
DWORD QUARTZ_CompList_GetDataLength( QUARTZ_CompListItem* pItem );
|
|
|
|
|
|
#endif /* QUARTZ_COMPLIST_H */
|