Created
January 22, 2017 18:29
-
-
Save tondrej/29fda09ffe21cfe6e7d3eaec657808e8 to your computer and use it in GitHub Desktop.
JwaWinPerf patch for WIN64 (https://sourceforge.net/projects/jedi-apilib/)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Index: JwaWinPerf.pas | |
=================================================================== | |
--- JwaWinPerf.pas (revision 1115) | |
+++ JwaWinPerf.pas (working copy) | |
@@ -171,13 +171,21 @@ | |
// counter definition for this | |
// object | |
ObjectNameTitleIndex: DWORD; // Index to name in Title Database | |
+{$ifdef WIN64} | |
+ ObjectNameTitle: DWORD; // Should use this as an offset | |
+{$else} | |
ObjectNameTitle: LPWSTR; // Initially NULL, for use by | |
// analysis program to point to | |
// retrieved title string | |
+{$endif} | |
ObjectHelpTitleIndex: DWORD; // Index to Help in Title Database | |
+{$ifdef WIN64} | |
+ ObjectHelpTitle: DWORD; // Should use this as an offset | |
+{$else} | |
ObjectHelpTitle: LPWSTR; // Initially NULL, for use by | |
// analysis program to point to | |
// retrieved title string | |
+{$endif} | |
DetailLevel: DWORD; // Object level of detail (for | |
// controlling display complexity); | |
// will be min of detail levels | |
@@ -733,14 +741,22 @@ | |
ByteLength: DWORD; // Length in bytes of this structure | |
CounterNameTitleIndex: DWORD; // Index of Counter name into | |
// Title Database | |
+{$ifdef WIN64} | |
+ CounterNameTitle: DWORD; | |
+{$else} | |
CounterNameTitle: LPWSTR; // Initially NULL, for use by | |
// analysis program to point to | |
// retrieved title string | |
+{$endif} | |
CounterHelpTitleIndex: DWORD; // Index of Counter Help into | |
// Title Database | |
+{$ifdef WIN64} | |
+ CounterHelpTitle: DWORD; | |
+{$else} | |
CounterHelpTitle: LPWSTR; // Initially NULL, for use by | |
// analysis program to point to | |
// retrieved title string | |
+{$endif} | |
DefaultScale: LONG; // Power of 10 by which to scale | |
// chart line if vertical axis is 100 | |
// 0 ==> 1, 1 ==> 10, -1 ==>1/10, etc. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment