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<()>