Sha256: efa6acf9a4ab8029b50bb15edda7e040bb9ae392f9b81bd8c47c5d856e65c023

Contents?: true

Size: 942 Bytes

Versions: 36

Compression:

Stored size: 942 Bytes

Contents

require 'windows/api'

# The Windows::Directory module contains functions that are used in directory
# management. Note that functions that could be applied to files or
# directories, such as CreateFile(), are probably in the Windows::File
# module.
#
module Windows
   module Directory
      API.auto_namespace = 'Windows::Directory'
      API.auto_constant  = true
      API.auto_method    = true
      API.auto_unicode   = true

      API.new('CreateDirectory', 'PP', 'B')
      API.new('CreateDirectoryEx', 'PPP', 'B')
      API.new('FindCloseChangeNotification', 'L', 'B')
      API.new('FindFirstChangeNotification', 'PIL', 'L')
      API.new('FindNextChangeNotification', 'PIL', 'B')
      API.new('GetCurrentDirectory', 'LP', 'L')
      API.new('ReadDirectoryChangesW', 'LPLILPPP', 'B') # No ANSI equivalent
      API.new('RemoveDirectory', 'P', 'B')
      API.new('SetCurrentDirectory', 'P', 'B')
   end
end

Version data entries

36 entries across 36 versions & 1 rubygems

Version Path
windows-pr-1.1.2 lib/windows/directory.rb
windows-pr-1.1.1 lib/windows/directory.rb
windows-pr-1.1.0 lib/windows/directory.rb
windows-pr-1.0.9 lib/windows/directory.rb
windows-pr-1.0.8 lib/windows/directory.rb
windows-pr-1.0.7 lib/windows/directory.rb
windows-pr-1.0.6 lib/windows/directory.rb
windows-pr-0.8.7 lib/windows/directory.rb
windows-pr-0.7.3 lib/windows/directory.rb
windows-pr-0.7.2 lib/windows/directory.rb
windows-pr-0.7.4 lib/windows/directory.rb
windows-pr-0.8.3 lib/windows/directory.rb
windows-pr-0.8.6 lib/windows/directory.rb
windows-pr-0.7.0 lib/windows/directory.rb
windows-pr-0.8.0 lib/windows/directory.rb
windows-pr-0.8.5 lib/windows/directory.rb
windows-pr-0.7.1 lib/windows/directory.rb
windows-pr-0.8.1 lib/windows/directory.rb
windows-pr-0.8.2 lib/windows/directory.rb
windows-pr-0.8.4 lib/windows/directory.rb