Share via


CeZeroPointer (Windows Embedded CE 6.0)

1/6/2010

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

This function is no longer supported as of CE 6.0.

Syntax

LPVOID CeZeroPointer(
  LPVOID ptr
); 

Parameters

  • 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.

Remarks

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.

Requirements

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

See Also

Reference

Process and Thread Functions

Other Resources

Unsupported Kernel APIs