ReactOS 0.4.15-dev-7924-g5949c20
usermode.c File Reference
#include <stdarg.h>
#include "ntstatus.h"
#include "windef.h"
#include "winbase.h"
#include "sspi.h"
#include "ntsecapi.h"
#include "ntsecpkg.h"
#include "wine/debug.h"
Include dependency graph for usermode.c:

Go to the source code of this file.

Macros

#define WIN32_NO_STATUS
 

Functions

 WINE_DEFAULT_DEBUG_CHANNEL (schannel)
 
NTSTATUS WINAPI SpUserModeInitialize (ULONG LsaVersion, PULONG PackageVersion, PSECPKG_USER_FUNCTION_TABLE *ppTables, PULONG pcTables)
 

Variables

static SECPKG_USER_FUNCTION_TABLE secPkgUserTables [2]
 

Macro Definition Documentation

◆ WIN32_NO_STATUS

#define WIN32_NO_STATUS

Definition at line 24 of file usermode.c.

Function Documentation

◆ SpUserModeInitialize()

NTSTATUS WINAPI SpUserModeInitialize ( ULONG  LsaVersion,
PULONG  PackageVersion,
PSECPKG_USER_FUNCTION_TABLE ppTables,
PULONG  pcTables 
)

Definition at line 72 of file usermode.c.

74{
75 TRACE("(%u, %p, %p, %p)\n", LsaVersion, PackageVersion, ppTables, pcTables);
76
77 if (LsaVersion != SECPKG_INTERFACE_VERSION)
79
80 *PackageVersion = SECPKG_INTERFACE_VERSION;
81 *pcTables = 2;
82 *ppTables = secPkgUserTables;
83
84 return STATUS_SUCCESS;
85}
#define SECPKG_INTERFACE_VERSION
Definition: ntsecpkg.h:34
#define STATUS_SUCCESS
Definition: shellext.h:65
#define TRACE(s)
Definition: solgame.cpp:4
#define STATUS_INVALID_PARAMETER
Definition: udferr_usr.h:135
static SECPKG_USER_FUNCTION_TABLE secPkgUserTables[2]
Definition: usermode.c:35

◆ WINE_DEFAULT_DEBUG_CHANNEL()

WINE_DEFAULT_DEBUG_CHANNEL ( schannel  )

Variable Documentation

◆ secPkgUserTables

SECPKG_USER_FUNCTION_TABLE secPkgUserTables[2]
static

Definition at line 35 of file usermode.c.

Referenced by SpUserModeInitialize().