schannel: The PSDK defines no SECPKG_FUNCTION_TABLE_SIZE_* macro.
This commit is contained in:
parent
efba293582
commit
ecaeeb2c9b
@ -32,6 +32,13 @@
|
|||||||
|
|
||||||
#include "wine/test.h"
|
#include "wine/test.h"
|
||||||
|
|
||||||
|
/* 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)
|
||||||
|
|
||||||
static NTSTATUS (NTAPI *pSpLsaModeInitialize)(ULONG, PULONG,
|
static NTSTATUS (NTAPI *pSpLsaModeInitialize)(ULONG, PULONG,
|
||||||
PSECPKG_FUNCTION_TABLE*, PULONG);
|
PSECPKG_FUNCTION_TABLE*, PULONG);
|
||||||
static NTSTATUS (NTAPI *pSpUserModeInitialize)(ULONG, PULONG,
|
static NTSTATUS (NTAPI *pSpUserModeInitialize)(ULONG, PULONG,
|
||||||
|
@ -405,13 +405,6 @@ typedef struct SECPKG_FUNCTION_TABLE {
|
|||||||
} SECPKG_FUNCTION_TABLE,
|
} SECPKG_FUNCTION_TABLE,
|
||||||
*PSECPKG_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 */
|
/* dispatch tables of user-mode functions implemented by SSP/AP */
|
||||||
typedef struct SECPKG_USER_FUNCTION_TABLE {
|
typedef struct SECPKG_USER_FUNCTION_TABLE {
|
||||||
SpInstanceInitFn *InstanceInit;
|
SpInstanceInitFn *InstanceInit;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user