Leaked source code of windows server 2003
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.
 
 
 
 
 
 

55 lines
999 B

/********************************************************************/
/** Microsoft Generic Packet Scheduler **/
/** Copyright(c) Microsoft Corp., 1996-1997 **/
/********************************************************************/
#ifndef __GPCMAP
#define __GPCMAP
//*** gpcmap.h - GPC definitions & prototypes for mapping handles
//
HANDLE
AllocateHandle(
OUT HANDLE *OutHandle,
IN PVOID Reference
);
VOID
SuspendHandle(
IN HANDLE Handle
);
VOID
ResumeHandle(
IN HANDLE Handle
);
VOID
FreeHandle(
IN HANDLE Handle
);
PVOID
GetHandleObject(
IN HANDLE h,
IN GPC_ENUM_OBJECT_TYPE ObjType
);
PVOID
GetHandleObjectWithRef(
IN HANDLE h,
IN GPC_ENUM_OBJECT_TYPE ObjType,
IN ULONG Ref
);
GPC_STATUS
InitMapHandles(VOID);
VOID
UninitMapHandles(VOID);
#endif //__GPCMAP