Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

55 lines
1.1 KiB

//+---------------------------------------------------------------------------
//
// Microsoft Windows
// Copyright (C) Microsoft Corporation, 1992 - 1995.
//
// File: userctxt.h
//
// Contents:
//
// Classes:
//
// Functions:
//
// History: 10-10-96 RichardW Created
//
//----------------------------------------------------------------------------
#ifndef __USERCTXT_H__
#define __USERCTXT_H__
typedef struct _SSL_USER_CONTEXT {
LIST_ENTRY List ;
LSA_SEC_HANDLE LsaHandle;
ULONG Align;
PSPContext pContext;
} SSL_USER_CONTEXT, * PSSL_USER_CONTEXT ;
BOOL
SslInitContextManager(
VOID
);
SECURITY_STATUS
SslAddUserContext(
IN LSA_SEC_HANDLE LsaHandle,
IN HANDLE Token, // optional
IN PSecBuffer ContextData,
IN BOOL fImportedContext);
PSSL_USER_CONTEXT
SslFindUserContext(
IN LSA_SEC_HANDLE LsaHandle
);
PSSL_USER_CONTEXT
SslFindUserContextEx(
IN PCRED_THUMBPRINT pThumbprint
);
VOID
SslDeleteUserContext(
IN LSA_SEC_HANDLE LsaHandle
);
#endif