Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

DeleteStaticMapping (Compact 2013)

3/28/2014

This function deletes a static virtual memory address that maps to a physical address. This function is callable from user code, but not from the OEM adaptation layer OAL. This function is callable from kernel-mode drivers and user-mode drivers.


BOOL DeleteStaticMapping(
  LPVOID pVirtBase,
  DWORD dwSize
);
pVirtBase

[in] Virtual address to delete. The address passed in must be right-shifted by 8.

dwSize

[in] Size of area to delete, in bytes, starting from pVirtBase.

TRUE indicates success.

Once CreateStaticMapping is called, the virtual memory created is active until the device reboots or DeleteStaticMapping is called.

To do this from the OEM Application Layer, call the OAL version of the function, NKDeleteStaticMapping.

Header

pkfuncs.h

Library

Nkstub.lib

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.