Function windows::Win32::Foundation::DuplicateHandle

pub unsafe fn DuplicateHandle<P0, P1, P2, P3>(
    hsourceprocesshandle: P0,
    hsourcehandle: P1,
    htargetprocesshandle: P2,
    lptargethandle: *mut HANDLE,
    dwdesiredaccess: u32,
    binherithandle: P3,
    dwoptions: DUPLICATE_HANDLE_OPTIONS,
) -> Result<()>
where P0: Param<HANDLE>, P1: Param<HANDLE>, P2: Param<HANDLE>, P3: Param<BOOL>,