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 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
@@ -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', 'FindFirstChangeNotification', 'PIL', 'I')
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')
@@ -103,7 +103,7 @@ module Windows
103
103
  end
104
104
 
105
105
  def VirtualProtectEx(handle, address, size, new_protect, old_protect)
106
- VirtualProtect.call(handle, address, size, new_protect, old_protect) != 0
106
+ VirtualProtectEx.call(handle, address, size, new_protect, old_protect) != 0
107
107
  end
108
108
 
109
109
  def VirtualQuery(address, buffer, length)
@@ -124,7 +124,7 @@ module Windows
124
124
  end
125
125
 
126
126
  def WaitForSingleObjectEx(handle, milliseconds, alertable)
127
- WaitForSingleObject.call(handle, milliseconds, alertable)
127
+ WaitForSingleObjectEx.call(handle, milliseconds, alertable)
128
128
  end
129
129
  end
130
130
  end
@@ -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', 'GetLogicalDrives', 'LP', 'L')
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.4"
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
@@ -3,7 +3,7 @@ rubygems_version: 0.9.2
3
3
  specification_version: 1
4
4
  name: windows-pr
5
5
  version: !ruby/object:Gem::Version
6
- version: 0.6.4
6
+ version: 0.6.5
7
7
  date: 2007-02-28 00:00:00 -07:00
8
8
  summary: Windows functions and constants predefined via Win32API
9
9
  require_paths: