summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/external.cc
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/external.cc')
-rw-r--r--winsup/cygwin/external.cc8
1 files changed, 8 insertions, 0 deletions
diff --git a/winsup/cygwin/external.cc b/winsup/cygwin/external.cc
index 0b607f178..4d7f03d1b 100644
--- a/winsup/cygwin/external.cc
+++ b/winsup/cygwin/external.cc
@@ -460,6 +460,14 @@ cygwin_internal (cygwin_getinfo_types t, ...)
res = 0;
}
break;
+ case CW_GET_INSTKEY:
+ {
+ extern WCHAR installation_key_buf[18];
+ PWCHAR dest = va_arg (arg, PWCHAR);
+ wcscpy (dest, installation_key_buf);
+ res = 0;
+ }
+ break;
default:
set_errno (ENOSYS);