View Single Post
  #4  
Old 09-30-2013, 22:04
quygia128's Avatar
quygia128 quygia128 is offline
Family
 
Join Date: Apr 2011
Location: SomeWhere
Posts: 109
Rept. Given: 243
Rept. Rcvd 182 Times in 47 Posts
Thanks Given: 122
Thanks Rcvd at 30 Times in 19 Posts
quygia128 Reputation: 100-199 quygia128 Reputation: 100-199
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
Reply With Quote
The Following User Gave Reputation+1 to quygia128 For This Useful Post:
ferrit.rce (10-02-2013)