Redigera

Dela via


IDebugHostContextTargetComposition::GetServiceThread method (dbgmodel.h)

The GetServiceThread method retrieves the thread that is associated with a particular host context.

Syntax

HRESULT GetServiceThread(
  ISvcThread **ppThread
);

Parameters

ppThread

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

Return value

If the method succeeds, it returns S_OK. If the context refers to something above the level of a specific thread (most contexts do), this method will return an E_FAIL. Otherwise, it returns an HRESULT error code.

Requirements

Requirement Value
Header dbgmodel.h

See also

IDebugHostContextTargetComposition interface