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.

55 lines
944 B

  1. /********************************************************************/
  2. /** Microsoft Generic Packet Scheduler **/
  3. /** Copyright(c) Microsoft Corp., 1996-1997 **/
  4. /********************************************************************/
  5. #ifndef __GPCMAP
  6. #define __GPCMAP
  7. //*** gpcmap.h - GPC definitions & prototypes for mapping handles
  8. //
  9. HANDLE
  10. AllocateHandle(
  11. OUT HANDLE *OutHandle,
  12. IN PVOID Reference
  13. );
  14. VOID
  15. SuspendHandle(
  16. IN HANDLE Handle
  17. );
  18. VOID
  19. ResumeHandle(
  20. IN HANDLE Handle
  21. );
  22. VOID
  23. FreeHandle(
  24. IN HANDLE Handle
  25. );
  26. PVOID
  27. GetHandleObject(
  28. IN HANDLE h,
  29. IN GPC_ENUM_OBJECT_TYPE ObjType
  30. );
  31. PVOID
  32. GetHandleObjectWithRef(
  33. IN HANDLE h,
  34. IN GPC_ENUM_OBJECT_TYPE ObjType,
  35. IN ULONG Ref
  36. );
  37. GPC_STATUS
  38. InitMapHandles(VOID);
  39. VOID
  40. UninitMapHandles(VOID);
  41. #endif //__GPCMAP