Commit 230fb06d authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

include: Change the rest of sspi.h to use LONG/ULONG for Win64 compatibility.

parent 57ab0cd9
......@@ -249,7 +249,7 @@ static void testAcquireSecurityContext(void)
NULL, NULL, NULL, NULL, &cred, &exp);
ok(st == SEC_E_OK, "AcquireCredentialsHandleA failed: %08x\n", st);
/* expriy is indeterminate in win2k3 */
trace("expiry: %08lx%08lx\n", exp.HighPart, exp.LowPart);
trace("expiry: %08x%08x\n", exp.HighPart, exp.LowPart);
pFreeCredentialsHandle(&cred);
/* Bad version in SCHANNEL_CRED */
......
......@@ -71,8 +71,8 @@ typedef PSecHandle PCtxtHandle;
typedef struct _SECURITY_INTEGER
{
unsigned long LowPart;
long HighPart;
ULONG LowPart;
LONG HighPart;
} SECURITY_INTEGER, *PSECURITY_INTEGER;
typedef SECURITY_INTEGER TimeStamp, *PTimeStamp;
......@@ -171,7 +171,7 @@ typedef struct _SecBufferDesc
#define SECBUFFER_VERSION 0
typedef void (SEC_ENTRY *SEC_GET_KEY_FN)(void *Arg, void *Principal,
unsigned long KeyVer, void **Key, SECURITY_STATUS *Status);
ULONG KeyVer, void **Key, SECURITY_STATUS *Status);
SECURITY_STATUS SEC_ENTRY EnumerateSecurityPackagesA(PULONG pcPackages,
PSecPkgInfoA *ppPackageInfo);
......@@ -532,7 +532,7 @@ typedef struct _SecPkgContext_PasswordExpiry
typedef struct _SecPkgContext_SessionKey
{
unsigned long SessionKeyLength;
ULONG SessionKeyLength;
unsigned char *SessionKey;
} SecPkgContext_SessionKey, *PSecPkgContext_SessionKey;
......@@ -551,24 +551,24 @@ typedef struct _SecPkgContext_PackageInfoW
typedef struct _SecPkgContext_Flags
{
unsigned long Flags;
ULONG Flags;
} SecPkgContext_Flags, *PSecPkgContext_Flags;
typedef struct _SecPkgContext_UserFlags
{
unsigned long UserFlags;
ULONG UserFlags;
} SecPkgContext_UserFlags, *PSecPkgContext_UserFlags;
typedef struct _SecPkgContext_NegotiationInfoA
{
PSecPkgInfoA PackageInfo;
unsigned long NegotiationState;
ULONG NegotiationState;
} SecPkgContext_NegotiationInfoA, *PSecPkgContext_NegotiationInfoA;
typedef struct _SecPkgContext_NegotiationInfoW
{
PSecPkgInfoW PackageInfo;
unsigned long NegotiationState;
ULONG NegotiationState;
} SecPkgContext_NegotiationInfoW, *PSecPkgContext_NegotiationInfoW;
#define SecPkgContext_NegotiationInfo WINELIB_NAME_AW(SecPkgContext_NegotiationInfo)
......@@ -598,13 +598,13 @@ typedef struct _SecPkgContext_NativeNamesW
typedef struct _SecPkgContext_CredentialNameA
{
unsigned long CredentialType;
ULONG CredentialType;
SEC_CHAR *sCredentialName;
} SecPkgContext_CredentialNameA, *PSecPkgContext_CredentialNameA;
typedef struct _SecPkgContext_CredentialNameW
{
unsigned long CredentialType;
ULONG CredentialType;
SEC_WCHAR *sCredentialName;
} SecPkgContext_CredentialNameW, *PSecPkgContext_CredentialNameW;
......@@ -618,19 +618,19 @@ typedef struct _SecPkgContext_AccessToken
typedef struct _SecPkgContext_TargetInformation
{
unsigned long MarshalledTargetInfoLength;
ULONG MarshalledTargetInfoLength;
unsigned char *MarshalledTargetInfo;
} SecPkgContext_TargetInformation, *PSecPkgContext_TargetInformation;
typedef struct _SecPkgContext_AuthzID
{
unsigned long AuthzIDLength;
ULONG AuthzIDLength;
char *AuthzID;
} SecPkgContext_AuthzID, *PSecPkgContext_AuthzID;
typedef struct _SecPkgContext_Target
{
unsigned long TargetLength;
ULONG TargetLength;
char *Target;
} SecPkgContext_Target, *PSecPkgContext_Target;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment