LSA_MAP_BUFFER callback function (ntsecpkg.h)

The MapBuffer function maps a SecBuffer structure into the address space of the security support provider/authentication package (SSP/AP).

Syntax

LSA_MAP_BUFFER LsaMapBuffer;

NTSTATUS LsaMapBuffer(
  [in]  PSecBuffer InputBuffer,
  [out] PSecBuffer OutputBuffer
)
{...}

Parameters

[in] InputBuffer

Pointer to the SecBuffer structure to map.

[out] OutputBuffer

Pointer that receives the address of the mapped SecBuffer structure.

Return value

If the function succeeds, the return value is STATUS_SUCCESS.

If the function fails, the return value is an NTSTATUS code indicating the reason it failed.

Remarks

If the SecBuffer has already been mapped, the MapBuffer function copies the contents of the input buffer over the output buffer.

A pointer to the MapBuffer function is available in the LSA_SECPKG_FUNCTION_TABLE structure received by the SpInitialize function.

Requirements

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

See also

LSA_SECPKG_FUNCTION_TABLE

SpInitialize