PipeCommon.h 1.0 KB

123456789101112131415161718192021222324252627282930313233343536
  1. #ifndef _FREERDPWRAP_PIPE_COMMON_H__
  2. #define _FREERDPWRAP_PIPE_COMMON_H__
  3. #pragma once
  4. //////////////////////////////////////////////////////////////////////////
  5. //#define RVC_DESK2RDP_HOST_PIPE "\\\\.\\pipe\\host2rdp"
  6. //#define RVC_DESK2RDP_CLIENT_PIPE "\\\\.\\pipe\\client2rdp"
  7. //
  8. //
  9. //#define PIPE_TIMEOUT 20000
  10. //#define BUF_SIZE 4096
  11. //#define PRCNAME_SIZE 64
  12. //#define SUFFIX_SIZE 1024
  13. //
  14. //
  15. //#define CTXD_LOGIN 0x0001
  16. //#define CTXD_INVITE 0x0002
  17. //#define CTXD_SHARE 0x0004
  18. //#define CTXD_CREATE 0x0008
  19. //
  20. //#define CTXD_NEEDREPLY 0x1000
  21. //#define CTXD_RESPOND 0x2000
  22. //
  23. //typedef struct _RVCRDP_CONTEXT {
  24. // USHORT nBytes;
  25. // USHORT usDirect;
  26. // DWORD nProcessId;
  27. // CHAR szProcessName[PRCNAME_SIZE];
  28. // CHAR suffix[SUFFIX_SIZE];
  29. //} CABINET_CONTEXT, PCABINET_CONTEXT;
  30. //////////////////////////////////////////////////////////////////////////
  31. #endif //_FREERDPWRAP_PIPE_COMMON_H__