Class: RAPI::ProcessInformation
- Inherits:
-
Object
- Object
- RAPI::ProcessInformation
- Defined in:
- lib/rapi.rb
Instance Attribute Summary (collapse)
-
- (Object) process_handle
readonly
Returns the value of attribute process_handle.
-
- (Object) process_id
readonly
Returns the value of attribute process_id.
-
- (Object) thread_handle
readonly
Returns the value of attribute thread_handle.
-
- (Object) thread_id
readonly
Returns the value of attribute thread_id.
Instance Method Summary (collapse)
-
- (ProcessInformation) initialize(process_information)
constructor
A new instance of ProcessInformation.
Constructor Details
- (ProcessInformation) initialize(process_information)
A new instance of ProcessInformation
453 454 455 456 457 458 |
# File 'lib/rapi.rb', line 453 def initialize(process_information) @process_handle = process_information[:hProcess] @thread_handle = process_information[:hThread] @process_id = process_information[:dwProcessId] @thread_id = process_information[:dwThreadId] end |
Instance Attribute Details
- (Object) process_handle (readonly)
Returns the value of attribute process_handle
448 449 450 |
# File 'lib/rapi.rb', line 448 def process_handle @process_handle end |
- (Object) process_id (readonly)
Returns the value of attribute process_id
450 451 452 |
# File 'lib/rapi.rb', line 450 def process_id @process_id end |
- (Object) thread_handle (readonly)
Returns the value of attribute thread_handle
449 450 451 |
# File 'lib/rapi.rb', line 449 def thread_handle @thread_handle end |
- (Object) thread_id (readonly)
Returns the value of attribute thread_id
451 452 453 |
# File 'lib/rapi.rb', line 451 def thread_id @thread_id end |