Sha256: 8d4072233f607157a7b16ec8c0beffc2906feaaea6e80f507a8cd30741862c0f

Contents?: true

Size: 615 Bytes

Versions: 1

Compression:

Stored size: 615 Bytes

Contents

require 'windows/api'

# The Windows module serves as a namespace only.
module Windows
   # The Mailslot module contains functions and constants related to the
   # Windows mailslot IPC mechanism.
   module Mailslot
      API.auto_namespace = 'Windows::Mailslot'
      API.auto_constant  = true
      API.auto_method    = true
      API.auto_unicode   = true

      # Constants

      MAILSLOT_WAIT_FOREVER = -1
      MAILSLOT_NO_MESSAGE   = -1

      API.new('CreateMailslot', 'SLLP', 'L')
      API.new('GetMailslotInfo', 'LPPPP', 'B')
      API.new('SetMailslotInfo', 'LL', 'B')
   end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
windows-pr-1.0.7 lib/windows/mailslot.rb