Package winappdbg :: Package win32 :: Module kernel32 :: Class FileHandle
[hide private]
[frames] | no frames]

Class FileHandle

source code


Win32 file handle.


See Also: Handle

Instance Methods [hide private]
None or str
get_filename(self)
Returns: Name of the open file, or None if unavailable.
source code
Handle
__copy__(self)
Duplicates the Win32 handle when copying the Python object. (Inherited from winappdbg.win32.kernel32.Handle)
source code
Handle
__deepcopy__(self)
Duplicates the Win32 handle when copying the Python object. (Inherited from winappdbg.win32.kernel32.Handle)
source code
 
__del__(self)
Closes the Win32 handle when the Python object is destroyed. (Inherited from winappdbg.win32.kernel32.Handle)
source code
 
__init__(self, aHandle=None, bOwnership=True)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature (Inherited from winappdbg.win32.kernel32.Handle)
source code
 
close(self)
Closes the Win32 handle. (Inherited from winappdbg.win32.kernel32.Handle)
source code
Handle
dup(self)
Returns: A new handle to the same Win32 object. (Inherited from winappdbg.win32.kernel32.Handle)
source code
 
wait(self, dwMilliseconds=None)
Wait for the Win32 object to be signaled. (Inherited from winappdbg.win32.kernel32.Handle)
source code

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

Static Methods [hide private]
 
_normalize(value)
Normalize handle values. (Inherited from winappdbg.win32.kernel32.Handle)
source code
 
from_param(value)
Compatibility with ctypes. (Inherited from winappdbg.win32.kernel32.Handle)
source code
Properties [hide private]
  _as_parameter_
Compatibility with ctypes. (Inherited from winappdbg.win32.kernel32.Handle)

Inherited from object: __class__

Method Details [hide private]

get_filename(self)

source code 
Returns: None or str
Name of the open file, or None if unavailable.