windows-pr 0.6.4 → 0.6.5
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGES +6 -0
- data/lib/windows/directory.rb +1 -1
- data/lib/windows/memory.rb +1 -1
- data/lib/windows/synchronize.rb +1 -1
- data/lib/windows/volume.rb +1 -1
- data/windows-pr.gemspec +1 -1
- metadata +1 -1
data/CHANGES
CHANGED
@@ -1,3 +1,9 @@
|
|
1
|
+
= 0.6.5 - 28-Feb-2007
|
2
|
+
* Important bug fixes for the Windows::Directory, Windows::Memory,
|
3
|
+
Windows::Synchronize and Windows::Volume modules. These were either fixes
|
4
|
+
for the function declaration or the wrapper method. Thanks go to Katsuyuki
|
5
|
+
Miyamuko for the spot and the patches.
|
6
|
+
|
1
7
|
= 0.6.4 - 28-Feb-2007
|
2
8
|
* Add more string functions to the Windows::MSVCRT::String module.
|
3
9
|
* Minor enhancement to the multi_to_wide and wide_to_multi helper methods in
|
data/lib/windows/directory.rb
CHANGED
@@ -8,7 +8,7 @@ module Windows
|
|
8
8
|
CreateDirectoryExW = Win32API.new('kernel32', 'CreateDirectoryExW', 'PPP', 'I')
|
9
9
|
FindCloseChangeNotification = Win32API.new('kernel32', 'FindCloseChangeNotification', 'L', 'I')
|
10
10
|
FindFirstChangeNotification = Win32API.new('kernel32', 'FindFirstChangeNotification', 'PIL', 'L')
|
11
|
-
FindNextChangeNotification = Win32API.new('kernel32', '
|
11
|
+
FindNextChangeNotification = Win32API.new('kernel32', 'FindNextChangeNotification', 'PIL', 'I')
|
12
12
|
GetCurrentDirectory = Win32API.new('kernel32', 'GetCurrentDirectory', 'LP', 'L')
|
13
13
|
GetCurrentDirectoryW = Win32API.new('kernel32', 'GetCurrentDirectoryW', 'LP', 'L')
|
14
14
|
ReadDirectoryChangesW = Win32API.new('kernel32', 'ReadDirectoryChangesW', 'LPLILPPP', 'I')
|
data/lib/windows/memory.rb
CHANGED
@@ -103,7 +103,7 @@ module Windows
|
|
103
103
|
end
|
104
104
|
|
105
105
|
def VirtualProtectEx(handle, address, size, new_protect, old_protect)
|
106
|
-
|
106
|
+
VirtualProtectEx.call(handle, address, size, new_protect, old_protect) != 0
|
107
107
|
end
|
108
108
|
|
109
109
|
def VirtualQuery(address, buffer, length)
|
data/lib/windows/synchronize.rb
CHANGED
data/lib/windows/volume.rb
CHANGED
@@ -19,7 +19,7 @@ module Windows
|
|
19
19
|
|
20
20
|
GetDriveType = Win32API.new('kernel32', 'GetDriveType', 'P', 'I')
|
21
21
|
GetLogicalDrives = Win32API.new('kernel32', 'GetLogicalDrives', 'V', 'L')
|
22
|
-
GetLogicalDriveStrings = Win32API.new('kernel32', '
|
22
|
+
GetLogicalDriveStrings = Win32API.new('kernel32', 'GetLogicalDriveStrings', 'LP', 'L')
|
23
23
|
GetVolumeInformation = Win32API.new('kernel32', 'GetVolumeInformation', 'PPLPPPPL', 'I')
|
24
24
|
GetVolumeNameForVolumeMountPoint = Win32API.new('kernel32', 'GetVolumeNameForVolumeMountPoint', 'PPL', 'I')
|
25
25
|
GetVolumePathName = Win32API.new('kernel32', 'GetVolumePathName', 'PPL', 'I')
|
data/windows-pr.gemspec
CHANGED
@@ -2,7 +2,7 @@ require "rubygems"
|
|
2
2
|
|
3
3
|
spec = Gem::Specification.new do |gem|
|
4
4
|
gem.name = "windows-pr"
|
5
|
-
gem.version = "0.6.
|
5
|
+
gem.version = "0.6.5"
|
6
6
|
gem.author = "Daniel J. Berger"
|
7
7
|
gem.email = "djberg96@gmail.com"
|
8
8
|
gem.homepage = "http://www.rubyforge.org/projects/win32utils"
|
metadata
CHANGED