Simpleaddress

int Simpleaddress(wchar_t *text,ulong addr,uchar *mask,int *select);

Simplified version of Labeladdress(). Converts address to UNICODE text according to global settings and sets drawing attributes. Marks breakpoints and execution point. Use it to draw memory addresses in table windows.


Parameters:

text
(out) Unicode string, at least TEXTLEN wide characters long, that receives the text
addr
(in) Address of the memory in the context of debugged application
mask
(out) Byte string, at least TEXTLEN bytes long, that receives per-character drawing attributes (a combination of DRAW_xxx flags), or NULL if drawing attributes are not necessary
select
(out) Pointer to the variable that receives per-line drawing attributes (a combination of extended DRAW_xxx flags), or NULL if drawing attributes are not necessary


Return values:

Returns length of produced string in wide characters. On error, returns 0


See also:

Tables, Labeladdress()