windows-nt/Source/XPSP1/NT/public/internal/com/inc/syncrasp.h
2020-09-26 16:20:57 +08:00

56 lines
1.3 KiB
C

//+-------------------------------------------------------------------------
//
// Microsoft Windows
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// File: SyncRasp.h
//
// Contents: Private Exports used by Ras and SyncMgr for
// doing Pending Disconnect
//
//
// Classes:
//
// Notes:
//
// History: 09-Jan-98 rogerg Created.
//
//--------------------------------------------------------------------------
#ifndef _SYNCMGRRAS_
#define _SYNCMGRRAS_
LRESULT CALLBACK SyncMgrRasProc(UINT uMsg,WPARAM wParam, LPARAM lParam);
// structures used in messages
typedef struct _tagSYNCMGRQUERYSHOWSYNCUI
{
/* [in] */ DWORD cbSize;
/* [in] */ GUID GuidConnection;
/* [in] */ LPCWSTR pszConnectionName;
/* [out] */ BOOL fShowCheckBox;
/* [out] */ UINT nCheckState; // values taken from the BST_ #defines
} SYNCMGRQUERYSHOWSYNCUI;
typedef struct _tagSYNCMGRSYNCDISCONNECT
{
/* [in] */ DWORD cbSize;
/* [in] */ GUID GuidConnection;
/* [in] */ LPCWSTR pszConnectionName;
} SYNCMGRSYNCDISCONNECT;
// Messages to SyncMgrRasProc
#define SYNCMGRRASPROC_QUERYSHOWSYNCUI WM_USER + 1
// wParam = 0
// lParam = Pointer to SYNCMGRQUERYSHOWSYNCUI
#define SYNCMGRRASPROC_SYNCDISCONNECT WM_USER + 2
// wParam = 0
// lParam = Pointer to SYNCMGRSYNCDISCONNECT
#endif // _SYNCMGRRAS_