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.

56 lines
1.8 KiB

  1. /*++
  2. * File name:
  3. * queues.h
  4. * Contents:
  5. * Queue managment functions from queues.c
  6. *
  7. * Copyright (C) 1998-1999 Microsoft Corp.
  8. --*/
  9. #ifndef __QUEUESHEADER_H
  10. #define __QUEUESHEADER_H
  11. #ifdef __cplusplus
  12. extern "C" {
  13. #endif
  14. VOID _AddToWaitQNoCheck(PCONNECTINFO pCI, PWAIT4STRING pWait);
  15. VOID _AddToWaitQueue(PCONNECTINFO, PWAIT4STRING);
  16. BOOL _RemoveFromWaitQueue(PWAIT4STRING);
  17. PWAIT4STRING _RemoveFromWaitQIndirect(PCONNECTINFO, LPCWSTR);
  18. PWAIT4STRING _RetrieveFromWaitQByEvent(HANDLE);
  19. PWAIT4STRING _RetrieveFromWaitQByOwner(PCONNECTINFO);
  20. VOID _FlushFromWaitQ(PCONNECTINFO);
  21. VOID _AddToClientQ(PCONNECTINFO pClient);
  22. BOOL _RemoveFromClientQ(PCONNECTINFO pClient);
  23. BOOL _SetClientDead(LONG_PTR lClientProcessId);
  24. PCONNECTINFO _CheckIsAcceptable(LONG_PTR lProcessId, BOOL bRClxType);
  25. BOOL _CheckForWaitingWorker(LPCWSTR wszFeed, LONG_PTR lProcessId);
  26. BOOL _TextOutReceived(LONG_PTR lProcessId, HANDLE hMapF);
  27. BOOL _GlyphReceived(LONG_PTR lProcessId, HANDLE hMapF);
  28. BOOL _CheckForWorkerWaitingDisconnect(LONG_PTR lProcessId);
  29. BOOL _CheckForWorkerWaitingConnect(HWND hwndClient, LONG_PTR lProcessId);
  30. PCONNECTINFO
  31. _CheckForWorkerWaitingConnectAndSetId(HWND hwndClient,
  32. LONG_PTR lProcessId);
  33. BOOL _CancelWaitingWorker(LONG_PTR lProcessId);
  34. BOOL _CheckForWorkerWaitingClipboard(
  35. PCONNECTINFO pRClxOwner,
  36. UINT uiFormat,
  37. UINT nSize,
  38. PVOID pClipboard,
  39. LONG_PTR lProcessId);
  40. PCONNECTINFO
  41. _CheckForWorkerWaitingReconnectAndSetNewId(
  42. HWND hwndClient,
  43. DWORD dwLookupId,
  44. LONG_PTR lNewId);
  45. BOOL _SetSessionID(LONG_PTR lProcessId, UINT uSessionID);
  46. BOOL _ReplaceProcessId( LONG_PTR lOldPid, LONG_PTR lNewPid );
  47. #ifdef __cplusplus
  48. }
  49. #endif
  50. #endif // __QUEUESHEADER_H