Package NVDAObjects :: Package window :: Class WindowProcessHandleContainer
[hide private]
[frames] | no frames]

Class WindowProcessHandleContainer

source code

object --+
         |
        WindowProcessHandleContainer

Manages a Windows process handle. On instanciation it retreaves an open process handle from the process of the provided window, and closes the handle on deletion.

Instance Methods [hide private]
 
__init__(self, windowHandle)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
__del__(self) source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Instance Variables [hide private]
int processHandle
The actual handle which can be used in any win32 calls that need it.
int windowHandle
the handle of the window the whos process handle was requested
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, windowHandle)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Parameters:
  • windowHandle (int) - the handle of the window whos process handle should be retreaved.
Overrides: object.__init__