Redigera

Dela via


IDebugHostContextTargetComposition::GetServiceProcess method (dbgmodel.h)

The GetServiceProcess method retrieves the process that is associated with a particular host context.

Syntax

HRESULT GetServiceProcess(
  ISvcProcess **ppProcess
);

Parameters

ppProcess

A pointer to a pointer variable that receives the ISvcProcess interface.

Return value

If the method succeeds, it returns S_OK. If the context refers to something above the level of a specific process, this method will return an E_FAIL. Otherwise, it returns an HRESULT error code.

Requirements

Requirement Value
Header dbgmodel.h

See also

IDebugHostContextTargetComposition interface