Nota
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare ad accedere o modificare le directory.
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare a modificare le directory.
1/5/2010
This method translates a return address from the one on the stack to the actual address.
Syntax
HRESULT TranslateReturnAddress(
ADDRESS_TYPE ddrReturn,
ADDRESS_TYPE addrFrame,
DWORD dwFrameCurProcHnd,
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 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. |
Remarks
Used to translate returns from the protected server library (PSL), callback functions, and normal in-process calls.
Requirements
| Header | OsAccess.h |
| Library | OSAXSC.lib |
| Windows Embedded CE | Windows CE 5.0 and later |