Windows Mobile 6.5
A version of this page is also available for

This function converts a pointer that is mapped to a process into an unmapped pointer.

LPVOID CeZeroPointer(
  LPVOID ptr


[in] Pointer to be unmapped.

If ptr is a mapped pointer, it returns its corresponding unmapped pointer. Otherwise, ptr itself is returned.

A mapped pointer is a pointer that is mapped to a specific process's address. For example, if process A is loaded at address 0x0E000000, then an unmapped pointer 0x00011234 in process A points to the same physical location as its mapped version, which is 0x0E011234.

The CeZeroPointer function calls into the ZeroPtr macro. For information about the ZeroPtr macro, see %_WINCEROOT%\Public\Common\OAK\Inc\Pkfuncs.h.

Windows Embedded CEWindows CE .NET 4.2 and later
Windows MobileWindows Mobile Version 5.0 and later

Community Additions