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.
 
 
 
 
 
 

83 lines
1.3 KiB

//Copyright (c) 1998 - 1999 Microsoft Corporation
#ifndef _RNODES_H
#define _RNODES_H
#include "dataobj.h"
#include "cfgbkend.h"
/*
#define IDM_ENABLE_CONNECTION 102
#define IDM_RENAME_CONNECTION 103
*/
class CResultNode : public CBaseNode
{
DWORD m_dwImageidx;
BOOL m_bEnableConnection;
LPTSTR m_pszConnectionName;
LPTSTR m_pszTransportTypeName;
LPTSTR m_pszTypeName;
LPTSTR m_pszComment;
ICfgComp *m_pCfgcomp;
public:
CResultNode( );
CResultNode( CResultNode& x );
~CResultNode( );
LPTSTR GetConName( );
LPTSTR GetTTName( );
LPTSTR GetTypeName( );
LPTSTR GetComment( );
DWORD GetImageIdx( );
int SetConName( LPTSTR , int );
int SetTTName( LPTSTR , int );
int SetTypeName( LPTSTR , int );
int SetComment( LPTSTR , int );
int SetImageIdx( DWORD );
BOOL EnableConnection( BOOL );
BOOL GetConnectionState( ) const
{
return m_bEnableConnection;
}
int SetServer( ICfgComp * );
int GetServer( ICfgComp ** );
int FreeServer( );
BOOL m_bEditMode;
// additional routines
BOOL AddMenuItems( LPCONTEXTMENUCALLBACK , PLONG );
};
#endif //_RNODES_H