IOsAxsGeneric::GetExecModeAtAddress (Windows Embedded CE 6.0)
1/5/2010
This method returns the execution mode for code located at a given address.
Syntax
HRESULT GetExecModeAtAddress(
ADDRESS_TYPE AddrCode,
DWORD* pdwExecMode
);
Parameters
- AddrCode
[in] Address of the code within the routine that the execution mode is needed for.
pdwExecMode
[out] Pointer to the value of the execution mode for code where the address is found.By convention, this value should be 0 for the default 32-bit mode and 1 for 16-bit mode.
Return Value
The following table shows the return values for this method.
Value | Description |
---|---|
S_OK |
Indicates the function was successful. |
E_OUTOFMEMORY |
Indicates an out of memory error. |
E_ACCESSDENIED |
Indicates the specified 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 |