Created
May 12, 2010 15:55
-
-
Save atomicules/398754 to your computer and use it in GitHub Desktop.
This file contains 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
# For blog post | |
# New win32-api version of http://www.mustap.com/rubyzone_post_90_ruby-on-windows | |
require 'win32/api' | |
include Win32 | |
desktop = API.new("SystemParametersInfo", ['L','L','P','L'] , 'L', "user32") | |
desktop.call(20,0,"c:\\my_img.bmp",0) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment