summaryrefslogtreecommitdiffstats
path: root/winsup/w32api/include
diff options
context:
space:
mode:
authorChris Sutcliffe <ir0nh34d@users.sourceforge.net>2010-08-26 02:42:31 +0000
committerChris Sutcliffe <ir0nh34d@users.sourceforge.net>2010-08-26 02:42:31 +0000
commit2cb94d2ba46acf097cd3b3a6ba94732e71c1b0ab (patch)
treeb4825d09031c11cba478b0e429c71132ea7cea2a /winsup/w32api/include
parent8ea817cb14eb0e2a21aff6632374accabe525a25 (diff)
downloadcygnal-2cb94d2ba46acf097cd3b3a6ba94732e71c1b0ab.tar.gz
cygnal-2cb94d2ba46acf097cd3b3a6ba94732e71c1b0ab.tar.bz2
cygnal-2cb94d2ba46acf097cd3b3a6ba94732e71c1b0ab.zip
2010-08-25 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
* include/sspi.h (QuerySecurityContextToken): Define. * lib/secur32.def: Regenerate using gendef on a Win7 machine. Thank you to Magnus Hagander for reporting the issue.
Diffstat (limited to 'winsup/w32api/include')
-rw-r--r--winsup/w32api/include/sspi.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/winsup/w32api/include/sspi.h b/winsup/w32api/include/sspi.h
index 8881780cc..2d73e11e5 100644
--- a/winsup/w32api/include/sspi.h
+++ b/winsup/w32api/include/sspi.h
@@ -264,6 +264,9 @@ SECURITY_STATUS WINAPI QueryContextAttributesA(PCtxtHandle,ULONG,PVOID);
SECURITY_STATUS WINAPI QueryContextAttributesW(PCtxtHandle,ULONG,PVOID);
SECURITY_STATUS WINAPI QueryCredentialsAttributesA(PCredHandle,ULONG,PVOID);
SECURITY_STATUS WINAPI QueryCredentialsAttributesW(PCredHandle,ULONG,PVOID);
+#if (_WIN32_WINNT >= 0x0500)
+SECURITY_STATUS WINAPI QuerySecurityContextToken(PCtxtHandle,HANDLE*);
+#endif
SECURITY_STATUS WINAPI DecryptMessage(PCtxtHandle,PSecBufferDesc,ULONG,PULONG);
SECURITY_STATUS WINAPI EncryptMessage(PCtxtHandle,ULONG,PSecBufferDesc,ULONG);
SECURITY_STATUS WINAPI DeleteSecurityContext(PCtxtHandle);