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.
This commit is contained in:
Chris Sutcliffe 2010-08-26 02:42:31 +00:00
parent 8ea817cb14
commit 2cb94d2ba4
3 changed files with 120 additions and 41 deletions

View File

@ -1,3 +1,10 @@
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.
2010-08-25 Ali Sabil <asabil@users.sourceforge.net> 2010-08-25 Ali Sabil <asabil@users.sourceforge.net>
* include/ocidl.h: Define COBJMACROS for IPropertyBag and IPropertyBag2. * include/ocidl.h: Define COBJMACROS for IPropertyBag and IPropertyBag2.

View File

@ -264,6 +264,9 @@ SECURITY_STATUS WINAPI QueryContextAttributesA(PCtxtHandle,ULONG,PVOID);
SECURITY_STATUS WINAPI QueryContextAttributesW(PCtxtHandle,ULONG,PVOID); SECURITY_STATUS WINAPI QueryContextAttributesW(PCtxtHandle,ULONG,PVOID);
SECURITY_STATUS WINAPI QueryCredentialsAttributesA(PCredHandle,ULONG,PVOID); SECURITY_STATUS WINAPI QueryCredentialsAttributesA(PCredHandle,ULONG,PVOID);
SECURITY_STATUS WINAPI QueryCredentialsAttributesW(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 DecryptMessage(PCtxtHandle,PSecBufferDesc,ULONG,PULONG);
SECURITY_STATUS WINAPI EncryptMessage(PCtxtHandle,ULONG,PSecBufferDesc,ULONG); SECURITY_STATUS WINAPI EncryptMessage(PCtxtHandle,ULONG,PSecBufferDesc,ULONG);
SECURITY_STATUS WINAPI DeleteSecurityContext(PCtxtHandle); SECURITY_STATUS WINAPI DeleteSecurityContext(PCtxtHandle);

View File

@ -1,41 +1,110 @@
LIBRARY SECUR32.dll ;
EXPORTS ; Definition file of Secur32.dll
AcceptSecurityContext@36 ; Automatic generated by gendef
AcquireCredentialsHandleA@36 ; written by Kai Tietz 2008
AcquireCredentialsHandleW@36 ;
ApplyControlTokenA@8 LIBRARY "Secur32.dll"
ApplyControlTokenW@8 EXPORTS
CompleteAuthToken@8 CloseLsaPerformanceData
DecryptMessage@16 CollectLsaPerformanceData@16
DeleteSecurityContext@4 OpenLsaPerformanceData@4
EncryptMessage@16 AcceptSecurityContext@36
EnumerateSecurityPackagesA@8 AcquireCredentialsHandleA@36
EnumerateSecurityPackagesW@8 AcquireCredentialsHandleW@36
FreeContextBuffer@4 AddCredentialsA@32
FreeCredentialsHandle@4 AddCredentialsW@32
GetComputerObjectNameA@12 AddSecurityPackageA@8
GetComputerObjectNameW@12 AddSecurityPackageW@8
GetUserNameExA@12 ApplyControlToken@8
GetUserNameExW@12 ChangeAccountPasswordA@32
ImpersonateSecurityContext@4 ChangeAccountPasswordW@32
InitSecurityInterfaceA@0 CompleteAuthToken@8
InitSecurityInterfaceW@0 CredMarshalTargetInfo@12
InitializeSecurityContextA@48 CredParseUserNameWithType@16
InitializeSecurityContextW@48 CredUnmarshalTargetInfo@16
LsaCallAuthenticationPackage@28 DecryptMessage@16
LsaDeregisterLogonProcess@4 DeleteSecurityContext@4
LsaFreeReturnBuffer@4 DeleteSecurityPackageA@4
LsaLogonUser@56 DeleteSecurityPackageW@4
LsaLookupAuthenticationPackage@12 EncryptMessage@16
LsaRegisterLogonProcess@12 EnumerateSecurityPackagesA@8
MakeSignature@16 EnumerateSecurityPackagesW@8
QueryContextAttributesA@12 ExportSecurityContext@16
QueryContextAttributesW@12 FreeContextBuffer@4
QueryCredentialsAttributesA@12 FreeCredentialsHandle@4
QueryCredentialsAttributesW@12 GetComputerObjectNameA@12
QuerySecurityPackageInfoA@8 GetComputerObjectNameW@12
QuerySecurityPackageInfoW@8 GetSecurityUserInfo@12
RevertSecurityContext@4 GetUserNameExA@12
TranslateNameA@20 GetUserNameExW@12
TranslateNameW@20 ImpersonateSecurityContext@4
VerifySignature@16 ImportSecurityContextA@16
ImportSecurityContextW@16
InitSecurityInterfaceA@0
InitSecurityInterfaceW@0
InitializeSecurityContextA@48
InitializeSecurityContextW@48
LsaCallAuthenticationPackage@28
LsaConnectUntrusted@4
LsaDeregisterLogonProcess@4
LsaEnumerateLogonSessions@8
LsaFreeReturnBuffer@4
LsaGetLogonSessionData@8
LsaLogonUser@56
LsaLookupAuthenticationPackage@12
LsaRegisterLogonProcess@12
LsaRegisterPolicyChangeNotification@8
LsaUnregisterPolicyChangeNotification@8
MakeSignature@16
QueryContextAttributesA@12
QueryContextAttributesW@12
QueryCredentialsAttributesA@12
QueryCredentialsAttributesW@12
QuerySecurityContextToken@8
QuerySecurityPackageInfoA@8
QuerySecurityPackageInfoW@8
RevertSecurityContext@4
SaslAcceptSecurityContext@36
SaslEnumerateProfilesA@8
SaslEnumerateProfilesW@8
SaslGetContextOption@20
SaslGetProfilePackageA@8
SaslGetProfilePackageW@8
SaslIdentifyPackageA@8
SaslIdentifyPackageW@8
SaslInitializeSecurityContextA@48
SaslInitializeSecurityContextW@48
SaslSetContextOption@16
SealMessage@16
SeciAllocateAndSetCallFlags@8
SeciAllocateAndSetIPAddress@12
SeciFreeCallContext@0
SecpFreeMemory@4
SecpTranslateName@24
SecpTranslateNameEx@24
SetContextAttributesA@16
SetContextAttributesW@16
SetCredentialsAttributesA@16
SetCredentialsAttributesW@16
SspiCompareAuthIdentities@16
SspiCopyAuthIdentity@8
SspiDecryptAuthIdentity@4
SspiEncodeAuthIdentityAsStrings@16
SspiEncodeStringsAsAuthIdentity@16
SspiEncryptAuthIdentity@4
SspiExcludePackage@12
SspiFreeAuthIdentity@4
SspiGetComputerNameForSPN@8
SspiGetTargetHostName@8
SspiIsAuthIdentityEncrypted@4
SspiLocalFree@4
SspiMarshalAuthIdentity@12
SspiPrepareForCredRead@16
SspiPrepareForCredWrite@28
SspiUnmarshalAuthIdentity@12
SspiValidateAuthIdentity@4
SspiZeroAuthIdentity@4
TranslateNameA@20
TranslateNameW@20
UnsealMessage@16
VerifySignature@16