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.
|
|
/*++
Copyright (c) 2000 Microsoft Corporation
Module Name : wtblobj.h
Abstract:
Manage a list of waitable objects and associated callbacks.
Author:
TadB
Revision History: --*/
#ifndef _WTBLOBJ_
#define _WTBLOBJ_
#ifdef __cplusplus
extern "C" { #endif // __cplusplus
typedef VOID (*WTBLOBJ_ClientFunc)(HANDLE waitableObject, PVOID clientData); typedef VOID *WTBLOBJMGR;
WTBLOBJMGR WTBLOBJ_CreateWaitableObjectMgr();
VOID WTBLOBJ_DeleteWaitableObjectMgr(WTBLOBJMGR mgr);
DWORD WTBLOBJ_AddWaitableObject(WTBLOBJMGR mgr, PVOID clientData, HANDLE waitableObject, IN WTBLOBJ_ClientFunc func);
VOID WTBLOBJ_RemoveWaitableObject(WTBLOBJMGR mgr, HANDLE waitableObject);
DWORD WTBLOBJ_PollWaitableObjects(WTBLOBJMGR mgr);
#ifdef __cplusplus
} #endif // __cplusplus
#endif //#ifndef _WTBLOBJ_
|