Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This method gets the absolute address corresponding to a line in a source file.
HRESULT GetAddressFromLine( DWORDdwLine,LPCWSTRpszModule,LPCWSTRpszSource,
ADDRESS_TYPE*pAddress);
Parameters
- dwLine
[in] Source file line number. - pszModule
[in] Name of the module. - pszSource
[in] Name of the source file. - pOffset
[out] Pointer to the value of the offset of the address.
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_FAIL | Indicates an unspecified failure. |
Remarks
IMiniSH::SetSymbolPath must be called prior to this method for it to succeed.
Requirements
OS Version: Windows CE 5.0 and later.
Header: MiniSH.h.
Link Library: ole32.lib, oleaut32.lib.
See Also
Send Feedback on this topic to the authors