Sha256: cd43fa8abff860cb54291efd08cfc6a99f5b6fd7a07a4e94f40518a6ca837743
Contents?: true
Size: 1.39 KB
Versions: 5
Compression:
Stored size: 1.39 KB
Contents
require 'windows/api' module Windows module NIO API.auto_namespace = 'Windows::NIO' API.auto_constant = true API.auto_method = true API.auto_unicode = false # OpenFile() constants OF_READ = 0x00000000 OF_WRITE = 0x00000001 OF_READWRITE = 0x00000002 OF_SHARE_COMPAT = 0x00000000 OF_SHARE_EXCLUSIVE = 0x00000010 OF_SHARE_DENY_WRITE = 0x00000020 OF_SHARE_DENY_READ = 0x00000030 OF_SHARE_DENY_NONE = 0x00000040 OF_PARSE = 0x00000100 OF_DELETE = 0x00000200 OF_VERIFY = 0x00000400 OF_CANCEL = 0x00000800 OF_CREATE = 0x00001000 OF_PROMPT = 0x00002000 OF_EXIST = 0x00004000 OF_REOPEN = 0x00008000 API.new('CancelIo', 'L', 'B') API.new('CreateIoCompletionPort', 'LLPL', 'L') API.new('FlushFileBuffers', 'L', 'B') API.new('GetQueuedCompletionStatus', 'LPPPL', 'B') API.new('OpenFile', 'PPI', 'L') API.new('PostQueuedCompletionStatus', 'LLPP', 'B') API.new('ReadFileScatter', 'LPLPP', 'B') API.new('SetEndOfFile', 'L', 'B') API.new('SetFilePointer', 'LLPL', 'L') API.new('SetFilePointerEx', 'LLPL', 'L') API.new('WriteFileGather', 'LPLPP', 'B') end end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
windows-pr-0.9.0 | lib/windows/nio.rb |
windows-pr-0.9.1 | lib/windows/nio.rb |
windows-pr-0.9.2 | lib/windows/nio.rb |
windows-pr-0.9.3 | lib/windows/nio.rb |
windows-pr-0.9.4 | lib/windows/nio.rb |