A version of this page is also available for

Windows Embedded CE 6.0 R3


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


LPVOID CeZeroPointer(
  LPVOID ptr


  • ptr
    [in] Pointer to be unmapped.

Return Value

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.


Header winbase.h
Library coredll.lib
Windows Embedded CE Windows CE .NET 4.2 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also


Process and Thread Functions
Process and Thread Functions

Other Resources