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.

48 lines
1.3 KiB

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