Source code of Windows XP (NT5)
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
#if !defined(INC__DUserHandleTable_h__INCLUDED)
#define INC__DUserHandleTable_h__INCLUDED
#pragma once
#ifdef __cplusplus
extern "C" { #endif
DECLARE_HANDLE(HHANDLETABLE);
typedef void (CALLBACK * DESTROYHANDLEPROC)(void * pvData, void * pvObject);
DUSER_API HRESULT WINAPI DUserHandleTableCreate( int cItemsPerGroupBits, int cGroupBits, HHANDLETABLE * phtbl);
DUSER_API HRESULT WINAPI DUserHandleTableDestroy( HHANDLETABLE htbl);
DUSER_API HRESULT WINAPI DUserHandleTableAddItem( HHANDLETABLE htbl, DWORD dwItemID, void * pvAdd);
DUSER_API HRESULT WINAPI DUserHandleTableDeleteItem( HHANDLETABLE htbl, DWORD dwItemID);
DUSER_API HRESULT WINAPI DUserHandleTableRemoveItem( HHANDLETABLE htbl, DWORD dwItemID);
DUSER_API HRESULT WINAPI DUserHandleTableFindItem( HHANDLETABLE htbl, DWORD dwItemID, void ** ppvFound);
DUSER_API HRESULT WINAPI DUserHandleTableAddGroup( HHANDLETABLE htbl, int idxGroup, DESTROYHANDLEPROC pfnDestroy, void * pvData);
DUSER_API HRESULT WINAPI DUserHandleTableDeleteGroup( HHANDLETABLE htbl, int idxGroup);
#ifdef __cplusplus
}; // extern "C"
#endif
#endif // INC__DUserHandleTable_h__INCLUDED
|