IOsAxsCe50Thread::TranslateReturnAddress (Windows CE 5.0)
This method translates a return address from the one on the stack to the actual address.
HRESULT TranslateReturnAddress( ADDRESS_TYPEaddrReturn,ADDRESS_TYPEaddrFrame,DWORDdwFrameCurProcHnd,ADDRESS_TYPE*paddrNewReturn, ADDRESS_TYPE*paddrNewFrame,DWORD * pdwNewFrameProcHnd);
Parameters
- addrReturn
[in] Return address to be translated. - addrFrame
[in] Pointer to the stack frame. - dwFrameCurProcHnd
[in] Current process for the frame. - paddrNewReturn
[out] Translated return address. - paddrNewFrame
[out] Translated address for new frame. - pdwNewFrameProcHnd
[out] Pointer to process handle for new frame.
Return Values
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. |
Remarks
Used to translate returns from the protected server library (PSL), callback functions, and normal in-process calls.
Requirements
OS Version: Windows CE 5.0 and later.
Header: OsAccess.h.
Link Library: OSAXSC.lib.
See Also
Send Feedback on this topic to the authors