This topic has not yet been rated - Rate this topic

MapBuffer function

Applies to: desktop apps only

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 2000 Professional

Minimum supported server

Windows 2000 Server

Header

Ntsecpkg.h

See also

LSA_SECPKG_FUNCTION_TABLE
SpInitialize

 

 

Send comments about this topic to Microsoft

Build date: 3/13/2012

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