Share via


NKDeleteStaticMapping

Other versions of this page are also available for the following:

Windows Mobile Not SupportedWindows Embedded CE Supported

8/27/2008

This function deletes the virtual memory allocated by the NKCreateStaticMapping function. This function is callable from kernel-mode drivers and user-mode drivers.

Syntax

BOOL NKDeleteStaticMapping (
  LPVOID pVirtAddr,
  DWORD dwSize
);

Parameters

Parameter Description

pVirtAddr

[in] Static virtual memory pointer provided by the NKCreateStaticMapping function.

dwSize

[in] Number of bytes mapped with pVirtAddr.

Return Value

TRUE indicates success; FALSE indicates failure.

Requirements

Header pkfuncs.h
Library coredll.lib
Windows Embedded CE Windows Embedded CE 6.0 and later

See Also

Reference

NKCreateStaticMapping

Other Resources

Kernel Mode APIs
Developing a Device Driver
User Mode Driver Framework
New Kernel APIs