This structure contains options used when duplicating handles. The following enumerators are defined within the scope of the structure duplicate_option.

source_close The source handle is closed upon being duplicated.
access_same The access of the resultant handle is the same as the handle being duplicated.


If the option duplicate_option::access_same is specified, other access parameters for a call to duplicate are ignored.