Doug MacEachern
|
f8a4710385
|
[SIGAR-79] Increase args buffer for EventLog.message formatting
|
2007-12-14 05:41:08 +00:00 |
|
Doug MacEachern
|
f448bae54e
|
Fix a few more where we need to specify number of TCHARs rather than sizeof buffer
|
2007-11-15 21:48:24 +00:00 |
|
Doug MacEachern
|
b3d43367ef
|
[SIGAR-70] fix length argument passed to PdhLookupPerfNameByIndex
|
2007-11-05 21:17:40 +00:00 |
|
Doug MacEachern
|
3e064dfeb7
|
rid warnings from modern MSVC
|
2007-06-27 01:10:12 +00:00 |
|
Doug MacEachern
|
3c82da72c2
|
unicode-ize
|
2007-04-05 15:06:13 +00:00 |
|
Doug MacEachern
|
e0e7e7d4a0
|
sizeof PDH_STATUS == sizeof int
|
2007-03-05 23:56:30 +00:00 |
|
Doug MacEachern
|
c2296865e2
|
add PdhValidatePath wrapper
|
2007-03-05 21:24:03 +00:00 |
|
Doug MacEachern
|
9289f45dce
|
add PdhLookupPerfIndexByName wrapper
|
2007-03-04 19:06:53 +00:00 |
|
Doug MacEachern
|
cd49b7281f
|
unicode-ize
|
2007-03-03 23:05:10 +00:00 |
|
Doug MacEachern
|
9dae5e1ab1
|
add PdhLookupPerfNameByIndex wrapper
|
2007-03-03 22:20:24 +00:00 |
|
Doug MacEachern
|
8f70da2dd3
|
add win32.LocaleInfo
|
2007-03-03 21:03:21 +00:00 |
|
Doug MacEachern
|
eda91e1e8a
|
add RegistryKey.getMultiStringValue()
|
2007-03-03 18:25:02 +00:00 |
|
Doug MacEachern
|
228ee133be
|
[SIGAR-26] Change Pdh.getFormattedValue() to collect 2 counters if needed
|
2006-12-04 19:45:00 +00:00 |
|
Doug MacEachern
|
39a09989ed
|
compile on windows with modern visual studios
|
2006-10-19 21:30:57 +00:00 |
|
Doug MacEachern
|
e472dc9d9a
|
add copyright
|
2006-07-15 17:46:36 +00:00 |
|
Doug MacEachern
|
09e476c9ae
|
rename net.hyperic.sigar -> org.hyperic.sigar
|
2006-06-27 12:44:52 +00:00 |
|
Doug MacEachern
|
29b59a0d2b
|
if counter name does not exist, try w/ "/sec" appended
|
2006-01-16 00:33:01 +00:00 |
|
Doug MacEachern
|
d4f0bab72e
|
various fixes
|
2005-09-24 21:16:29 +00:00 |
|
Doug MacEachern
|
e71a9e5b3e
|
EventLogRecord.message fixes
|
2005-09-24 04:37:55 +00:00 |
|
Doug MacEachern
|
67f3334250
|
rename EventLogRecord.getStringData() to getMessage()
|
2005-09-24 00:24:49 +00:00 |
|
Doug MacEachern
|
624f93de8a
|
ensure null termination
|
2005-09-23 02:38:49 +00:00 |
|
Doug MacEachern
|
288bd907f2
|
fix EventLogRecord.stringData
|
2005-09-23 02:31:43 +00:00 |
|
Doug MacEachern
|
236363efa8
|
change getStringValue to try EXPANDSZ_METADATA if STRING_METADATA fails
|
2005-09-23 00:12:58 +00:00 |
|
Doug MacEachern
|
1bc0ecade2
|
save a reference to log name and pass around internally
|
2005-09-23 00:11:55 +00:00 |
|
Doug MacEachern
|
c28ab5253a
|
some fixes for EventLogRecord.stringData
|
2005-09-22 17:10:27 +00:00 |
|
Doug MacEachern
|
73eed8b1c7
|
add win32_throw_error function
|
2005-06-27 04:22:36 +00:00 |
|
Doug MacEachern
|
4d4c242493
|
win32_throw_last_error right after function call to preserve GetLastError
|
2005-06-27 04:13:33 +00:00 |
|
Doug MacEachern
|
547f584064
|
remove hungarian notation
|
2005-06-27 03:41:43 +00:00 |
|
Doug MacEachern
|
d4df988507
|
s/serviceStartName/startName/
|
2005-06-27 01:20:59 +00:00 |
|
Doug MacEachern
|
25398b10bf
|
remote Win32.{GetLastError,GetErrorMessage}, handled in jni code now
|
2005-06-26 22:11:04 +00:00 |
|
Doug MacEachern
|
57b2a03436
|
fix compile
|
2005-06-26 22:10:28 +00:00 |
|
Doug MacEachern
|
284479c5ea
|
throw exception if DeleteService fails
|
2005-06-26 22:07:58 +00:00 |
|
Doug MacEachern
|
1ce84e00fc
|
throw exceptions in jni, GetLastError may have changed by the time it returns to java land
|
2005-06-26 22:04:32 +00:00 |
|
Doug MacEachern
|
c74f93fdea
|
throw exceptions in jni, GetLastError may have changed by the time it returns to java land
|
2005-06-26 22:02:02 +00:00 |
|
Doug MacEachern
|
10fde2cca9
|
extern C
|
2005-06-26 22:01:04 +00:00 |
|
Doug MacEachern
|
150c4c5e9c
|
add function to throw exception w/ FormatMessage of GetLastError()
|
2005-06-26 21:06:03 +00:00 |
|
Doug MacEachern
|
01f5cb6c9e
|
increase chance of accurate error messages
|
2005-06-26 05:33:52 +00:00 |
|
Doug MacEachern
|
7f2451aa76
|
cleanup control stuff
|
2005-06-26 05:27:35 +00:00 |
|
Doug MacEachern
|
7e3f7cce07
|
rename binaryPathName to path
|
2005-06-26 02:44:44 +00:00 |
|
Doug MacEachern
|
bcd101741b
|
add description to ServiceConfig
|
2005-06-26 02:18:05 +00:00 |
|
Doug MacEachern
|
5b87277a6f
|
ServiceConfig.dependencies needs to be String[]
|
2005-06-26 01:54:11 +00:00 |
|
Doug MacEachern
|
5c9c3c6cf2
|
remove dll late binding code from asf. not only is it super ugly, it is not
thread safe. change to use GetProcAddress the same way everyone else in the
world does. (M-x un-bloom-ify)
|
2005-06-26 01:11:20 +00:00 |
|
Doug MacEachern
|
0532dd1e1d
|
plug memory leak in GetErrorMessage
|
2005-06-26 00:52:03 +00:00 |
|
Doug MacEachern
|
5cd9bfd25e
|
move GetLastError and GetErrorMessage to base class
|
2005-06-26 00:50:08 +00:00 |
|
Doug MacEachern
|
6764e30773
|
add function to fillin ServiceConfig object
|
2005-06-25 23:18:50 +00:00 |
|
Doug MacEachern
|
e91665d842
|
remove QueryServiceStartType
|
2005-06-25 17:01:08 +00:00 |
|
Doug MacEachern
|
7eabd263f5
|
rename Pdh.getSingleValue to Pdh.getRawValue
|
2005-06-15 00:17:04 +00:00 |
|
Doug MacEachern
|
241b1066e6
|
add Pdh.getFormattedValue method
|
2005-06-14 23:51:06 +00:00 |
|
Doug MacEachern
|
5e4d3e4475
|
test failing on my win3k due to log record ~100k. will fix later
|
2005-05-13 21:16:02 +00:00 |
|
Doug MacEachern
|
4beb4e6fc4
|
turns on we need PERF_DETAIL_WIZARD for pdhGetInstances
|
2005-04-20 01:31:52 +00:00 |
|