Export (0) Print
Expand All
Expand Minimize

MapBuffer function

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

Syntax


NTSTATUS MapBuffer(
  _In_   PSecBuffer InputBuffer,
  _Out_  PSecBuffer OutputBuffer
);

Parameters

InputBuffer [in]

Pointer to the SecBuffer structure to map.

OutputBuffer [out]

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

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Ntsecpkg.h

See also

LSA_SECPKG_FUNCTION_TABLE
SpInitialize

 

 

Community Additions

ADD
Show:
© 2015 Microsoft