Registry / utility / win32api

win32api

JSON →
library0.1.0rbrubygemsunverified

Wrapper library for calling Win32 API functions from Ruby.

gem install win32api
INSTALL
IMPORT
SIG · WIN32API
W
win32api
utilityrubyv0.1.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Win32API
require 'win32api'

Call a Win32 API function.

require 'win32api' api = Win32API.new('user32', 'MessageBox', ['L', 'P', 'P', 'L'], 'I') api.call(0, 'Hello', 'Title', 0)
Debug
Known issues
breakingOnly works on Windows; deprecated in Ruby 2.7+ in favor of fiddle.
fix
Use fiddle or FFI for cross-platform compatibility.
affects: >= 0.1.0
Upgrade
Version history
0.1.0latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
Amazon
1
Resources
win32api — gem install win32api · libregistry