Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
b7b379b0
Commit
b7b379b0
authored
Apr 25, 2007
by
Yuval Fledel
Committed by
Alexandre Julliard
Apr 25, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Introduce SECPKG_INTERFACE_VERSION and extend PSECPKG_FUNCTION_TABLE accordingly.
parent
318ebd22
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
0 deletions
+21
-0
ntsecpkg.h
include/ntsecpkg.h
+21
-0
No files found.
include/ntsecpkg.h
View file @
b7b379b0
...
...
@@ -30,6 +30,11 @@ extern "C" {
#define SECPKG_STATE_WORKSTATION 0x08
#define SECPKG_STATE_STANDALONE 0x10
/* Version magics as passed to or returned from Sp[Lsa,Mode]ModeInitialize */
#define SECPKG_INTERFACE_VERSION 0x10000
#define SECPKG_INTERFACE_VERSION_2 0x20000
#define SECPKG_INTERFACE_VERSION_3 0x40000
/* enum definitions for Secure Service Provider/Authentication Packages */
typedef
enum
_LSA_TOKEN_INFORMATION_TYPE
{
LsaTokenInformationNull
,
...
...
@@ -336,6 +341,10 @@ typedef NTSTATUS (NTAPI SpAddCredentialsFn)(LSA_SEC_HANDLE, PUNICODE_STRING,
PUNICODE_STRING
,
ULONG
,
PVOID
,
PVOID
,
PVOID
,
PTimeStamp
);
typedef
NTSTATUS
(
NTAPI
SpSetExtendedInformationFn
)(
SECPKG_EXTENDED_INFORMATION_CLASS
,
PSECPKG_EXTENDED_INFORMATION
);
typedef
NTSTATUS
(
NTAPI
SpSetContextAttributesFn
)(
LSA_SEC_HANDLE
,
ULONG
,
PVOID
,
ULONG
);
typedef
NTSTATUS
(
NTAPI
SpSetCredentialsAttributesFn
)(
LSA_SEC_HANDLE
,
ULONG
,
PVOID
,
ULONG
);
/* User-mode functions implemented by SSP/AP obtainable by a dispatch table */
typedef
NTSTATUS
(
NTAPI
SpInstanceInitFn
)(
ULONG
,
PSECPKG_DLL_FUNCTIONS
,
...
...
@@ -388,9 +397,21 @@ typedef struct SECPKG_FUNCTION_TABLE {
SpQueryContextAttributesFn
*
SpQueryContextAttributes
;
SpAddCredentialsFn
*
SpAddCredentials
;
SpSetExtendedInformationFn
*
SetExtendedInformation
;
/* Packages with version SECPKG_INTERFACE_VERSION end here */
SpSetContextAttributesFn
*
SpSetContextAttributes
;
/* Packages with version SECPKG_INTERFACE_VERSION_2 end here */
SpSetCredentialsAttributesFn
*
SetCredentialsAttributes
;
/* Packages with version SECPKG_INTERFACE_VERSION_3 end here */
}
SECPKG_FUNCTION_TABLE
,
*
PSECPKG_FUNCTION_TABLE
;
/* Helper macros to find the size of SECPKG_FUNCTION_TABLE */
#define SECPKG_FUNCTION_TABLE_SIZE_1 offsetof(SECPKG_FUNCTION_TABLE, \
SpSetContextAttributes)
#define SECPKG_FUNCTION_TABLE_SIZE_2 offsetof(SECPKG_FUNCTION_TABLE, \
SetCredentialsAttributes)
#define SECPKG_FUNCTION_TABLE_SIZE_3 sizeof(SECPKG_FUNCTION_TABLE)
/* dispatch tables of user-mode functions implemented by SSP/AP */
typedef
struct
SECPKG_USER_FUNCTION_TABLE
{
SpInstanceInitFn
*
InstanceInit
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment