hi ferrit.rce,
I don't use Sorteddata as bookmask plugin, but this code work (Delphi code)
Code:
var
startsl, endsl: DWORD;
function ODBG2_Plugindump(pd: P_dump;s: PWChar;mask: PWChar;n: LongInt;select: PInteger;addr: ULong;column: LongInt): LongInt; cdecl;
Begin
if (column = DF_FILLCACHE) then begin
if pd.menutype = DMT_CPUDUMP then begin
startsl:= pd.sel0; // Start position
endsl:= pd.sel1; // End position
end else
if pd.menutype = (DMT_CPUDASM or DMT_FIXTYPE) then begin
// CPU DISASM
end else
if pd.menutype = DMT_CPUSTACK then begin
// CPU STACK
end;
end else
if (column = TSC_MOUSE) then begin
//
end else
if (column = DF_FREECACHE) then begin
//We have allocated no resources, so we have nothing to do here.
end;
Result:= 0;
end;
Try and hope :-p
BR,
quygia128