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.
|
|
/**********************************************************************/ /** Microsoft Windows/NT **/ /** Copyright(c) Microsoft Corporation, 1997 - 1998 **/ /**********************************************************************/
/*
ServStat.h The server statistics dialog FILE HISTORY: */
#ifndef _SERVSTAT_H
#define _SERVSTAT_H
#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
#ifndef _STATSDLG_H
#include "statsdlg.h"
#endif
#define SERVER_STATS_DEFAULT_WIDTH 345
#define SERVER_STATS_DEFAULT_HEIGHT 265
class CServerStats : public StatsDialog { public: CServerStats(); ~CServerStats();
// Override the OnInitDialog so that we can set the caption
virtual BOOL OnInitDialog();
// Override the RefreshData to provide sample data
virtual HRESULT RefreshData(BOOL fGrabNewData);
// Override the Sort to provide the ability to do sorting
virtual void Sort(UINT nColumnId);
// custom methods
afx_msg long OnNewStatsAvailable(UINT wParam, LONG lParam); void UpdateWindow(LPDHCP_MIB_INFO pMibInfo);
void SetNode(ITFSNode * pNode) { m_spNode.Set(pNode); } void SetServer(LPCTSTR pServer) { m_strServerAddress = pServer; }
DECLARE_MESSAGE_MAP()
// Context Help Support
virtual DWORD * GetHelpMap() { return DhcpGetHelpMap(IDD_STATS_NARROW); } protected: CString m_strServerAddress; SPITFSNode m_spNode; };
#endif _SERVSTAT_H
|