Module: DDElParam
- Included in:
- VRDdeClient, VRDdeServer
- Defined in:
- lib/vr/vrdde.rb
Constant Summary collapse
- PackDDElParam =
Win32API.new("user32","PackDDElParam",["I","I","I"],"L")
- UnpackDDElParam =
Win32API.new("user32","UnpackDDElParam",["I","L","P","P"],"I")
- FreeDDElParam =
Win32API.new("user32","FreeDDElParam",["I","L"],"I")
- ReuseDDElParam =
Win32API.new("user32","ReuseDDElParam","IIIII","L")
Instance Method Summary collapse
- #freeDDElParam(msg, lparam) ⇒ Object
- #packDDElParam(msg, low, high) ⇒ Object
-
#reuseDDElParam(lParam, uMsgIn, uMsgOut, uLow, uHigh) ⇒ Object
by yukimi_sake.
- #unpackDDElParam(msg, lparam) ⇒ Object
Instance Method Details
#freeDDElParam(msg, lparam) ⇒ Object
40 41 42 |
# File 'lib/vr/vrdde.rb', line 40 def freeDDElParam(msg,lparam) FreeDDElParam.call(msg,lparam) end |
#packDDElParam(msg, low, high) ⇒ Object
31 32 33 |
# File 'lib/vr/vrdde.rb', line 31 def packDDElParam(msg,low,high) PackDDElParam.call(msg,low,high) end |
#reuseDDElParam(lParam, uMsgIn, uMsgOut, uLow, uHigh) ⇒ Object
by yukimi_sake
44 45 46 |
# File 'lib/vr/vrdde.rb', line 44 def reuseDDElParam(lParam, uMsgIn, uMsgOut, uLow, uHigh) #by yukimi_sake ReuseDDElParam.call(lParam, uMsgIn, uMsgOut, uLow, uHigh) end |
#unpackDDElParam(msg, lparam) ⇒ Object
34 35 36 37 38 |
# File 'lib/vr/vrdde.rb', line 34 def unpackDDElParam(msg,lparam) a=" "; b=" " UnpackDDElParam.call(msg,lparam,a,b) [a.unpack("I")[0],b.unpack("I")[0]] end |