ReactOS 0.4.15-dev-7842-g558ab78
user.c File Reference
#include "precomp.h"
#include "wine/debug.h"
Include dependency graph for user.c:

Go to the source code of this file.

Functions

 WINE_DEFAULT_DEBUG_CHANNEL (msv1_0)
 
NTSTATUS NTAPI SpInstanceInit (_In_ ULONG Version, _In_ PSECPKG_DLL_FUNCTIONS FunctionTable, _Inout_ PVOID *UserFunctions)
 
NTSTATUS NTAPI UsrSpMakeSignature (_In_ LSA_SEC_HANDLE ContextHandle, _In_ ULONG QualityOfProtection, _Inout_ PSecBufferDesc MessageBuffers, _In_ ULONG MessageSequenceNumber)
 
NTSTATUS NTAPI UsrSpVerifySignature (_In_ LSA_SEC_HANDLE phContext, _In_ PSecBufferDesc pMessage, _In_ ULONG MessageSeqNo, _In_ PULONG pfQOP)
 
NTSTATUS NTAPI UsrSpSealMessage (_In_ LSA_SEC_HANDLE ContextHandle, _In_ ULONG QualityOfProtection, _Inout_ PSecBufferDesc MessageBuffers, _In_ ULONG MessageSequenceNumber)
 
NTSTATUS NTAPI UsrSpUnsealMessage (_In_ LSA_SEC_HANDLE ContextHandle, _Inout_ PSecBufferDesc MessageBuffers, _In_ ULONG MessageSequenceNumber, _In_ PULONG QualityOfProtection)
 
NTSTATUS NTAPI UsrSpGetContextToken (_In_ LSA_SEC_HANDLE ContextHandle, _Inout_ PHANDLE ImpersonationToken)
 
NTSTATUS NTAPI UsrSpQueryContextAttributes (_In_ LSA_SEC_HANDLE ContextHandle, _In_ ULONG ContextAttribute, _Inout_ PVOID Buffer)
 
NTSTATUS NTAPI UsrSpCompleteAuthToken (_In_ LSA_SEC_HANDLE ContextHandle, _In_ PSecBufferDesc InputBuffer)
 
NTSTATUS NTAPI UsrSpDeleteUserModeContext (_In_ LSA_SEC_HANDLE ContextHandle)
 
NTSTATUS NTAPI UsrSpFormatCredentials (_In_ PSecBuffer Credentials, _Inout_ PSecBuffer FormattedCredentials)
 
NTSTATUS NTAPI UsrSpMarshallSupplementalCreds (_In_ ULONG CredentialSize, _In_ PUCHAR Credentials, _Inout_ PULONG MarshalledCredSize, _Inout_ PVOID *MarshalledCreds)
 
NTSTATUS NTAPI UsrSpExportSecurityContext (_In_ LSA_SEC_HANDLE phContext, _In_ ULONG fFlags, _Inout_ PSecBuffer pPackedContext, _Inout_ PHANDLE pToken)
 
NTSTATUS NTAPI UsrSpImportSecurityContext (_In_ PSecBuffer pPackedContext, _In_ HANDLE Token, _Inout_ PLSA_SEC_HANDLE phContext)
 

Function Documentation

◆ SpInstanceInit()

NTSTATUS NTAPI SpInstanceInit ( _In_ ULONG  Version,
_In_ PSECPKG_DLL_FUNCTIONS  FunctionTable,
_Inout_ PVOID UserFunctions 
)

Definition at line 15 of file user.c.

19{
20 TRACE("SpInstanceInit(Version 0x%lx, 0x%p, 0x%p)\n",
21 Version, FunctionTable, UserFunctions);
23}
#define STATUS_NOT_IMPLEMENTED
Definition: ntstatus.h:239
#define TRACE(s)
Definition: solgame.cpp:4
_Must_inspect_result_ _In_ WDFDEVICE _In_ LPCGUID _Out_ PINTERFACE _In_ USHORT _In_ USHORT Version
Definition: wdffdo.h:469
static WLX_DISPATCH_VERSION_1_4 FunctionTable
Definition: wlx.c:722

◆ UsrSpCompleteAuthToken()

NTSTATUS NTAPI UsrSpCompleteAuthToken ( _In_ LSA_SEC_HANDLE  ContextHandle,
_In_ PSecBufferDesc  InputBuffer 
)

Definition at line 106 of file user.c.

109{
110 TRACE("UsrSpCompleteAuthToken(0x%p 0x%p)\n",
111 ContextHandle, InputBuffer);
113}
_Must_inspect_result_ _In_ WDFIOTARGET _In_opt_ WDFREQUEST _In_opt_ PWDF_MEMORY_DESCRIPTOR InputBuffer
Definition: wdfiotarget.h:953

◆ UsrSpDeleteUserModeContext()

NTSTATUS NTAPI UsrSpDeleteUserModeContext ( _In_ LSA_SEC_HANDLE  ContextHandle)

Definition at line 117 of file user.c.

119{
120 TRACE("UsrSpDeleteUserModeContext(0x%p)\n",
121 ContextHandle);
123}

◆ UsrSpExportSecurityContext()

NTSTATUS NTAPI UsrSpExportSecurityContext ( _In_ LSA_SEC_HANDLE  phContext,
_In_ ULONG  fFlags,
_Inout_ PSecBuffer  pPackedContext,
_Inout_ PHANDLE  pToken 
)

