DkmRunningProcessInfo Class

Definition

Snapshot of basic information about a running process. Unlike DkmProcess, this information is for a process which is not necessarily being debugged. This can either be returned as part of a task list, or information can be returned for a single process.

public ref class DkmRunningProcessInfo
[Windows::Foundation::Metadata::WebHostHidden]
public ref class DkmRunningProcessInfo
[Windows::Foundation::Metadata::WebHostHidden]
class DkmRunningProcessInfo
[System.Runtime.InteropServices.Guid("b7b99a64-a129-3356-e276-1a7873905ceb")]
public class DkmRunningProcessInfo
[<System.Runtime.InteropServices.Guid("b7b99a64-a129-3356-e276-1a7873905ceb")>]
type DkmRunningProcessInfo = class
Public Class DkmRunningProcessInfo
Inheritance
DkmRunningProcessInfo
Attributes

Properties

AppPackageId

[Optional] The id of the application package for this process. Null if the process is not part of a Windows Store app, or Windows Phone application. This is computed when DkmRunningProcessInfoPropertyMask.AppPackageId is set.

AppPool
ClrVersions

[Optional] Version number for all the CLR instances loaded into the debugged process.

CommandLine

[Optional] Command line used to start the process.

CurrentDirectory

[Optional] Current directory of the process.

EnvironmentBlock

[Optional] Environment block of the process.

Flags

Flags containing Boolean properties of the running process.

Id

Process Id (PID) assigned by the operating system.

IntegrityLevel

SECURITY_MANDATORY_*_RID value used to indicate the integrity level of this process. -1/MAXDWORD is used if the integrity level is unknown/invalid such as on pre-Vista operating systems where integrity levels do not exist, or if the user identity of process could not be obtained.

Name

[Optional] Full path to the starting executable of the process. If the full path cannot be obtained, this may only contain the base executable name.

ParentId
ProcessorArchitecture

Example: PROCESSOR_ARCHITECTURE_INTEL (0), PROCESSOR_ARCHITECTURE_ARM (5), PROCESSOR_ARCHITECTURE_AMD64 (9), or PROCESSOR_ARCHITECTURE_ARM64 (12). This is computed when DkmRunningProcessInfoPropertyMask.BasicInfoFlags is set.

PublishedPrograms

[Optional] Provides information about which runtimes are active in the target process. Currently this is used for script debugging and CoreCLR debugging, and it is likely to be used for other runtimes in the future.

SessionId

Terminal server session id for the process (-1 if not obtained).

StartTime

64-bit date time value indicating when the process was started. The start time along with the id and the machine where the process was started can uniquely identify a process.

Title

[Optional] Title of the process's main window (if any).

UserName

[Optional] User name that the process is running under (ex: MyCompany\MyAlias).

Methods

Create(Int32, Int64, Int32, String, String, String, ReadOnlyCollection<String>, String, String, String, Int32, ReadOnlyCollection<DkmPublishedProgramInfo>, DkmRunningProcessFlags, UInt16, DkmAppPackageId)

Create a new DkmRunningProcessInfo object instance.

Create(Int32, Int64, Int32, String, String, String, ReadOnlyCollection<String>, String, String, String, Int32, ReadOnlyCollection<DkmPublishedProgramInfo>, DkmRunningProcessFlags, UInt16, DkmAppPackageId, Int32, DkmIISAppPoolInfo)

Applies to