Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

29 lignes
484 B

  1. type
  2. TPBHeader = packed record
  3. VersionMagic: UInt32;
  4. PtrSize: byte;
  5. ProgramName: ShortString;
  6. end;
  7. TPBEventHeader = packed record
  8. ThreadID: UInt32;
  9. Timestamp: UInt64;
  10. Kind: byte;
  11. end;
  12. TPBEventEnterProc = packed record
  13. // H: TPBEventHeader;
  14. Func: PtrUInt;
  15. NameLen: Byte;
  16. end;
  17. TPBEventExitProc = packed record
  18. // H: TPBEventHeader;
  19. end;
  20. const
  21. HEADER_VER_MAGIC = $b5bd0001;
  22. PB_KIND_ENTER = $00;
  23. PB_KIND_EXIT = $01;