summaryrefslogtreecommitdiffstats
path: root/private/nw/convert/nwconv/userdlg.h
blob: dcb91d6a0eff017b3eabd009f8d81b6e212ae248 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
/*+-------------------------------------------------------------------------+
  | Copyright 1993-1994 (C) Microsoft Corporation - All rights reserved.    |
  +-------------------------------------------------------------------------+*/

#ifndef _USERDLG_
#define _USERDLG_

#ifdef __cplusplus
extern "C"{
#endif


typedef struct _CONVERT_OPTIONS {
   BOOL TransferUserInfo;

   BOOL UseMappingFile;
   TCHAR MappingFile[MAX_PATH + 1];

   int PasswordOption;
   TCHAR PasswordConstant[MAX_PW_LEN + 1];
   BOOL ForcePasswordChange;

   int UserNameOption;
   TCHAR UserConstant[MAX_UCONST_LEN + 1];

   int GroupNameOption;
   TCHAR GroupConstant[MAX_UCONST_LEN + 1];

   BOOL SupervisorDefaults;
   BOOL AdminAccounts;
   BOOL NetWareInfo;

   BOOL UseTrustedDomain;
   DOMAIN_BUFFER *TrustedDomain; 
} CONVERT_OPTIONS;

void UserOptionsDefaultsSet(void *cvto);
void UserOptionsDefaultsReset();
void UserOptionsInit(void **cvto);
void UserOptionsLoad(HANDLE hFile, void **lpcvto);
void UserOptionsSave(HANDLE hFile, void *cvto);

void UserOptions_Do(HWND hDlg, void *ConvOptions, SOURCE_SERVER_BUFFER *SourceServer, DEST_SERVER_BUFFER *DestServer);

#ifdef __cplusplus
}
#endif

#endif