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.

80 lines
1.8 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. #define NETDDEMSG_PASSDLGDONE "NetddePasswordDlgDone"
  9. /*
  10. CMD/RSP for client info.
  11. fTouched must be set by NetDDE
  12. */
  13. typedef struct {
  14. LONG fTouched;
  15. LONG_PTR hWndClient;
  16. LONG cClientNodeLimit;
  17. LONG cClientAppLimit;
  18. } INFOCLI_CMD;
  19. typedef INFOCLI_CMD FAR *LPINFOCLI_CMD;
  20. typedef struct {
  21. LONG fTouched;
  22. LONG lReturn;
  23. WORD offsClientNode;
  24. WORD offsClientApp;
  25. } INFOCLI_RSP;
  26. typedef INFOCLI_RSP FAR *LPINFOCLI_RSP;
  27. typedef struct {
  28. LONG fTouched;
  29. LONG nLevel;
  30. LONG lReturnCode;
  31. DWORD cBufSize;
  32. DWORD cbTotalAvailable;
  33. DWORD nItems;
  34. } SESSENUM_CMR;
  35. typedef SESSENUM_CMR FAR *LPSESSENUM_CMR;
  36. typedef struct {
  37. LONG fTouched;
  38. LONG nLevel;
  39. LONG lReturnCode;
  40. char clientName[ UNCLEN+1 ];
  41. short pad;
  42. DWORD cookie;
  43. DWORD cBufSize;
  44. DWORD cbTotalAvailable;
  45. DWORD nItems;
  46. } CONNENUM_CMR;
  47. typedef CONNENUM_CMR FAR *LPCONNENUM_CMR;
  48. typedef struct {
  49. LONG fTouched;
  50. LONG lReturnCode;
  51. char clientName[ UNCLEN+1 ];
  52. short pad;
  53. DWORD_PTR cookie;
  54. } SESSCLOSE_CMR;
  55. typedef SESSCLOSE_CMR FAR *LPSESSCLOSE_CMR;
  56. typedef struct {
  57. DWORD dwReserved; /* must be 1 */
  58. LPSTR lpszUserName;
  59. LPSTR lpszDomainName;
  60. LPSTR lpszPassword;
  61. DWORD fCancelAll;
  62. } PASSDLGDONE;
  63. typedef PASSDLGDONE FAR *LPPASSDLGDONE;
  64. BOOL FAR PASCAL PasswordDlgDone(
  65. HWND hWndPasswordDlg,
  66. LPSTR lpszUserName,
  67. LPSTR lpszDomainName,
  68. LPSTR lpszPassword,
  69. DWORD fCancelAll
  70. );
  71. #endif