chrome/updater/test/service/win/impersonate.py
def _MakeInheritable(self, handle):
    """Returns an inheritable duplicated handle."""
    inheritable_handle = win32api.DuplicateHandle(
        win32api.GetCurrentProcess(), handle, win32api.GetCurrentProcess(), 0,
        1, win32con.DUPLICATE_SAME_ACCESS)
    win32file.CloseHandle(handle)
    return inheritable_handle
Returns an inheritable duplicated handle.
Returns an inheritable duplicated handle.
Returns an inheritable duplicated handle .
def _MakeInheritable(self, handle):
    inheritable_handle = win32api.DuplicateHandle(
        win32api.GetCurrentProcess(), handle, win32api.GetCurrentProcess(), 0,
        1, win32con.DUPLICATE_SAME_ACCESS)
    win32file.CloseHandle(handle)
    return inheritable_handle
def _MakeInheritable ( self , handle ) : inheritable_handle = win32api . DuplicateHandle ( win32api . GetCurrentProcess ( ) , handle , win32api . GetCurrentProcess ( ) , 0 , 1 , win32con . DUPLICATE_SAME_ACCESS ) win32file . CloseHandle ( handle ) return inheritable_handle
Returns an inheritable duplicated handle.
Returns an inheritable duplicated handle .
"""Returns an inheritable duplicated handle."""
self
handle