Share via


NKDeleteStaticMapping (Windows Embedded CE 6.0)

1/5/2010

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 Nkstub.lib
Windows Embedded CE Windows Embedded CE 6.0 and later

See Also

Reference

Optional OAL Functions
NKCreateStaticMapping

Other Resources

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