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.
 
 
 
 
 
 

112 lines
2.9 KiB

//Copyright (c) 1998 - 1999 Microsoft Corporation
// pages.h
#ifndef __pages_h__
#define __pages_h__
#include "stdafx.h"
#include "cocpage.h"
class AppSrvWarningPage : public COCPage
{
public:
AppSrvWarningPage (COCPageData* pPageData);
UINT GetPageID () {return IDD_PROPPAGE_TERMINAL_SERVER_APPSRV_WARN;}
BOOL CanShow () ;
UINT GetHeaderTitleResource () ;
UINT GetHeaderSubTitleResource () ;
BOOL OnInitDialog (HWND hwndDlg, WPARAM /* wParam */, LPARAM /* lParam */);
};
class AppSrvUninstallpage : public COCPage
{
public:
AppSrvUninstallpage (COCPageData* pPageData);
UINT GetPageID () {return IDD_PROPPAGE_TERMINAL_SERVER_APPSRV_WARN_NOSCROLL;}
BOOL CanShow () ;
UINT GetHeaderTitleResource () ;
UINT GetHeaderSubTitleResource () ;
BOOL OnInitDialog (HWND hwndDlg, WPARAM /* wParam */, LPARAM /* lParam */);
VOID OnLink (WPARAM wParam);
};
class DefSecPageData: public COCPageData
{
public:
DefSecPageData ();
~DefSecPageData ();
LPTSTR* GetWinStationArray () {return m_pWinStationArray;}
UINT GetWinStationCount () {return m_cArray;}
BOOL AlocateWinstationsArray (UINT uiWinstationCount);
BOOL AddWinstation (LPCTSTR pStr);
VOID CleanArray ();
private:
UINT m_cArray;
LPTSTR* m_pWinStationArray;
};
class DefaultSecurityPage : public COCPage
{
public:
DefaultSecurityPage (COCPageData* pPageData);
UINT GetPageID () {return IDD_PROPPAGE_TERMINAL_SERVER_SEC;}
BOOL CanShow ();
BOOL OnInitDialog (HWND hwndDlg, WPARAM /* wParam */, LPARAM /* lParam */);
UINT GetHeaderTitleResource ();
UINT GetHeaderSubTitleResource () ;
BOOL ApplyChanges ();
VOID OnActivation ();
VOID OnDeactivation ();
private:
HWND m_hListView;
UINT m_cWinStations;
BOOL PopulateWinStationList ();
DefSecPageData* GetPageData();
};
/*
class PermPageData: public COCPageData
{
public:
PermPageData();
~PermPageData();
EPermMode GetPermissionMode() {return m_ePermMode;}
private:
EPermMode m_ePermMode;
};
*/
class PermPage: public COCPage
{
public:
PermPage(COCPageData* pPageData);
UINT GetPageID() {return IDD_PROPPAGE_TERMINAL_SERVER_PERM;}
BOOL CanShow();
BOOL OnInitDialog(HWND hwndDlg, WPARAM /* wParam */, LPARAM /* lParam */);
VOID OnActivation();
UINT GetHeaderTitleResource() {return IDS_STRING_PERM_PAGE_HEADER_TITLE;}
UINT GetHeaderSubTitleResource() {return IDS_STRING_PERM_PAGE_HEADER_SUBTITLE;}
BOOL ApplyChanges();
// private:
// PermPageData* GetPageData();
};
#endif // __pages_h__