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.

53 lines
1.4 KiB

  1. /*++
  2. * File name:
  3. * rclx.h
  4. * Contents:
  5. * Definitions for RCLX (Remote CLient eXecution) module
  6. *
  7. * Copyright (C) 1998-1999 Microsoft Corp.
  8. --*/
  9. typedef struct _RCLXCONTEXT {
  10. SOCKET hSocket;
  11. PCONNECTINFO pOwner;
  12. BOOL bPrologReceived;
  13. BOOL bHeadReceived;
  14. BOOL bRecvDone;
  15. UINT nBytesToReceive;
  16. RCLXFEEDPROLOG Prolog;
  17. UINT nHeadAllocated;
  18. UINT nTailAllocated;
  19. PVOID pHead;
  20. PVOID pTail;
  21. struct _RCLXCONTEXT *pNext;
  22. } RCLXCONTEXT, *PRCLXCONTEXT;
  23. BOOL RClx_Init(VOID);
  24. VOID RClx_Done(VOID);
  25. VOID RClx_DispatchWSockEvent(SOCKET hSocket, LPARAM lEvent);
  26. BOOL RClx_SendConnectInfo(PRCLXCONTEXT pContext,
  27. LPCWSTR wszHydraServer,
  28. INT xRes,
  29. INT yRes,
  30. INT ConnectionFlags);
  31. BOOL RClx_SendMessage(PRCLXCONTEXT pContext,
  32. UINT uiMessage,
  33. WPARAM wParam,
  34. LPARAM lParam);
  35. BOOL RClx_SendClipboard(
  36. PRCLXCONTEXT pContext,
  37. PVOID pClipboard,
  38. UINT nDataLength,
  39. UINT uiFormat);
  40. BOOL RClx_SendClipboardRequest(
  41. PRCLXCONTEXT pContext,
  42. UINT uiFormat);
  43. BOOL RClx_SendBuffer(SOCKET hSocket, PVOID pBuffer, UINT nSize);
  44. VOID RClx_EndRecv(PRCLXCONTEXT pContext);