AD_PROCESS_ID

Applies to: yesVisual Studio noVisual Studio for Mac

Note

This article applies to Visual Studio 2017. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

Specifies the process ID, which may be either a system ID or a GUID.

Syntax

typedef struct _AD_PROCESS_ID {
    AD_PROCESS_ID_TYPE ProcessIdType;
    union {
        DWORD dwProcessId; 
        GUID  guidProcessId; 
        DWORD dwUnused; 
    } ProcessId;
} AD_PROCESS_ID;
public struct AD_PROCESS_ID {
    AD_PROCESS_ID_TYPE ProcessIdType;
    DWORD              dwProcessId; 
    GUID               guidProcessId; 
    DWORD              dwUnused; 
};

Members

ProcessIdType
A value from the AD_PROCESS_ID_TYPE enumeration specifying how to interpret the ProcessId union (or, for managed code, which member of the structure to access).

dwProcessId
The process ID as a value from the system.

guidProcessId
The process ID as a GUID.

dwUnused Padding.

Remarks

This structure is passed to the following methods:

And is returned from the following methods:

Requirements

Header: msdbg.h

Namespace: Microsoft.VisualStudio.Debugger.Interop

Assembly: Microsoft.VisualStudio.Debugger.Interop.dll

See also