CeZeroPointer
A version of this page is also available for
4/8/2010
This function converts a pointer that is mapped to a process into an unmapped pointer.
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 |
Windows Mobile | Windows Mobile Version 5.0 and later |
See Also
Reference
Process and Thread Functions
Process and Thread Functions