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-0.9.2 lib/windows/directory.rb
windows-pr-1.0.2 lib/windows/directory.rb
windows-pr-1.0.3 lib/windows/directory.rb
windows-pr-1.0.1 lib/windows/directory.rb
windows-pr-1.0.4 lib/windows/directory.rb
windows-pr-1.0.0 lib/windows/directory.rb
windows-pr-0.9.9 lib/windows/directory.rb
windows-pr-0.9.1 lib/windows/directory.rb
windows-pr-0.9.5 lib/windows/directory.rb
windows-pr-0.9.4 lib/windows/directory.rb
windows-pr-0.9.6 lib/windows/directory.rb
windows-pr-0.9.7 lib/windows/directory.rb
windows-pr-0.9.8 lib/windows/directory.rb
windows-pr-0.9.0 lib/windows/directory.rb
windows-pr-0.9.3 lib/windows/directory.rb
windows-pr-1.0.5 lib/windows/directory.rb