Definition at line 153 of file user.c.

158{
159 TRACE("UsrSpExportSecurityContext(0x%p 0x%x 0x%p 0x%p)\n",
160 phContext, fFlags, pPackedContext, pToken);
161
162 return ERROR_NOT_SUPPORTED;
163}
#define ERROR_NOT_SUPPORTED
Definition: compat.h:100

◆ UsrSpFormatCredentials()

NTSTATUS NTAPI UsrSpFormatCredentials ( _In_ PSecBuffer  Credentials,
_Inout_ PSecBuffer  FormattedCredentials 
)

Definition at line 127 of file user.c.

130{
131 TRACE("UsrSpFormatCredentials(0x%p 0x%p)\n",
132 Credentials, FormattedCredentials);
133
134 return ERROR_NOT_SUPPORTED;
135}

◆ UsrSpGetContextToken()

NTSTATUS NTAPI UsrSpGetContextToken ( _In_ LSA_SEC_HANDLE  ContextHandle,
_Inout_ PHANDLE  ImpersonationToken 
)

Definition at line 83 of file user.c.

86{
87 TRACE("UsrSpGetContextToken(0x%p 0x%p)\n",
88 ContextHandle, ImpersonationToken);
90}

◆ UsrSpImportSecurityContext()

NTSTATUS NTAPI UsrSpImportSecurityContext ( _In_ PSecBuffer  pPackedContext,
_In_ HANDLE  Token,
_Inout_ PLSA_SEC_HANDLE  phContext 
)

Definition at line 167 of file user.c.

171{
172 TRACE("UsrSpImportSecurityContext(0x%p 0x%x 0x%p)\n",
173 pPackedContext, Token, phContext);
174
175 return ERROR_NOT_SUPPORTED;
176}

◆ UsrSpMakeSignature()

NTSTATUS NTAPI UsrSpMakeSignature ( _In_ LSA_SEC_HANDLE  ContextHandle,
_In_ ULONG  QualityOfProtection,
_Inout_ PSecBufferDesc  MessageBuffers,
_In_ ULONG  MessageSequenceNumber 
)

Definition at line 27 of file user.c.

32{
33 TRACE("UsrSpMakeSignature(0x%p 0x%x 0x%p 0x%x)\n",
34 ContextHandle, QualityOfProtection,
35 MessageBuffers, MessageSequenceNumber);
37}

◆ UsrSpMarshallSupplementalCreds()

NTSTATUS NTAPI UsrSpMarshallSupplementalCreds ( _In_ ULONG  CredentialSize,
_In_ PUCHAR  Credentials,
_Inout_ PULONG  MarshalledCredSize,
_Inout_ PVOID MarshalledCreds 
)

Definition at line 139 of file user.c.

144{
145 TRACE("UsrSpMarshallSupplementalCreds(0x%x 0x%p 0x%p 0x%p)\n",
146 CredentialSize, Credentials, MarshalledCredSize, MarshalledCreds);
147
148 return ERROR_NOT_SUPPORTED;
149}

◆ UsrSpQueryContextAttributes()

NTSTATUS NTAPI UsrSpQueryContextAttributes ( _In_ LSA_SEC_HANDLE  ContextHandle,
_In_ ULONG  ContextAttribute,
_Inout_ PVOID  Buffer 
)

Definition at line 94 of file user.c.

98{
99 TRACE("UsrSpQueryContextAttributes(0x%p 0x%x 0x%p)\n",
100 ContextHandle, ContextAttribute, Buffer);
102}
Definition: bufpool.h:45

◆ UsrSpSealMessage()

NTSTATUS NTAPI UsrSpSealMessage ( _In_ LSA_SEC_HANDLE  ContextHandle,
_In_ ULONG  QualityOfProtection,
_Inout_ PSecBufferDesc  MessageBuffers,
_In_ ULONG  MessageSequenceNumber 
)

Definition at line 55 of file user.c.

60{
61 TRACE("UsrSpSealMessage(0x%p 0x%x 0x%p 0x%x)\n",
62 ContextHandle, QualityOfProtection,
63 MessageBuffers, MessageSequenceNumber);
65}

◆ UsrSpUnsealMessage()

NTSTATUS NTAPI UsrSpUnsealMessage ( _In_ LSA_SEC_HANDLE  ContextHandle,
_Inout_ PSecBufferDesc  MessageBuffers,
_In_ ULONG  MessageSequenceNumber,
_In_ PULONG  QualityOfProtection 
)

Definition at line 69 of file user.c.

74{
75 TRACE("UsrSpUnsealMessage(0x%p 0x%x 0x%p 0x%x)\n",
76 ContextHandle, MessageBuffers,
77 MessageSequenceNumber, QualityOfProtection);
79}

◆ UsrSpVerifySignature()

NTSTATUS NTAPI UsrSpVerifySignature ( _In_ LSA_SEC_HANDLE  phContext,
_In_ PSecBufferDesc  pMessage,
_In_ ULONG  MessageSeqNo,
_In_ PULONG  pfQOP 
)

Definition at line 41 of file user.c.

46{
47 TRACE("UsrSpVerifySignature(0x%p 0x%x 0x%x 0x%p)\n",
48 phContext, pMessage, MessageSeqNo, pfQOP);
49
51}

◆ WINE_DEFAULT_DEBUG_CHANNEL()

WINE_DEFAULT_DEBUG_CHANNEL ( msv1_0  )