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.

34 lines
1008 B

  1. //Copyright (c) Microsoft Corporation. All rights reserved.
  2. #ifndef _IPC_H_
  3. #define _IPC_H_
  4. #define IPC_HEADER_SIZE ( sizeof( UCHAR ) + sizeof( DWORD ) )
  5. //These messages are from session to server
  6. #define SESSION_EXIT '0'
  7. #define SOCKET_HANDOVER_COMPLETE '1'
  8. #define AUDIT_CLIENT '2'
  9. #define SESSION_DETAILS '3'
  10. #define LICENSE_AVAILABLE '4'
  11. #define LICENSE_NOT_AVAILABLE '5'
  12. #define TLNTSVR_SHUTDOWN '6'
  13. #define SYSTEM_SHUTDOWN '7'
  14. #define OPERATOR_MESSAGE '8'
  15. #define UPDATE_IDLE_TIME '9'
  16. #define RESET_IDLE_TIME 'A'
  17. //These messages are from server to session
  18. #define GO_DOWN '0'
  19. //The following is a message sent by service call back thread to IPC handling
  20. //thread
  21. #define MAX_PIPE_BUFFER 1024
  22. #define NET_BUF_SIZ 2048
  23. #define MAX_WRITE_SOCKET_BUFFER 4096
  24. #define MAX_READ_SOCKET_BUFFER 1024
  25. #endif _IPC_H_