From 88f425a7169a1f1d38b89d80a167f58e8ce475e8 Mon Sep 17 00:00:00 2001 From: Kevin Wasserman Date: Thu, 21 Jun 2012 13:22:39 -0400 Subject: Add 'read-only principal' flag Reserve the high-order 16 bits of dlgtype for flags. Add DLGFLAG_READONLY_PRINC. When specified, the get tickets dialog does not allow the user to change the principal. Signed-off-by: Kevin Wasserman ticket: 7274 (new) queue: kfw target_version: 1.10.4 tags: pullup --- src/windows/include/leashwin.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/windows/include') diff --git a/src/windows/include/leashwin.h b/src/windows/include/leashwin.h index fc210a6ab5..9577365a7e 100644 --- a/src/windows/include/leashwin.h +++ b/src/windows/include/leashwin.h @@ -16,6 +16,8 @@ #define DLGTYPE_PASSWD 0 #define DLGTYPE_CHPASSWD 1 +#define DLGTYPE_MASK 0x0000ffff +#define DLGFLAG_READONLYPRINC 0x10000 typedef struct { int dlgtype; // Tells whether dialog box is in change pwd more or init ticket mode??? -- cgit