UnlockPages (Windows CE 5.0)

Send Feedback

This function unlocks a specified range of pages in the virtual address space of a process, enabling the system to swap the pages out if necessary.

BOOL UnlockPages(LPVOID lpvAddress,DWORD cbSize);

Parameters

  • lpvAddress
    [in] Address of the start of a region of committed pages that are to be locked.
  • cbSize
    [in] Number of bytes to unlock.

Return Values

TRUE indicates success; FALSE indicates failure. To get extended error information, call GetLastError.

Requirements

OS Versions: Windows CE 2.10 and later.
Header: Pkfuncs.h.
Link Library: Coredll.lib.

See Also

LockPages | Trusted APIs

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.