SECPKG_DLL_FUNCTIONS structure (ntsecpkg.h)

The SECPKG_DLL_FUNCTIONS structure contains pointers to the LSA functions that a security package can call while executing in-process with a client/server application. The Local Security Authority (LSA) provides this structure during user-mode initialization using each security package's SpInstanceInit function.

Syntax

typedef struct _SECPKG_DLL_FUNCTIONS {
  PLSA_ALLOCATE_LSA_HEAP AllocateHeap;
  PLSA_FREE_LSA_HEAP     FreeHeap;
  PLSA_REGISTER_CALLBACK RegisterCallback;
  PLSA_LOCATE_PKG_BY_ID  LocatePackageById;
} SECPKG_DLL_FUNCTIONS, *PSECPKG_DLL_FUNCTIONS;

Members

AllocateHeap

Pointer to the AllocateHeap function.

FreeHeap

Pointer to the FreeHeap function.

RegisterCallback

Pointer to the RegisterCallback function.

LocatePackageById

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Header ntsecpkg.h