diff options
Diffstat (limited to 'src/windows/lib/vardlg.h')
-rw-r--r-- | src/windows/lib/vardlg.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/src/windows/lib/vardlg.h b/src/windows/lib/vardlg.h new file mode 100644 index 0000000000..e832e51de8 --- /dev/null +++ b/src/windows/lib/vardlg.h @@ -0,0 +1,32 @@ +/* + * Copyright (C) 1997 Cygnus Solutions + * + * Author: Michael Graff + */ + +#ifndef _WINDOWS_LIB_VARDLG_H +#define _WINDOWS_LIB_VARDLG_H + +#include <windows.h> +#include <windowsx.h> + +#define DLG_BUF 4096 + +/* + * The minimum and maximum dialog box widths we will allow. + */ +#define MIN_WIDTH 350 +#define MAX_WIDTH 600 + +/* + * "build" the dialog box. In this bit of code, we create the dialog box, + * create the OK button, and a static label for the banner text. + * + * If there are items, we also create a Cancel button and one (label, entry) + * fields for each item. + */ +void *vardlg_build(WORD, const char *, WORD, krb5_prompt *, WORD); + +void vardlg_config(HWND, WORD, const char *, WORD, krb5_prompt *, WORD); + +#endif /* _WINDOWS_LIB_VARDLG_H */ |