https://github.com/fluent-plugins-nursery/winevt_c
Windows Event Log API binding from winevt.h. https://docs.microsoft.com/en-us/windows/desktop/api/_wes/
https://github.com/fluent-plugins-nursery/winevt_c
ruby wevtapi-h windows windows-event-log
Last synced: about 1 year ago
JSON representation
Windows Event Log API binding from winevt.h. https://docs.microsoft.com/en-us/windows/desktop/api/_wes/
- Host: GitHub
- URL: https://github.com/fluent-plugins-nursery/winevt_c
- Owner: fluent-plugins-nursery
- License: apache-2.0
- Created: 2019-06-06T09:41:17.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2025-02-18T01:31:22.000Z (over 1 year ago)
- Last Synced: 2025-04-25T05:26:34.778Z (about 1 year ago)
- Topics: ruby, wevtapi-h, windows, windows-event-log
- Language: C
- Homepage:
- Size: 343 KB
- Stars: 5
- Watchers: 6
- Forks: 4
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# winevt_c
[](https://ci.appveyor.com/project/cosmo0920/winevt-c-6145k/branch/master)
## Prerequisites
* Windows Vista/Windows Server 2008 or later.
* gcc and g++ from MSYS2 for building C/C++ extension.
* Ruby 2.4 or later with MSYS2.
## Installation
Add this line to your application's Gemfile:
```ruby
gem 'winevt_c'
```
And then execute:
$ ridk exec bundle
Or install it yourself as:
$ ridk exec gem install winevt_c
## Fat gems building
* Docker is needed to build fat gem due to rake-compiler-dock uses docker container.
## Usage
Usage examples are found in [example directory](example).
### Multilingual description
Currently, the following locales should be supported to output description:
locale | language
---------:|:--------
bg\_BG | Bulgarian
zh\_CN | Simplified Chinese
zh\_TW | Traditional Chinese
zh\_HK | Chinese (Hong Kong)
zh\_SG | Chinese (Singapore)
hr\_HR | Croatian
cz\_CZ | Czech
da\_DK | Danish
nl\_NL | Dutch
nl\_BG | Dutch (Belgium)
en\_US | English (United States)
en\_GB | English (UK)
en\_AU | English (Australia)
en\_CA | English (Canada)
en\_NZ | English (New Zealand)
en\_IE | English (Ireland)
fi\_FI | Finnish
fr\_FR | French
fr\_BE | French (Belgium)
fr\_CA | French (Canada)
fr\_CH | French (Swiss)
de\_DE | German
de\_CH | German (Swiss)
de\_AT | German (Austria)
el\_GR | Greek (Ελληνικά)
hu\_HU | Hungarian
is\_IS | Icelandic
it\_IT | Italian (Italy)
it\_CH | Italian (Swiss)
ja\_JP | Japanese
ko\_KO | Korean
no\_NO | Norwegian (Bokmål)
nb\_NO | Norwegian (Bokmål)
nn\_NO | Norwegian (Nynorsk)
pl\_PL | Polish (Poland)
pt\_PT | Portuguese
pt\_BR | Portuguese (Brazil)
ro\_RO | Romanian
ru\_RU | Russian (русский язык)
sk\_SK | Slovak
sl\_SI | Slovenian
es\_ES | Spanish
es\_ES\_T | Spanish (Traditional)
es\_MX | Spanish (Mexico)
es\_ES\_M | Spanish (Modern)
sv\_SE | Swedish
tr\_TR | Turkish
## Development
After checking out the repo, run `bin/setup` to install dependencies. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
## Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/fluent-plugins-nursery/winevt_c.