> For the complete documentation index, see [llms.txt](https://www.pinvoke.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://www.pinvoke.dev/foundation/duplicate_handle_options.md).

# DUPLICATE\_HANDLE\_OPTIONS

```csharp
[Flags]
public enum DUPLICATE_HANDLE_OPTIONS : uint
{
    DUPLICATE_CLOSE_SOURCE = 0x00000001,
    DUPLICATE_SAME_ACCESS = 0x00000002,
}
```
