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.

55 lines
1.4 KiB

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (c) Microsoft Corporation. All rights reserved.
  5. //
  6. // File: SyncRasp.h
  7. //
  8. // Contents: Private Exports used by Ras and SyncMgr for
  9. // doing Pending Disconnect
  10. //
  11. //
  12. // Classes:
  13. //
  14. // Notes:
  15. //
  16. // History: 09-Jan-98 rogerg Created.
  17. //
  18. //--------------------------------------------------------------------------
  19. #ifndef _SYNCMGRRAS_
  20. #define _SYNCMGRRAS_
  21. LRESULT CALLBACK SyncMgrRasProc(UINT uMsg,WPARAM wParam, LPARAM lParam);
  22. // structures used in messages
  23. typedef struct _tagSYNCMGRQUERYSHOWSYNCUI
  24. {
  25. /* [in] */ DWORD cbSize;
  26. /* [in] */ GUID GuidConnection;
  27. /* [in] */ LPCWSTR pszConnectionName;
  28. /* [out] */ BOOL fShowCheckBox;
  29. /* [out] */ UINT nCheckState; // values taken from the BST_ #defines
  30. } SYNCMGRQUERYSHOWSYNCUI;
  31. typedef struct _tagSYNCMGRSYNCDISCONNECT
  32. {
  33. /* [in] */ DWORD cbSize;
  34. /* [in] */ GUID GuidConnection;
  35. /* [in] */ LPCWSTR pszConnectionName;
  36. } SYNCMGRSYNCDISCONNECT;
  37. // Messages to SyncMgrRasProc
  38. #define SYNCMGRRASPROC_QUERYSHOWSYNCUI WM_USER + 1
  39. // wParam = 0
  40. // lParam = Pointer to SYNCMGRQUERYSHOWSYNCUI
  41. #define SYNCMGRRASPROC_SYNCDISCONNECT WM_USER + 2
  42. // wParam = 0
  43. // lParam = Pointer to SYNCMGRSYNCDISCONNECT
  44. #endif // _SYNCMGRRAS_