DuplicateHandle method
Implementation
int DuplicateHandle(
ffi.Pointer<ffi.Void> hSourceProcessHandle,
ffi.Pointer<ffi.Void> hSourceHandle,
ffi.Pointer<ffi.Void> hTargetProcessHandle,
ffi.Pointer<ffi.Pointer<ffi.Void>> lpTargetHandle,
int dwDesiredAccess,
int bInheritHandle,
int dwOptions,
) {
return _DuplicateHandle(
hSourceProcessHandle,
hSourceHandle,
hTargetProcessHandle,
lpTargetHandle,
dwDesiredAccess,
bInheritHandle,
dwOptions,
);
}