winevt_c 0.2.1-x86-mingw32 → 0.2.2-x86-mingw32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/ext/winevt/winevt_channel.c +1 -1
- data/ext/winevt/winevt_utils.c +15 -15
- data/lib/winevt/2.4/winevt.so +0 -0
- data/lib/winevt/2.5/winevt.so +0 -0
- data/lib/winevt/2.6/winevt.so +0 -0
- data/lib/winevt/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8f6eaafbfe993c524c6cc8d95c0a169019bb87dab25febc025133998397fee9e
|
4
|
+
data.tar.gz: 5b36a013f94b523fa4ca848ead1fc3888512b18271f9d973b7d522bc39a87840
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 95e0ff75505e614adec6cbb1ed7d753ea8551b5138c23411023cb590ec16d26a69ce34259fc25a7da10a8ab8ed839adaab956f9939bc3cae5ee7f6cee6612e2e
|
7
|
+
data.tar.gz: 2ce5f7827b2415f633c96c81836bd3e83f6344605790569d3ea9fb9df1d4f3fbf2a72a19678c0ea796a1e7f5bbc12e6059b4cba87e5b17c4b1a99d2e715cf373
|
data/ext/winevt/winevt_channel.c
CHANGED
data/ext/winevt/winevt_utils.c
CHANGED
@@ -202,21 +202,21 @@ char* get_description(EVT_HANDLE handle)
|
|
202
202
|
hModule = LoadLibraryEx(messageEXE, NULL,
|
203
203
|
DONT_RESOLVE_DLL_REFERENCES | LOAD_LIBRARY_AS_DATAFILE);
|
204
204
|
|
205
|
-
if
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
205
|
+
if(FormatMessageW(FORMAT_MESSAGE_FROM_HMODULE | FORMAT_MESSAGE_IGNORE_INSERTS,
|
206
|
+
hModule,
|
207
|
+
eventId,
|
208
|
+
0, // Use current code page. Users must specify character encoding in Ruby side.
|
209
|
+
descriptionBuffer,
|
210
|
+
MAX_BUFFER,
|
211
|
+
NULL) == 0){
|
212
|
+
|
213
|
+
FormatMessageW(FORMAT_MESSAGE_FROM_HMODULE | FORMAT_MESSAGE_IGNORE_INSERTS,
|
214
|
+
hModule,
|
215
|
+
0xB0000000 | eventId,
|
216
|
+
0, // Use current code page. Users must specify character encoding in Ruby side.
|
217
|
+
descriptionBuffer,
|
218
|
+
MAX_BUFFER,
|
219
|
+
NULL);
|
220
220
|
}
|
221
221
|
}
|
222
222
|
|
data/lib/winevt/2.4/winevt.so
CHANGED
Binary file
|
data/lib/winevt/2.5/winevt.so
CHANGED
Binary file
|
data/lib/winevt/2.6/winevt.so
CHANGED
Binary file
|
data/lib/winevt/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: winevt_c
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2
|
5
5
|
platform: x86-mingw32
|
6
6
|
authors:
|
7
7
|
- Hiroshi Hatake
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-06-
|
11
|
+
date: 2019-06-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|