test: i386/ldrctx.c File Reference

Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

# ldrctx.c File Reference

`#include <ntos.h>`

Go to the source code of this file.

## Functions

VOID | LdrpRelocateStartContext (IN PCONTEXT Context, IN LONG_PTR Diff)

## Function Documentation

VOID LdrpRelocateStartContext | ( | IN PCONTEXT | Context,
|  | IN LONG_PTR | Diff
| ) |

Definition at line 28 of file i386/ldrctx.c.

    00034                    :
    00035
    00036    This routine relocates the start context to mesh with the
    00037    executable that has just been relocated.
    00038
    00039 Arguments:
    00040
    00041    Context - Supplies a context that needs editing.
    00042
    00043    Diff - Supplies the difference from the based address to the relocated
    00044           address.
    00045
    00046 Return Value:
    00047
    00048    None.
    00049
    00050 --*/
    00051 {
    00052     Context->Eax += (ULONG)Diff;
    00053 }
    }