PSS_DUPLICATE_FLAGS enumeration (processsnapshot.h)

Duplication flags for use by PssDuplicateSnapshot.

Syntax

typedef enum {
  PSS_DUPLICATE_NONE = 0x00,
  PSS_DUPLICATE_CLOSE_SOURCE = 0x01
} PSS_DUPLICATE_FLAGS;

Constants

 
PSS_DUPLICATE_NONE
Value: 0x00
No flag.
PSS_DUPLICATE_CLOSE_SOURCE
Value: 0x01
Free the source handle. This will only succeed if you set the PSS_CREATE_USE_VM_ALLOCATIONS flag when you called PssCaptureSnapshot to create the snapshot and handle. The handle will be freed even if duplication fails.
The close operation does not protect against concurrent access to the same descriptor.

Requirements

Requirement Value
Minimum supported client Windows 8.1 [desktop apps only]
Minimum supported server Windows Server 2012 R2 [desktop apps only]
Header processsnapshot.h

See also

Process Snapshotting