Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
1/5/2010
This method converts a pointer to a value in the address space of the current process.
Syntax
HRESULT MapPointerToProcess(
ADDRESS_TYPE addrPointer,
ADDRESS_TYPE* paddrProc
);
Parameters
- addrPointer
[in] Value of the pointer.
- paddrProc
[out] Pointer to the value of the mapped pointer.
Return Value
The following table shows return values for this method.
| Value | Description |
|---|---|
S_OK |
Indicates the function was successful. |
E_INVALIDARG |
Indicates one or more invalid arguments. |
E_POINTER |
Indicates one or more invalid pointer values. |
E_OUTOFMEMORY |
Indicates an out of memory error. |
E_ACCESSDENIED |
Indicates the requested object is no longer valid. |
E_FAIL |
Indicates an unspecified failure. |
Requirements
| Header | OsAccess.h |
| Library | OSAXSC.lib |
| Windows Embedded CE | Windows CE 5.0 and later |