Expand Minimize

EngSecureMem function

The EngSecureMem function locks down the specified address range in memory.

Syntax


HANDLE EngSecureMem(
  _In_  PVOID Address,
  _In_  ULONG Length
);

Parameters

Address [in]

Pointer to the base address of the memory to be secured.

Length [in]

Specifies the size of the memory range to be secured.

Return value

EngSecureMem returns a handle to the secured address range upon successful completion; otherwise, it returns NULL.

Remarks

The address range locked down by EngSecureMem will not be deallocated until it is unlocked by EngUnsecureMem.

Requirements

Version

Available in Windows 2000 and later versions of the Windows operating systems.

Header

Winddi.h (include Winddi.h)

Library

Win32k.lib

DLL

Win32k.sys

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft