Windows: AFSTearDownExtents may experience active extents
[openafs.git] / src / WINNT / afssvrmgr / svr_window.h
1 /*
2  * Copyright 2000, International Business Machines Corporation and others.
3  * All Rights Reserved.
4  *
5  * This software has been released under the terms of the IBM Public
6  * License.  For details, see the LICENSE file in the top-level source
7  * directory or online at http://www.openafs.org/dl/license10.html
8  */
9
10 #ifndef SVR_WINDOW_H
11 #define SVR_WINDOW_H
12
13
14 /*
15  * DEFINITIONS ________________________________________________________________
16  *
17  */
18
19 #define SERVERWINDOW_PREVIEWPANE  g.hMain   /* pass this as hWnd below... */
20
21 typedef struct
22    {
23    LPIDENT lpi;
24    RECT rWindow;
25    BOOL fOpen;
26    } SVR_SETWINDOWPOS_PARAMS, *LPSVR_SETWINDOWPOS_PARAMS;
27
28
29 /*
30  * PROTOTYPES _________________________________________________________________
31  *
32  */
33
34 void Server_Open (LPIDENT lpiServer, LPRECT prWindow);
35 void Server_Close (LPIDENT lpiServer);
36 void Server_CloseAll (BOOL fUserRequested);
37
38 void Server_PrepareTabControl (HWND hTab);
39
40 HWND Server_GetCurrentTab (HWND hWnd);
41 CHILDTAB Server_GetDisplayedTab (HWND hWnd);
42 void Server_SelectServer (HWND hDlg, LPIDENT lpiNew, BOOL fForceRedraw = FALSE);
43 LPIDENT Server_GetServer (HWND hWnd);
44 LPIDENT Server_GetServerForChild (HWND hChild);
45 HWND Server_GetWindowForChild (HWND hChild);
46 void Server_ForceRedraw (HWND hWnd);
47 void Server_DisplayTab (HWND hWnd, CHILDTAB iTab);
48 void Server_Uncover (HWND hWnd);
49
50 void Server_OnKey_Return (void);
51 void Server_OnKey_Menu (void);
52 void Server_OnKey_Esc (void);
53 void Server_OnKey_Properties (void);
54 void Server_OnKey_Tab (HWND hDlg, BOOL fForward);
55 void Server_OnKey_CtrlTab (HWND hDlg, BOOL fForward);
56
57
58 #endif
59