Skip to content

Latest commit

 

History

History
79 lines (63 loc) · 2.15 KB

nf-processsnapshot-psscapturesnapshot.md

File metadata and controls

79 lines (63 loc) · 2.15 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:processsnapshot.PssCaptureSnapshot
PssCaptureSnapshot function (processsnapshot.h)
Captures a snapshot of a target process.
PssCaptureSnapshot
PssCaptureSnapshot function
proc_snap.psscapturesnapshot
processsnapshot/PssCaptureSnapshot
proc_snap\psscapturesnapshot.htm
proc_snap
44F2CB48-A9F6-4131-B21C-9F27A27CECD5
12/05/2018
PssCaptureSnapshot, PssCaptureSnapshot function, proc_snap.psscapturesnapshot, processsnapshot/PssCaptureSnapshot
processsnapshot.h
Windows
Windows 8.1 [desktop apps only]
Windows Server 2012 R2 [desktop apps only]
Kernel32.dll
Windows
19H1
PssCaptureSnapshot
processsnapshot/PssCaptureSnapshot
c++
APIRef
kbSyntax
DllExport
kernel32.dll
API-MS-Win-Core-Processsnapshot-l1-1-0.dll
KernelBase.dll
PssCaptureSnapshot

PssCaptureSnapshot function

-description

Captures a snapshot of a target process.

-parameters

-param ProcessHandle [in]

A handle to the target process.

-param CaptureFlags [in]

Flags that specify what to capture. For more information, see PSS_CAPTURE_FLAGS.

-param ThreadContextFlags [in, optional]

The CONTEXT record flags to capture if CaptureFlags specifies thread contexts.

-param SnapshotHandle [out]

A handle to the snapshot that this function captures.

-returns

This function returns ERROR_SUCCESS on success.

All error codes are defined in winerror.h. Use FormatMessage with the FORMAT_MESSAGE_FROM_SYSTEM flag to get a message for an error code.