Share via


AD_PROCESS_ID

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

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

Reference

Structures and Unions

IDebugPort2::GetProcess

PROCESS_INFO

AD_PROCESS_ID_TYPE

IDebugProcess2::GetPhysicalProcessId

IDebugProgramHost2::GetHostId

IDebugProgramProvider2::GetProviderProgramNode

IDebugProgramProvider2::WatchForProviderEvents

IDebugProgramProvider2::GetProviderProcessData