(self)
return hFile
@rtype:  L{FileHandle} or None
        @return: File handle to the main module, received from the system.
            Returns C{None} if the handle is not available.
def get_file_handle(self):
        """
        @rtype:  L{FileHandle} or None
        @return: File handle to the main module, received from the system.
            Returns C{None} if the handle is not available.
        """
        # This handle DOES need to be closed.
        # Therefore we must cache it so it doesn't
        # get closed after the first call.
        try:
            hFile = self.__hFile
        except AttributeError:
            hFile = self.raw.u.CreateProcessInfo.hFile
            if hFile in (0, win32.NULL, win32.INVALID_HANDLE_VALUE):
                hFile = None
            else:
                hFile = FileHandle(hFile, True)
            self.__hFile = hFile
        return hFile
def get_file_handle ( self ) : # This handle DOES need to be closed. # Therefore we must cache it so it doesn't # get closed after the first call. try : hFile = self . __hFile except AttributeError : hFile = self . raw . u . CreateProcessInfo . hFile if hFile in ( 0 , win32 . NULL , win32 . INVALID_HANDLE_VALUE ) : hFile = None else : hFile = FileHandle ( hFile , True ) self . __hFile = hFile return hFile