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.

63 lines
1.4 KiB

  1. #ifndef H__WINMSG
  2. #define H__WINMSG
  3. #define NETDDEMSG_GETNODENAME "NetddeGetOurNodeName"
  4. #define NETDDEMSG_GETCLIENTINFO "NetddeGetClientInfo"
  5. #define NETDDEMSG_SESSIONENUM "NetddeSessionEnum"
  6. #define NETDDEMSG_CONNENUM "NetddeConnectionEnum"
  7. #define NETDDEMSG_SESSIONCLOSE "NetddeSessionClose"
  8. /*
  9. CMD/RSP for client info.
  10. fTouched must be set by NetDDE
  11. */
  12. typedef struct {
  13. LONG fTouched;
  14. LONG_PTR hWndClient;
  15. LONG cClientNodeLimit;
  16. LONG cClientAppLimit;
  17. } INFOCLI_CMD;
  18. typedef INFOCLI_CMD FAR *LPINFOCLI_CMD;
  19. typedef struct {
  20. LONG fTouched;
  21. LONG lReturn;
  22. WORD offsClientNode;
  23. WORD offsClientApp;
  24. } INFOCLI_RSP;
  25. typedef INFOCLI_RSP FAR *LPINFOCLI_RSP;
  26. typedef struct {
  27. LONG fTouched;
  28. LONG nLevel;
  29. LONG lReturnCode;
  30. DWORD cBufSize;
  31. DWORD cbTotalAvailable;
  32. DWORD nItems;
  33. } SESSENUM_CMR;
  34. typedef SESSENUM_CMR FAR *LPSESSENUM_CMR;
  35. typedef struct {
  36. LONG fTouched;
  37. LONG nLevel;
  38. LONG lReturnCode;
  39. char clientName[ UNCLEN+1 ];
  40. short pad;
  41. DWORD cookie;
  42. DWORD cBufSize;
  43. DWORD cbTotalAvailable;
  44. DWORD nItems;
  45. } CONNENUM_CMR;
  46. typedef CONNENUM_CMR FAR *LPCONNENUM_CMR;
  47. typedef struct {
  48. LONG fTouched;
  49. LONG lReturnCode;
  50. char clientName[ UNCLEN+1 ];
  51. short pad;
  52. DWORD_PTR cookie;
  53. } SESSCLOSE_CMR;
  54. typedef SESSCLOSE_CMR FAR *LPSESSCLOSE_CMR;
  55. #endif