IMiniSH Interface (Windows CE 5.0)

Send Feedback

This interface contains methods and properties that provide basic access to symbol information stored by the compiler in program databases. The interface methods map symbol names or line numbers to addresses, and vice versa.

For full access to symbol information, you can use the Microsoft Debug Interface Access (DIA). For more information, see Debug Interface Access SDK.

The methods provided by this interface handle only symbol names that represent global and static variables and names of routines.

**Note   **This interface does not provide information that requires type information, such as locations of structure members, or thread context such as locations of stack variables.

The following table shows the methods provided in this interface.

Method Description
IMiniSH::GetAddressFromLine Gets the absolute address corresponding to a line in a source file.
IMiniSH::GetAddressFromSymbol Gets the absolute address of a symbol.
IMiniSH::GetNearestLineFromAddress Gets the nearest line in a source file corresponding to an absolute address in a module.
IMiniSH::GetNearestLineFromOffset Gets the nearest line in a source file corresponding to an offset in a module.
IMiniSH::GetNearestSymbolFromAddress Gets the name of the symbol with the highest starting address that is less than or equal to a given absolute address.
IMiniSH::GetNearestSymbolFromOffset Gets the name of the symbol with the highest starting offset that is less than or equal to a given offset from a module.
IMiniSH::GetOffsetFromLine Gets the offset from the beginning of a module corresponding to a line in a source file.
IMiniSH::GetOffsetFromSymbol Gets the offset of a symbol from the beginning of a module.
IMiniSH::GetSymbolPath Gets the currently set path where symbol files can be found.
IMiniSH::SetSymbolPath Sets the path where symbol files can be found.

Requirements

OS Version: Windows CE 5.0 and later.
Header: MiniSH.h.
Link Library: ole32.lib, oleaut32.lib.

See Also

eXDI Reference

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.