ReactOS 0.4.15-dev-5672-gf73ac17
user.h
Go to the documentation of this file.
1/*
2 * PROJECT: Authentication Package DLL
3 * LICENSE: GPL-2.0-or-later (https://spdx.org/licenses/GPL-2.0-or-later)
4 * PURPOSE: Header for user.c
5 * COPYRIGHT: Copyright 2019-2020 Andreas Maier <staubim@quantentunnel.de>
6 */
7
8#pragma once
9
15 _Inout_ PVOID *UserFunctions);
16
20 _In_ LSA_SEC_HANDLE ContextHandle,
21 _In_ ULONG QualityOfProtection,
22 _Inout_ PSecBufferDesc MessageBuffers,
23 _In_ ULONG MessageSequenceNumber);
24
28 _In_ LSA_SEC_HANDLE phContext,
29 _In_ PSecBufferDesc pMessage,
30 _In_ ULONG MessageSeqNo,
31 _In_ PULONG pfQOP);
32
36 _In_ LSA_SEC_HANDLE ContextHandle,
37 _In_ ULONG QualityOfProtection,
38 _Inout_ PSecBufferDesc MessageBuffers,
39 _In_ ULONG MessageSequenceNumber);
40
44 _In_ LSA_SEC_HANDLE ContextHandle,
45 _Inout_ PSecBufferDesc MessageBuffers,
46 _In_ ULONG MessageSequenceNumber,
47 _In_ PULONG QualityOfProtection);
48
52 _In_ LSA_SEC_HANDLE ContextHandle,
53 _Inout_ PHANDLE ImpersonationToken);
54
58 _In_ LSA_SEC_HANDLE ContextHandle,
59 _In_ ULONG ContextAttribute,
61
65 _In_ LSA_SEC_HANDLE ContextHandle,
67
71 _In_ LSA_SEC_HANDLE ContextHandle);
72
76 _In_ PSecBuffer Credentials,
77 _Inout_ PSecBuffer FormattedCredentials);
78
82 _In_ ULONG CredentialSize,
83 _In_ PUCHAR Credentials,
84 _Inout_ PULONG MarshalledCredSize,
85 _Inout_ PVOID *MarshalledCreds);
86
90 _In_ LSA_SEC_HANDLE phContext,
91 _In_ ULONG fFlags,
92 _Inout_ PSecBuffer pPackedContext,
93 _Inout_ PHANDLE pToken);
94
98 _In_ PSecBuffer pPackedContext,
100 _Inout_ PLSA_SEC_HANDLE phContext);
LONG NTSTATUS
Definition: precomp.h:26
Definition: bufpool.h:45
#define _Inout_
Definition: ms_sal.h:378
#define _In_
Definition: ms_sal.h:308
ULONG LSA_SEC_HANDLE
Definition: ntsecpkg.h:208
ULONG * PLSA_SEC_HANDLE
Definition: ntsecpkg.h:208
PVOID *typedef PHANDLE
Definition: ntsecpkg.h:455
PVOID *typedef PSecBuffer
Definition: ntsecpkg.h:440
uint32_t * PULONG
Definition: typedefs.h:59
#define NTAPI
Definition: typedefs.h:36
unsigned char * PUCHAR
Definition: typedefs.h:53
uint32_t ULONG
Definition: typedefs.h:59
NTSTATUS NTAPI UsrSpDeleteUserModeContext(_In_ LSA_SEC_HANDLE ContextHandle)
Definition: user.c:117
NTSTATUS NTAPI SpInstanceInit(_In_ ULONG Version, _In_ PSECPKG_DLL_FUNCTIONS FunctionTable, _Inout_ PVOID *UserFunctions)
Definition: user.c:15
NTSTATUS NTAPI UsrSpGetContextToken(_In_ LSA_SEC_HANDLE ContextHandle, _Inout_ PHANDLE ImpersonationToken)
Definition: user.c:83
NTSTATUS NTAPI UsrSpCompleteAuthToken(_In_ LSA_SEC_HANDLE ContextHandle, _In_ PSecBufferDesc InputBuffer)
Definition: user.c:106
NTSTATUS NTAPI UsrSpFormatCredentials(_In_ PSecBuffer Credentials, _Inout_ PSecBuffer FormattedCredentials)
Definition: user.c:127
NTSTATUS NTAPI UsrSpVerifySignature(_In_ LSA_SEC_HANDLE phContext, _In_ PSecBufferDesc pMessage, _In_ ULONG MessageSeqNo, _In_ PULONG pfQOP)
Definition: user.c:41
NTSTATUS NTAPI UsrSpQueryContextAttributes(_In_ LSA_SEC_HANDLE ContextHandle, _In_ ULONG ContextAttribute, _Inout_ PVOID Buffer)
Definition: user.c:94
NTSTATUS NTAPI UsrSpMakeSignature(_In_ LSA_SEC_HANDLE ContextHandle, _In_ ULONG QualityOfProtection, _Inout_ PSecBufferDesc MessageBuffers, _In_ ULONG MessageSequenceNumber)
Definition: user.c:27
NTSTATUS NTAPI UsrSpImportSecurityContext(_In_ PSecBuffer pPackedContext, _In_ HANDLE Token, _Inout_ PLSA_SEC_HANDLE phContext)
Definition: user.c:167
NTSTATUS NTAPI UsrSpUnsealMessage(_In_ LSA_SEC_HANDLE ContextHandle, _Inout_ PSecBufferDesc MessageBuffers, _In_ ULONG MessageSequenceNumber, _In_ PULONG QualityOfProtection)
Definition: user.c:69
NTSTATUS NTAPI UsrSpMarshallSupplementalCreds(_In_ ULONG CredentialSize, _In_ PUCHAR Credentials, _Inout_ PULONG MarshalledCredSize, _Inout_ PVOID *MarshalledCreds)
Definition: user.c:139
NTSTATUS NTAPI UsrSpSealMessage(_In_ LSA_SEC_HANDLE ContextHandle, _In_ ULONG QualityOfProtection, _Inout_ PSecBufferDesc MessageBuffers, _In_ ULONG MessageSequenceNumber)
Definition: user.c:55
NTSTATUS NTAPI UsrSpExportSecurityContext(_In_ LSA_SEC_HANDLE phContext, _In_ ULONG fFlags, _Inout_ PSecBuffer pPackedContext, _Inout_ PHANDLE pToken)
Definition: user.c:153
_Must_inspect_result_ _In_ WDFDEVICE _In_ LPCGUID _Out_ PINTERFACE _In_ USHORT _In_ USHORT Version
Definition: wdffdo.h:469
_Must_inspect_result_ _In_ WDFIOTARGET _In_opt_ WDFREQUEST _In_opt_ PWDF_MEMORY_DESCRIPTOR InputBuffer
Definition: wdfiotarget.h:953
static WLX_DISPATCH_VERSION_1_4 FunctionTable
Definition: wlx.c:722